AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
CreateSegmentEstimateResult.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CustomerProfiles
24{
25namespace Model
26{
28 {
29 public:
30 AWS_CUSTOMERPROFILES_API CreateSegmentEstimateResult() = default;
33
34
36
39 inline const Aws::String& GetDomainName() const { return m_domainName; }
40 template<typename DomainNameT = Aws::String>
41 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
42 template<typename DomainNameT = Aws::String>
43 CreateSegmentEstimateResult& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
45
47
52 inline const Aws::String& GetEstimateId() const { return m_estimateId; }
53 template<typename EstimateIdT = Aws::String>
54 void SetEstimateId(EstimateIdT&& value) { m_estimateIdHasBeenSet = true; m_estimateId = std::forward<EstimateIdT>(value); }
55 template<typename EstimateIdT = Aws::String>
56 CreateSegmentEstimateResult& WithEstimateId(EstimateIdT&& value) { SetEstimateId(std::forward<EstimateIdT>(value)); return *this;}
58
60
63 inline int GetStatusCode() const { return m_statusCode; }
64 inline void SetStatusCode(int value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
65 inline CreateSegmentEstimateResult& WithStatusCode(int value) { SetStatusCode(value); return *this;}
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template<typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
73 template<typename RequestIdT = Aws::String>
74 CreateSegmentEstimateResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
76 private:
77
78 Aws::String m_domainName;
79 bool m_domainNameHasBeenSet = false;
80
81 Aws::String m_estimateId;
82 bool m_estimateIdHasBeenSet = false;
83
84 int m_statusCode{0};
85 bool m_statusCodeHasBeenSet = false;
86
87 Aws::String m_requestId;
88 bool m_requestIdHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace CustomerProfiles
93} // 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