AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
CreateAccountCustomizationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/AccountCustomization.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight {
24namespace Model {
26 public:
27 AWS_QUICKSIGHT_API CreateAccountCustomizationResult() = default;
30
32
36 inline const Aws::String& GetArn() const { return m_arn; }
37 template <typename ArnT = Aws::String>
38 void SetArn(ArnT&& value) {
39 m_arnHasBeenSet = true;
40 m_arn = std::forward<ArnT>(value);
41 }
42 template <typename ArnT = Aws::String>
44 SetArn(std::forward<ArnT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
55 template <typename AwsAccountIdT = Aws::String>
56 void SetAwsAccountId(AwsAccountIdT&& value) {
57 m_awsAccountIdHasBeenSet = true;
58 m_awsAccountId = std::forward<AwsAccountIdT>(value);
59 }
60 template <typename AwsAccountIdT = Aws::String>
62 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetNamespace() const { return m_namespace; }
72 template <typename NamespaceT = Aws::String>
73 void SetNamespace(NamespaceT&& value) {
74 m_namespaceHasBeenSet = true;
75 m_namespace = std::forward<NamespaceT>(value);
76 }
77 template <typename NamespaceT = Aws::String>
79 SetNamespace(std::forward<NamespaceT>(value));
80 return *this;
81 }
83
85
88 inline const AccountCustomization& GetAccountCustomization() const { return m_accountCustomization; }
89 template <typename AccountCustomizationT = AccountCustomization>
90 void SetAccountCustomization(AccountCustomizationT&& value) {
91 m_accountCustomizationHasBeenSet = true;
92 m_accountCustomization = std::forward<AccountCustomizationT>(value);
93 }
94 template <typename AccountCustomizationT = AccountCustomization>
96 SetAccountCustomization(std::forward<AccountCustomizationT>(value));
97 return *this;
98 }
100
102
103 inline const Aws::String& GetRequestId() const { return m_requestId; }
104 template <typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) {
106 m_requestIdHasBeenSet = true;
107 m_requestId = std::forward<RequestIdT>(value);
108 }
109 template <typename RequestIdT = Aws::String>
111 SetRequestId(std::forward<RequestIdT>(value));
112 return *this;
113 }
115
117
120 inline int GetStatus() const { return m_status; }
121 inline void SetStatus(int value) {
122 m_statusHasBeenSet = true;
123 m_status = value;
124 }
126 SetStatus(value);
127 return *this;
128 }
130 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
131
132 private:
133 Aws::String m_arn;
134
135 Aws::String m_awsAccountId;
136
137 Aws::String m_namespace;
138
139 AccountCustomization m_accountCustomization;
140
141 Aws::String m_requestId;
142
143 int m_status{0};
144 Aws::Http::HttpResponseCode m_HttpResponseCode;
145 bool m_arnHasBeenSet = false;
146 bool m_awsAccountIdHasBeenSet = false;
147 bool m_namespaceHasBeenSet = false;
148 bool m_accountCustomizationHasBeenSet = false;
149 bool m_requestIdHasBeenSet = false;
150 bool m_statusHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace QuickSight
155} // namespace Aws
CreateAccountCustomizationResult & WithAwsAccountId(AwsAccountIdT &&value)
CreateAccountCustomizationResult & WithAccountCustomization(AccountCustomizationT &&value)
CreateAccountCustomizationResult & WithNamespace(NamespaceT &&value)
CreateAccountCustomizationResult & WithRequestId(RequestIdT &&value)
AWS_QUICKSIGHT_API CreateAccountCustomizationResult()=default
AWS_QUICKSIGHT_API CreateAccountCustomizationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API CreateAccountCustomizationResult & 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