AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateSegmentEstimateRequest.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/model/SegmentGroupStructure.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CustomerProfiles
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CUSTOMERPROFILES_API CreateSegmentEstimateRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateSegmentEstimate"; }
32
33 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetDomainName() const { return m_domainName; }
41 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
42 template<typename DomainNameT = Aws::String>
43 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
44 template<typename DomainNameT = Aws::String>
45 CreateSegmentEstimateRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
47
49
52 inline const SegmentGroupStructure& GetSegmentQuery() const { return m_segmentQuery; }
53 inline bool SegmentQueryHasBeenSet() const { return m_segmentQueryHasBeenSet; }
54 template<typename SegmentQueryT = SegmentGroupStructure>
55 void SetSegmentQuery(SegmentQueryT&& value) { m_segmentQueryHasBeenSet = true; m_segmentQuery = std::forward<SegmentQueryT>(value); }
56 template<typename SegmentQueryT = SegmentGroupStructure>
57 CreateSegmentEstimateRequest& WithSegmentQuery(SegmentQueryT&& value) { SetSegmentQuery(std::forward<SegmentQueryT>(value)); return *this;}
59 private:
60
61 Aws::String m_domainName;
62 bool m_domainNameHasBeenSet = false;
63
64 SegmentGroupStructure m_segmentQuery;
65 bool m_segmentQueryHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace CustomerProfiles
70} // namespace Aws
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
AWS_CUSTOMERPROFILES_API CreateSegmentEstimateRequest()=default
CreateSegmentEstimateRequest & WithSegmentQuery(SegmentQueryT &&value)
CreateSegmentEstimateRequest & WithDomainName(DomainNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String