AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateConfigurationProfileResult.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/model/Validator.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace AppConfig {
25namespace Model {
27 public:
28 AWS_APPCONFIG_API UpdateConfigurationProfileResult() = default;
31
33
36 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
37 template <typename ApplicationIdT = Aws::String>
38 void SetApplicationId(ApplicationIdT&& value) {
39 m_applicationIdHasBeenSet = true;
40 m_applicationId = std::forward<ApplicationIdT>(value);
41 }
42 template <typename ApplicationIdT = Aws::String>
44 SetApplicationId(std::forward<ApplicationIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetId() const { return m_id; }
54 template <typename IdT = Aws::String>
55 void SetId(IdT&& value) {
56 m_idHasBeenSet = true;
57 m_id = std::forward<IdT>(value);
58 }
59 template <typename IdT = Aws::String>
61 SetId(std::forward<IdT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetName() const { return m_name; }
71 template <typename NameT = Aws::String>
72 void SetName(NameT&& value) {
73 m_nameHasBeenSet = true;
74 m_name = std::forward<NameT>(value);
75 }
76 template <typename NameT = Aws::String>
78 SetName(std::forward<NameT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetDescription() const { return m_description; }
88 template <typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) {
90 m_descriptionHasBeenSet = true;
91 m_description = std::forward<DescriptionT>(value);
92 }
93 template <typename DescriptionT = Aws::String>
95 SetDescription(std::forward<DescriptionT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
105 template <typename LocationUriT = Aws::String>
106 void SetLocationUri(LocationUriT&& value) {
107 m_locationUriHasBeenSet = true;
108 m_locationUri = std::forward<LocationUriT>(value);
109 }
110 template <typename LocationUriT = Aws::String>
112 SetLocationUri(std::forward<LocationUriT>(value));
113 return *this;
114 }
116
118
122 inline const Aws::String& GetRetrievalRoleArn() const { return m_retrievalRoleArn; }
123 template <typename RetrievalRoleArnT = Aws::String>
124 void SetRetrievalRoleArn(RetrievalRoleArnT&& value) {
125 m_retrievalRoleArnHasBeenSet = true;
126 m_retrievalRoleArn = std::forward<RetrievalRoleArnT>(value);
127 }
128 template <typename RetrievalRoleArnT = Aws::String>
130 SetRetrievalRoleArn(std::forward<RetrievalRoleArnT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::Vector<Validator>& GetValidators() const { return m_validators; }
140 template <typename ValidatorsT = Aws::Vector<Validator>>
141 void SetValidators(ValidatorsT&& value) {
142 m_validatorsHasBeenSet = true;
143 m_validators = std::forward<ValidatorsT>(value);
144 }
145 template <typename ValidatorsT = Aws::Vector<Validator>>
147 SetValidators(std::forward<ValidatorsT>(value));
148 return *this;
149 }
150 template <typename ValidatorsT = Validator>
152 m_validatorsHasBeenSet = true;
153 m_validators.emplace_back(std::forward<ValidatorsT>(value));
154 return *this;
155 }
157
159
168 inline const Aws::String& GetType() const { return m_type; }
169 template <typename TypeT = Aws::String>
170 void SetType(TypeT&& value) {
171 m_typeHasBeenSet = true;
172 m_type = std::forward<TypeT>(value);
173 }
174 template <typename TypeT = Aws::String>
176 SetType(std::forward<TypeT>(value));
177 return *this;
178 }
180
182
189 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
190 template <typename KmsKeyArnT = Aws::String>
191 void SetKmsKeyArn(KmsKeyArnT&& value) {
192 m_kmsKeyArnHasBeenSet = true;
193 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
194 }
195 template <typename KmsKeyArnT = Aws::String>
197 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
198 return *this;
199 }
201
203
207 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
208 template <typename KmsKeyIdentifierT = Aws::String>
209 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
210 m_kmsKeyIdentifierHasBeenSet = true;
211 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
212 }
213 template <typename KmsKeyIdentifierT = Aws::String>
215 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
216 return *this;
217 }
219
221
222 inline const Aws::String& GetRequestId() const { return m_requestId; }
223 template <typename RequestIdT = Aws::String>
224 void SetRequestId(RequestIdT&& value) {
225 m_requestIdHasBeenSet = true;
226 m_requestId = std::forward<RequestIdT>(value);
227 }
228 template <typename RequestIdT = Aws::String>
230 SetRequestId(std::forward<RequestIdT>(value));
231 return *this;
232 }
234 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
235
236 private:
237 Aws::String m_applicationId;
238
239 Aws::String m_id;
240
241 Aws::String m_name;
242
243 Aws::String m_description;
244
245 Aws::String m_locationUri;
246
247 Aws::String m_retrievalRoleArn;
248
249 Aws::Vector<Validator> m_validators;
250
251 Aws::String m_type;
252
253 Aws::String m_kmsKeyArn;
254
255 Aws::String m_kmsKeyIdentifier;
256
257 Aws::String m_requestId;
258 Aws::Http::HttpResponseCode m_HttpResponseCode;
259 bool m_applicationIdHasBeenSet = false;
260 bool m_idHasBeenSet = false;
261 bool m_nameHasBeenSet = false;
262 bool m_descriptionHasBeenSet = false;
263 bool m_locationUriHasBeenSet = false;
264 bool m_retrievalRoleArnHasBeenSet = false;
265 bool m_validatorsHasBeenSet = false;
266 bool m_typeHasBeenSet = false;
267 bool m_kmsKeyArnHasBeenSet = false;
268 bool m_kmsKeyIdentifierHasBeenSet = false;
269 bool m_requestIdHasBeenSet = false;
270};
271
272} // namespace Model
273} // namespace AppConfig
274} // namespace Aws
UpdateConfigurationProfileResult & WithKmsKeyArn(KmsKeyArnT &&value)
UpdateConfigurationProfileResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
AWS_APPCONFIG_API UpdateConfigurationProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateConfigurationProfileResult & WithName(NameT &&value)
UpdateConfigurationProfileResult & WithType(TypeT &&value)
UpdateConfigurationProfileResult & WithDescription(DescriptionT &&value)
UpdateConfigurationProfileResult & WithRequestId(RequestIdT &&value)
UpdateConfigurationProfileResult & WithValidators(ValidatorsT &&value)
UpdateConfigurationProfileResult & AddValidators(ValidatorsT &&value)
AWS_APPCONFIG_API UpdateConfigurationProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateConfigurationProfileResult & WithLocationUri(LocationUriT &&value)
UpdateConfigurationProfileResult & WithRetrievalRoleArn(RetrievalRoleArnT &&value)
UpdateConfigurationProfileResult & WithApplicationId(ApplicationIdT &&value)
AWS_APPCONFIG_API UpdateConfigurationProfileResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue