AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
UpdateConfigurationProfileRequest.h
1
6#pragma once
7#include <aws/appconfig/AppConfigRequest.h>
8#include <aws/appconfig/AppConfig_EXPORTS.h>
9#include <aws/appconfig/model/Validator.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 {
16namespace AppConfig {
17namespace Model {
18
22 public:
23 AWS_APPCONFIG_API UpdateConfigurationProfileRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateConfigurationProfile"; }
30
31 AWS_APPCONFIG_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
38 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
39 template <typename ApplicationIdT = Aws::String>
40 void SetApplicationId(ApplicationIdT&& value) {
41 m_applicationIdHasBeenSet = true;
42 m_applicationId = std::forward<ApplicationIdT>(value);
43 }
44 template <typename ApplicationIdT = Aws::String>
46 SetApplicationId(std::forward<ApplicationIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetConfigurationProfileId() const { return m_configurationProfileId; }
56 inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
57 template <typename ConfigurationProfileIdT = Aws::String>
58 void SetConfigurationProfileId(ConfigurationProfileIdT&& value) {
59 m_configurationProfileIdHasBeenSet = true;
60 m_configurationProfileId = std::forward<ConfigurationProfileIdT>(value);
61 }
62 template <typename ConfigurationProfileIdT = Aws::String>
64 SetConfigurationProfileId(std::forward<ConfigurationProfileIdT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetName() const { return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 template <typename NameT = Aws::String>
76 void SetName(NameT&& value) {
77 m_nameHasBeenSet = true;
78 m_name = std::forward<NameT>(value);
79 }
80 template <typename NameT = Aws::String>
82 SetName(std::forward<NameT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetDescription() const { return m_description; }
92 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
93 template <typename DescriptionT = Aws::String>
94 void SetDescription(DescriptionT&& value) {
95 m_descriptionHasBeenSet = true;
96 m_description = std::forward<DescriptionT>(value);
97 }
98 template <typename DescriptionT = Aws::String>
100 SetDescription(std::forward<DescriptionT>(value));
101 return *this;
102 }
104
106
113 inline const Aws::String& GetRetrievalRoleArn() const { return m_retrievalRoleArn; }
114 inline bool RetrievalRoleArnHasBeenSet() const { return m_retrievalRoleArnHasBeenSet; }
115 template <typename RetrievalRoleArnT = Aws::String>
116 void SetRetrievalRoleArn(RetrievalRoleArnT&& value) {
117 m_retrievalRoleArnHasBeenSet = true;
118 m_retrievalRoleArn = std::forward<RetrievalRoleArnT>(value);
119 }
120 template <typename RetrievalRoleArnT = Aws::String>
122 SetRetrievalRoleArn(std::forward<RetrievalRoleArnT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::Vector<Validator>& GetValidators() const { return m_validators; }
132 inline bool ValidatorsHasBeenSet() const { return m_validatorsHasBeenSet; }
133 template <typename ValidatorsT = Aws::Vector<Validator>>
134 void SetValidators(ValidatorsT&& value) {
135 m_validatorsHasBeenSet = true;
136 m_validators = std::forward<ValidatorsT>(value);
137 }
138 template <typename ValidatorsT = Aws::Vector<Validator>>
140 SetValidators(std::forward<ValidatorsT>(value));
141 return *this;
142 }
143 template <typename ValidatorsT = Validator>
145 m_validatorsHasBeenSet = true;
146 m_validators.emplace_back(std::forward<ValidatorsT>(value));
147 return *this;
148 }
150
152
160 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
161 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
162 template <typename KmsKeyIdentifierT = Aws::String>
163 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) {
164 m_kmsKeyIdentifierHasBeenSet = true;
165 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
166 }
167 template <typename KmsKeyIdentifierT = Aws::String>
169 SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value));
170 return *this;
171 }
173 private:
174 Aws::String m_applicationId;
175
176 Aws::String m_configurationProfileId;
177
178 Aws::String m_name;
179
180 Aws::String m_description;
181
182 Aws::String m_retrievalRoleArn;
183
184 Aws::Vector<Validator> m_validators;
185
186 Aws::String m_kmsKeyIdentifier;
187 bool m_applicationIdHasBeenSet = false;
188 bool m_configurationProfileIdHasBeenSet = false;
189 bool m_nameHasBeenSet = false;
190 bool m_descriptionHasBeenSet = false;
191 bool m_retrievalRoleArnHasBeenSet = false;
192 bool m_validatorsHasBeenSet = false;
193 bool m_kmsKeyIdentifierHasBeenSet = false;
194};
195
196} // namespace Model
197} // namespace AppConfig
198} // namespace Aws
AWS_APPCONFIG_API Aws::String SerializePayload() const override
UpdateConfigurationProfileRequest & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
UpdateConfigurationProfileRequest & WithName(NameT &&value)
UpdateConfigurationProfileRequest & WithValidators(ValidatorsT &&value)
UpdateConfigurationProfileRequest & WithDescription(DescriptionT &&value)
UpdateConfigurationProfileRequest & WithRetrievalRoleArn(RetrievalRoleArnT &&value)
UpdateConfigurationProfileRequest & WithApplicationId(ApplicationIdT &&value)
UpdateConfigurationProfileRequest & WithConfigurationProfileId(ConfigurationProfileIdT &&value)
UpdateConfigurationProfileRequest & AddValidators(ValidatorsT &&value)
AWS_APPCONFIG_API UpdateConfigurationProfileRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector