AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateConfigurationProfileRequest.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/appconfig/model/Validator.h>
12#include <utility>
13
14namespace Aws
15{
16namespace AppConfig
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateConfigurationProfile"; }
33
34 AWS_APPCONFIG_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
42 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
43 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
44 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
45 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
47 inline UpdateConfigurationProfileRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
48 inline UpdateConfigurationProfileRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
50
52
55 inline const Aws::String& GetConfigurationProfileId() const{ return m_configurationProfileId; }
56 inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
57 inline void SetConfigurationProfileId(const Aws::String& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = value; }
58 inline void SetConfigurationProfileId(Aws::String&& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = std::move(value); }
59 inline void SetConfigurationProfileId(const char* value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId.assign(value); }
64
66
69 inline const Aws::String& GetName() const{ return m_name; }
70 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
71 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
72 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
73 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
74 inline UpdateConfigurationProfileRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
75 inline UpdateConfigurationProfileRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 inline UpdateConfigurationProfileRequest& WithName(const char* value) { SetName(value); return *this;}
78
80
83 inline const Aws::String& GetDescription() const{ return m_description; }
84 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
85 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
86 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
87 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
88 inline UpdateConfigurationProfileRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
89 inline UpdateConfigurationProfileRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
90 inline UpdateConfigurationProfileRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
92
94
98 inline const Aws::String& GetRetrievalRoleArn() const{ return m_retrievalRoleArn; }
99 inline bool RetrievalRoleArnHasBeenSet() const { return m_retrievalRoleArnHasBeenSet; }
100 inline void SetRetrievalRoleArn(const Aws::String& value) { m_retrievalRoleArnHasBeenSet = true; m_retrievalRoleArn = value; }
101 inline void SetRetrievalRoleArn(Aws::String&& value) { m_retrievalRoleArnHasBeenSet = true; m_retrievalRoleArn = std::move(value); }
102 inline void SetRetrievalRoleArn(const char* value) { m_retrievalRoleArnHasBeenSet = true; m_retrievalRoleArn.assign(value); }
105 inline UpdateConfigurationProfileRequest& WithRetrievalRoleArn(const char* value) { SetRetrievalRoleArn(value); return *this;}
107
109
112 inline const Aws::Vector<Validator>& GetValidators() const{ return m_validators; }
113 inline bool ValidatorsHasBeenSet() const { return m_validatorsHasBeenSet; }
114 inline void SetValidators(const Aws::Vector<Validator>& value) { m_validatorsHasBeenSet = true; m_validators = value; }
115 inline void SetValidators(Aws::Vector<Validator>&& value) { m_validatorsHasBeenSet = true; m_validators = std::move(value); }
118 inline UpdateConfigurationProfileRequest& AddValidators(const Validator& value) { m_validatorsHasBeenSet = true; m_validators.push_back(value); return *this; }
119 inline UpdateConfigurationProfileRequest& AddValidators(Validator&& value) { m_validatorsHasBeenSet = true; m_validators.push_back(std::move(value)); return *this; }
121
123
131 inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
132 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
133 inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = value; }
134 inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::move(value); }
135 inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier.assign(value); }
138 inline UpdateConfigurationProfileRequest& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
140 private:
141
142 Aws::String m_applicationId;
143 bool m_applicationIdHasBeenSet = false;
144
145 Aws::String m_configurationProfileId;
146 bool m_configurationProfileIdHasBeenSet = false;
147
148 Aws::String m_name;
149 bool m_nameHasBeenSet = false;
150
151 Aws::String m_description;
152 bool m_descriptionHasBeenSet = false;
153
154 Aws::String m_retrievalRoleArn;
155 bool m_retrievalRoleArnHasBeenSet = false;
156
157 Aws::Vector<Validator> m_validators;
158 bool m_validatorsHasBeenSet = false;
159
160 Aws::String m_kmsKeyIdentifier;
161 bool m_kmsKeyIdentifierHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace AppConfig
166} // namespace Aws
AWS_APPCONFIG_API Aws::String SerializePayload() const override
UpdateConfigurationProfileRequest & AddValidators(Validator &&value)
UpdateConfigurationProfileRequest & AddValidators(const Validator &value)
UpdateConfigurationProfileRequest & WithApplicationId(Aws::String &&value)
UpdateConfigurationProfileRequest & WithName(Aws::String &&value)
UpdateConfigurationProfileRequest & WithApplicationId(const Aws::String &value)
UpdateConfigurationProfileRequest & WithName(const Aws::String &value)
UpdateConfigurationProfileRequest & WithValidators(Aws::Vector< Validator > &&value)
UpdateConfigurationProfileRequest & WithRetrievalRoleArn(const char *value)
UpdateConfigurationProfileRequest & WithApplicationId(const char *value)
UpdateConfigurationProfileRequest & WithKmsKeyIdentifier(const Aws::String &value)
UpdateConfigurationProfileRequest & WithRetrievalRoleArn(const Aws::String &value)
UpdateConfigurationProfileRequest & WithName(const char *value)
UpdateConfigurationProfileRequest & WithKmsKeyIdentifier(const char *value)
UpdateConfigurationProfileRequest & WithConfigurationProfileId(const Aws::String &value)
UpdateConfigurationProfileRequest & WithDescription(const char *value)
UpdateConfigurationProfileRequest & WithKmsKeyIdentifier(Aws::String &&value)
UpdateConfigurationProfileRequest & WithDescription(Aws::String &&value)
UpdateConfigurationProfileRequest & WithValidators(const Aws::Vector< Validator > &value)
UpdateConfigurationProfileRequest & WithDescription(const Aws::String &value)
UpdateConfigurationProfileRequest & WithConfigurationProfileId(const char *value)
UpdateConfigurationProfileRequest & WithConfigurationProfileId(Aws::String &&value)
UpdateConfigurationProfileRequest & WithRetrievalRoleArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector