AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CreateConfigurationProfileResult.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/model/Validator.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.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 AppConfig {
24namespace Model {
26 public:
27 AWS_APPCONFIG_API CreateConfigurationProfileResult() = default;
30
32
35 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
36 template <typename ApplicationIdT = Aws::String>
37 void SetApplicationId(ApplicationIdT&& value) {
38 m_applicationIdHasBeenSet = true;
39 m_applicationId = std::forward<ApplicationIdT>(value);
40 }
41 template <typename ApplicationIdT = Aws::String>
43 SetApplicationId(std::forward<ApplicationIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetId() const { return m_id; }
53 template <typename IdT = Aws::String>
54 void SetId(IdT&& value) {
55 m_idHasBeenSet = true;
56 m_id = std::forward<IdT>(value);
57 }
58 template <typename IdT = Aws::String>
60 SetId(std::forward<IdT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetName() const { return m_name; }
70 template <typename NameT = Aws::String>
71 void SetName(NameT&& value) {
72 m_nameHasBeenSet = true;
73 m_name = std::forward<NameT>(value);
74 }
75 template <typename NameT = Aws::String>
77 SetName(std::forward<NameT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetDescription() const { return m_description; }
87 template <typename DescriptionT = Aws::String>
88 void SetDescription(DescriptionT&& value) {
89 m_descriptionHasBeenSet = true;
90 m_description = std::forward<DescriptionT>(value);
91 }
92 template <typename DescriptionT = Aws::String>
94 SetDescription(std::forward<DescriptionT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetLocationUri() const { return m_locationUri; }
104 template <typename LocationUriT = Aws::String>
105 void SetLocationUri(LocationUriT&& value) {
106 m_locationUriHasBeenSet = true;
107 m_locationUri = std::forward<LocationUriT>(value);
108 }
109 template <typename LocationUriT = Aws::String>
111 SetLocationUri(std::forward<LocationUriT>(value));
112 return *this;
113 }
115
117
121 inline const Aws::String& GetRetrievalRoleArn() const { return m_retrievalRoleArn; }
122 template <typename RetrievalRoleArnT = Aws::String>
123 void SetRetrievalRoleArn(RetrievalRoleArnT&& value) {
124 m_retrievalRoleArnHasBeenSet = true;
125 m_retrievalRoleArn = std::forward<RetrievalRoleArnT>(value);
126 }
127 template <typename RetrievalRoleArnT = Aws::String>
129 SetRetrievalRoleArn(std::forward<RetrievalRoleArnT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::Vector<Validator>& GetValidators() const { return m_validators; }
139 template <typename ValidatorsT = Aws::Vector<Validator>>
140 void SetValidators(ValidatorsT&& value) {
141 m_validatorsHasBeenSet = true;
142 m_validators = std::forward<ValidatorsT>(value);
143 }
144 template <typename ValidatorsT = Aws::Vector<Validator>>
146 SetValidators(std::forward<ValidatorsT>(value));
147 return *this;
148 }
149 template <typename ValidatorsT = Validator>
151 m_validatorsHasBeenSet = true;
152 m_validators.emplace_back(std::forward<ValidatorsT>(value));
153 return *this;
154 }
156
158
167 inline const Aws::String& GetType() const { return m_type; }
168 template <typename TypeT = Aws::String>
169 void SetType(TypeT&& value) {
170 m_typeHasBeenSet = true;
171 m_type = std::forward<TypeT>(value);
172 }
173 template <typename TypeT = Aws::String>
175 SetType(std::forward<TypeT>(value));
176 return *this;
177 }
179
181
188 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
189 template <typename KmsKeyArnT = Aws::String>
190 void SetKmsKeyArn(KmsKeyArnT&& value) {
191 m_kmsKeyArnHasBeenSet = true;
192 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
193 }
194 template <typename KmsKeyArnT = Aws::String>
196 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
197 return *this;
198 }
200
202
206 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
207 template <typename KmsKeyIdentifierT = Aws::String>
208 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
209 m_kmsKeyIdentifierHasBeenSet = true;
210 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
211 }
212 template <typename KmsKeyIdentifierT = Aws::String>
214 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
215 return *this;
216 }
218
220
221 inline const Aws::String& GetRequestId() const { return m_requestId; }
222 template <typename RequestIdT = Aws::String>
223 void SetRequestId(RequestIdT&& value) {
224 m_requestIdHasBeenSet = true;
225 m_requestId = std::forward<RequestIdT>(value);
226 }
227 template <typename RequestIdT = Aws::String>
229 SetRequestId(std::forward<RequestIdT>(value));
230 return *this;
231 }
233 private:
234 Aws::String m_applicationId;
235
236 Aws::String m_id;
237
238 Aws::String m_name;
239
240 Aws::String m_description;
241
242 Aws::String m_locationUri;
243
244 Aws::String m_retrievalRoleArn;
245
246 Aws::Vector<Validator> m_validators;
247
248 Aws::String m_type;
249
250 Aws::String m_kmsKeyArn;
251
252 Aws::String m_kmsKeyIdentifier;
253
254 Aws::String m_requestId;
255 bool m_applicationIdHasBeenSet = false;
256 bool m_idHasBeenSet = false;
257 bool m_nameHasBeenSet = false;
258 bool m_descriptionHasBeenSet = false;
259 bool m_locationUriHasBeenSet = false;
260 bool m_retrievalRoleArnHasBeenSet = false;
261 bool m_validatorsHasBeenSet = false;
262 bool m_typeHasBeenSet = false;
263 bool m_kmsKeyArnHasBeenSet = false;
264 bool m_kmsKeyIdentifierHasBeenSet = false;
265 bool m_requestIdHasBeenSet = false;
266};
267
268} // namespace Model
269} // namespace AppConfig
270} // namespace Aws
AWS_APPCONFIG_API CreateConfigurationProfileResult()=default
CreateConfigurationProfileResult & AddValidators(ValidatorsT &&value)
CreateConfigurationProfileResult & WithLocationUri(LocationUriT &&value)
CreateConfigurationProfileResult & WithRetrievalRoleArn(RetrievalRoleArnT &&value)
CreateConfigurationProfileResult & WithType(TypeT &&value)
AWS_APPCONFIG_API CreateConfigurationProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateConfigurationProfileResult & WithValidators(ValidatorsT &&value)
CreateConfigurationProfileResult & WithRequestId(RequestIdT &&value)
CreateConfigurationProfileResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
CreateConfigurationProfileResult & WithDescription(DescriptionT &&value)
CreateConfigurationProfileResult & WithName(NameT &&value)
CreateConfigurationProfileResult & WithApplicationId(ApplicationIdT &&value)
CreateConfigurationProfileResult & WithKmsKeyArn(KmsKeyArnT &&value)
AWS_APPCONFIG_API CreateConfigurationProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue