AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateConfigurationProfileRequest.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/AppConfigRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/appconfig/model/Validator.h>
13#include <utility>
14
15namespace Aws
16{
17namespace AppConfig
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateConfigurationProfile"; }
34
35 AWS_APPCONFIG_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
43 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
44 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
45 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
46 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
48 inline CreateConfigurationProfileRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
49 inline CreateConfigurationProfileRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
51
53
56 inline const Aws::String& GetName() const{ return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 inline CreateConfigurationProfileRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline CreateConfigurationProfileRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline CreateConfigurationProfileRequest& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
75 inline CreateConfigurationProfileRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline CreateConfigurationProfileRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline CreateConfigurationProfileRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
98 inline const Aws::String& GetLocationUri() const{ return m_locationUri; }
99 inline bool LocationUriHasBeenSet() const { return m_locationUriHasBeenSet; }
100 inline void SetLocationUri(const Aws::String& value) { m_locationUriHasBeenSet = true; m_locationUri = value; }
101 inline void SetLocationUri(Aws::String&& value) { m_locationUriHasBeenSet = true; m_locationUri = std::move(value); }
102 inline void SetLocationUri(const char* value) { m_locationUriHasBeenSet = true; m_locationUri.assign(value); }
104 inline CreateConfigurationProfileRequest& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;}
105 inline CreateConfigurationProfileRequest& WithLocationUri(const char* value) { SetLocationUri(value); return *this;}
107
109
116 inline const Aws::String& GetRetrievalRoleArn() const{ return m_retrievalRoleArn; }
117 inline bool RetrievalRoleArnHasBeenSet() const { return m_retrievalRoleArnHasBeenSet; }
118 inline void SetRetrievalRoleArn(const Aws::String& value) { m_retrievalRoleArnHasBeenSet = true; m_retrievalRoleArn = value; }
119 inline void SetRetrievalRoleArn(Aws::String&& value) { m_retrievalRoleArnHasBeenSet = true; m_retrievalRoleArn = std::move(value); }
120 inline void SetRetrievalRoleArn(const char* value) { m_retrievalRoleArnHasBeenSet = true; m_retrievalRoleArn.assign(value); }
123 inline CreateConfigurationProfileRequest& WithRetrievalRoleArn(const char* value) { SetRetrievalRoleArn(value); return *this;}
125
127
130 inline const Aws::Vector<Validator>& GetValidators() const{ return m_validators; }
131 inline bool ValidatorsHasBeenSet() const { return m_validatorsHasBeenSet; }
132 inline void SetValidators(const Aws::Vector<Validator>& value) { m_validatorsHasBeenSet = true; m_validators = value; }
133 inline void SetValidators(Aws::Vector<Validator>&& value) { m_validatorsHasBeenSet = true; m_validators = std::move(value); }
136 inline CreateConfigurationProfileRequest& AddValidators(const Validator& value) { m_validatorsHasBeenSet = true; m_validators.push_back(value); return *this; }
137 inline CreateConfigurationProfileRequest& AddValidators(Validator&& value) { m_validatorsHasBeenSet = true; m_validators.push_back(std::move(value)); return *this; }
139
141
146 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
147 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
148 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
149 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
152 inline CreateConfigurationProfileRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
153 inline CreateConfigurationProfileRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
154 inline CreateConfigurationProfileRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
155 inline CreateConfigurationProfileRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
156 inline CreateConfigurationProfileRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
157 inline CreateConfigurationProfileRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
158 inline CreateConfigurationProfileRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
160
162
171 inline const Aws::String& GetType() const{ return m_type; }
172 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
173 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
174 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
175 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
176 inline CreateConfigurationProfileRequest& WithType(const Aws::String& value) { SetType(value); return *this;}
177 inline CreateConfigurationProfileRequest& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
178 inline CreateConfigurationProfileRequest& WithType(const char* value) { SetType(value); return *this;}
180
182
190 inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
191 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
192 inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = value; }
193 inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::move(value); }
194 inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier.assign(value); }
197 inline CreateConfigurationProfileRequest& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
199 private:
200
201 Aws::String m_applicationId;
202 bool m_applicationIdHasBeenSet = false;
203
204 Aws::String m_name;
205 bool m_nameHasBeenSet = false;
206
207 Aws::String m_description;
208 bool m_descriptionHasBeenSet = false;
209
210 Aws::String m_locationUri;
211 bool m_locationUriHasBeenSet = false;
212
213 Aws::String m_retrievalRoleArn;
214 bool m_retrievalRoleArnHasBeenSet = false;
215
216 Aws::Vector<Validator> m_validators;
217 bool m_validatorsHasBeenSet = false;
218
220 bool m_tagsHasBeenSet = false;
221
222 Aws::String m_type;
223 bool m_typeHasBeenSet = false;
224
225 Aws::String m_kmsKeyIdentifier;
226 bool m_kmsKeyIdentifierHasBeenSet = false;
227 };
228
229} // namespace Model
230} // namespace AppConfig
231} // namespace Aws
CreateConfigurationProfileRequest & WithLocationUri(const char *value)
CreateConfigurationProfileRequest & WithDescription(Aws::String &&value)
CreateConfigurationProfileRequest & WithType(const Aws::String &value)
CreateConfigurationProfileRequest & WithRetrievalRoleArn(Aws::String &&value)
CreateConfigurationProfileRequest & WithKmsKeyIdentifier(Aws::String &&value)
CreateConfigurationProfileRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateConfigurationProfileRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateConfigurationProfileRequest & WithType(Aws::String &&value)
CreateConfigurationProfileRequest & AddTags(Aws::String &&key, const char *value)
CreateConfigurationProfileRequest & AddValidators(const Validator &value)
CreateConfigurationProfileRequest & AddTags(const char *key, Aws::String &&value)
CreateConfigurationProfileRequest & WithValidators(Aws::Vector< Validator > &&value)
CreateConfigurationProfileRequest & WithLocationUri(const Aws::String &value)
CreateConfigurationProfileRequest & AddTags(const char *key, const char *value)
CreateConfigurationProfileRequest & WithName(Aws::String &&value)
CreateConfigurationProfileRequest & WithName(const char *value)
CreateConfigurationProfileRequest & WithDescription(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateConfigurationProfileRequest & AddValidators(Validator &&value)
CreateConfigurationProfileRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateConfigurationProfileRequest & WithRetrievalRoleArn(const Aws::String &value)
CreateConfigurationProfileRequest & WithApplicationId(Aws::String &&value)
CreateConfigurationProfileRequest & WithType(const char *value)
CreateConfigurationProfileRequest & WithRetrievalRoleArn(const char *value)
CreateConfigurationProfileRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateConfigurationProfileRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateConfigurationProfileRequest & WithLocationUri(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_APPCONFIG_API Aws::String SerializePayload() const override
CreateConfigurationProfileRequest & WithKmsKeyIdentifier(const char *value)
CreateConfigurationProfileRequest & WithName(const Aws::String &value)
CreateConfigurationProfileRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateConfigurationProfileRequest & WithValidators(const Aws::Vector< Validator > &value)
CreateConfigurationProfileRequest & WithApplicationId(const Aws::String &value)
CreateConfigurationProfileRequest & WithKmsKeyIdentifier(const Aws::String &value)
CreateConfigurationProfileRequest & WithApplicationId(const char *value)
CreateConfigurationProfileRequest & WithDescription(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector