AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
CreateSegmentEstimateResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace CustomerProfiles {
22namespace Model {
24 public:
25 AWS_CUSTOMERPROFILES_API CreateSegmentEstimateResult() = default;
28
30
33 inline const Aws::String& GetDomainName() const { return m_domainName; }
34 template <typename DomainNameT = Aws::String>
35 void SetDomainName(DomainNameT&& value) {
36 m_domainNameHasBeenSet = true;
37 m_domainName = std::forward<DomainNameT>(value);
38 }
39 template <typename DomainNameT = Aws::String>
41 SetDomainName(std::forward<DomainNameT>(value));
42 return *this;
43 }
45
47
52 inline const Aws::String& GetEstimateId() const { return m_estimateId; }
53 template <typename EstimateIdT = Aws::String>
54 void SetEstimateId(EstimateIdT&& value) {
55 m_estimateIdHasBeenSet = true;
56 m_estimateId = std::forward<EstimateIdT>(value);
57 }
58 template <typename EstimateIdT = Aws::String>
60 SetEstimateId(std::forward<EstimateIdT>(value));
61 return *this;
62 }
64
66
69 inline int GetStatusCode() const { return m_statusCode; }
70 inline void SetStatusCode(int value) {
71 m_statusCodeHasBeenSet = true;
72 m_statusCode = value;
73 }
75 SetStatusCode(value);
76 return *this;
77 }
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template <typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) {
85 m_requestIdHasBeenSet = true;
86 m_requestId = std::forward<RequestIdT>(value);
87 }
88 template <typename RequestIdT = Aws::String>
90 SetRequestId(std::forward<RequestIdT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_domainName;
96
97 Aws::String m_estimateId;
98
99 int m_statusCode{0};
100
101 Aws::String m_requestId;
102 bool m_domainNameHasBeenSet = false;
103 bool m_estimateIdHasBeenSet = false;
104 bool m_statusCodeHasBeenSet = false;
105 bool m_requestIdHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace CustomerProfiles
110} // namespace Aws
CreateSegmentEstimateResult & WithEstimateId(EstimateIdT &&value)
AWS_CUSTOMERPROFILES_API CreateSegmentEstimateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSegmentEstimateResult & WithRequestId(RequestIdT &&value)
CreateSegmentEstimateResult & WithDomainName(DomainNameT &&value)
AWS_CUSTOMERPROFILES_API CreateSegmentEstimateResult()=default
AWS_CUSTOMERPROFILES_API CreateSegmentEstimateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue