AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
26 AWS_APPCONFIG_API UpdateConfigurationProfileRequest() = default;
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 template<typename ApplicationIdT = Aws::String>
44 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
45 template<typename ApplicationIdT = Aws::String>
46 UpdateConfigurationProfileRequest& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetConfigurationProfileId() const { return m_configurationProfileId; }
54 inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
55 template<typename ConfigurationProfileIdT = Aws::String>
56 void SetConfigurationProfileId(ConfigurationProfileIdT&& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = std::forward<ConfigurationProfileIdT>(value); }
57 template<typename ConfigurationProfileIdT = Aws::String>
58 UpdateConfigurationProfileRequest& WithConfigurationProfileId(ConfigurationProfileIdT&& value) { SetConfigurationProfileId(std::forward<ConfigurationProfileIdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetName() const { return m_name; }
66 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
67 template<typename NameT = Aws::String>
68 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
69 template<typename NameT = Aws::String>
70 UpdateConfigurationProfileRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
72
74
77 inline const Aws::String& GetDescription() const { return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 template<typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
81 template<typename DescriptionT = Aws::String>
82 UpdateConfigurationProfileRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
84
86
93 inline const Aws::String& GetRetrievalRoleArn() const { return m_retrievalRoleArn; }
94 inline bool RetrievalRoleArnHasBeenSet() const { return m_retrievalRoleArnHasBeenSet; }
95 template<typename RetrievalRoleArnT = Aws::String>
96 void SetRetrievalRoleArn(RetrievalRoleArnT&& value) { m_retrievalRoleArnHasBeenSet = true; m_retrievalRoleArn = std::forward<RetrievalRoleArnT>(value); }
97 template<typename RetrievalRoleArnT = Aws::String>
98 UpdateConfigurationProfileRequest& WithRetrievalRoleArn(RetrievalRoleArnT&& value) { SetRetrievalRoleArn(std::forward<RetrievalRoleArnT>(value)); return *this;}
100
102
105 inline const Aws::Vector<Validator>& GetValidators() const { return m_validators; }
106 inline bool ValidatorsHasBeenSet() const { return m_validatorsHasBeenSet; }
107 template<typename ValidatorsT = Aws::Vector<Validator>>
108 void SetValidators(ValidatorsT&& value) { m_validatorsHasBeenSet = true; m_validators = std::forward<ValidatorsT>(value); }
109 template<typename ValidatorsT = Aws::Vector<Validator>>
110 UpdateConfigurationProfileRequest& WithValidators(ValidatorsT&& value) { SetValidators(std::forward<ValidatorsT>(value)); return *this;}
111 template<typename ValidatorsT = Validator>
112 UpdateConfigurationProfileRequest& AddValidators(ValidatorsT&& value) { m_validatorsHasBeenSet = true; m_validators.emplace_back(std::forward<ValidatorsT>(value)); return *this; }
114
116
124 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
125 inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
126 template<typename KmsKeyIdentifierT = Aws::String>
127 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
128 template<typename KmsKeyIdentifierT = Aws::String>
129 UpdateConfigurationProfileRequest& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
131 private:
132
133 Aws::String m_applicationId;
134 bool m_applicationIdHasBeenSet = false;
135
136 Aws::String m_configurationProfileId;
137 bool m_configurationProfileIdHasBeenSet = false;
138
139 Aws::String m_name;
140 bool m_nameHasBeenSet = false;
141
142 Aws::String m_description;
143 bool m_descriptionHasBeenSet = false;
144
145 Aws::String m_retrievalRoleArn;
146 bool m_retrievalRoleArnHasBeenSet = false;
147
148 Aws::Vector<Validator> m_validators;
149 bool m_validatorsHasBeenSet = false;
150
151 Aws::String m_kmsKeyIdentifier;
152 bool m_kmsKeyIdentifierHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace AppConfig
157} // 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