AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CreateSegmentEstimateRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
10#include <aws/customer-profiles/model/SegmentGroupStructure.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CustomerProfiles {
16namespace Model {
17
21 public:
22 AWS_CUSTOMERPROFILES_API CreateSegmentEstimateRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CreateSegmentEstimate"; }
29
30 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetDomainName() const { return m_domainName; }
37 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
38 template <typename DomainNameT = Aws::String>
39 void SetDomainName(DomainNameT&& value) {
40 m_domainNameHasBeenSet = true;
41 m_domainName = std::forward<DomainNameT>(value);
42 }
43 template <typename DomainNameT = Aws::String>
45 SetDomainName(std::forward<DomainNameT>(value));
46 return *this;
47 }
49
51
54 inline const SegmentGroupStructure& GetSegmentQuery() const { return m_segmentQuery; }
55 inline bool SegmentQueryHasBeenSet() const { return m_segmentQueryHasBeenSet; }
56 template <typename SegmentQueryT = SegmentGroupStructure>
57 void SetSegmentQuery(SegmentQueryT&& value) {
58 m_segmentQueryHasBeenSet = true;
59 m_segmentQuery = std::forward<SegmentQueryT>(value);
60 }
61 template <typename SegmentQueryT = SegmentGroupStructure>
63 SetSegmentQuery(std::forward<SegmentQueryT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetSegmentSqlQuery() const { return m_segmentSqlQuery; }
73 inline bool SegmentSqlQueryHasBeenSet() const { return m_segmentSqlQueryHasBeenSet; }
74 template <typename SegmentSqlQueryT = Aws::String>
75 void SetSegmentSqlQuery(SegmentSqlQueryT&& value) {
76 m_segmentSqlQueryHasBeenSet = true;
77 m_segmentSqlQuery = std::forward<SegmentSqlQueryT>(value);
78 }
79 template <typename SegmentSqlQueryT = Aws::String>
81 SetSegmentSqlQuery(std::forward<SegmentSqlQueryT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_domainName;
87
88 SegmentGroupStructure m_segmentQuery;
89
90 Aws::String m_segmentSqlQuery;
91 bool m_domainNameHasBeenSet = false;
92 bool m_segmentQueryHasBeenSet = false;
93 bool m_segmentSqlQueryHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace CustomerProfiles
98} // namespace Aws
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
AWS_CUSTOMERPROFILES_API CreateSegmentEstimateRequest()=default
CreateSegmentEstimateRequest & WithSegmentQuery(SegmentQueryT &&value)
CreateSegmentEstimateRequest & WithDomainName(DomainNameT &&value)
CreateSegmentEstimateRequest & WithSegmentSqlQuery(SegmentSqlQueryT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String