AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
UpdateEnvironmentProfileRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datazone/DataZoneRequest.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/EnvironmentParameter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DataZone {
17namespace Model {
18
22 public:
23 AWS_DATAZONE_API UpdateEnvironmentProfileRequest() = 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 "UpdateEnvironmentProfile"; }
30
31 AWS_DATAZONE_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
39 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
40 template <typename AwsAccountIdT = Aws::String>
41 void SetAwsAccountId(AwsAccountIdT&& value) {
42 m_awsAccountIdHasBeenSet = true;
43 m_awsAccountId = std::forward<AwsAccountIdT>(value);
44 }
45 template <typename AwsAccountIdT = Aws::String>
47 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetAwsAccountRegion() const { return m_awsAccountRegion; }
58 inline bool AwsAccountRegionHasBeenSet() const { return m_awsAccountRegionHasBeenSet; }
59 template <typename AwsAccountRegionT = Aws::String>
60 void SetAwsAccountRegion(AwsAccountRegionT&& value) {
61 m_awsAccountRegionHasBeenSet = true;
62 m_awsAccountRegion = std::forward<AwsAccountRegionT>(value);
63 }
64 template <typename AwsAccountRegionT = Aws::String>
66 SetAwsAccountRegion(std::forward<AwsAccountRegionT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
96 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
97 template <typename DomainIdentifierT = Aws::String>
98 void SetDomainIdentifier(DomainIdentifierT&& value) {
99 m_domainIdentifierHasBeenSet = true;
100 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
101 }
102 template <typename DomainIdentifierT = Aws::String>
104 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetIdentifier() const { return m_identifier; }
114 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
115 template <typename IdentifierT = Aws::String>
116 void SetIdentifier(IdentifierT&& value) {
117 m_identifierHasBeenSet = true;
118 m_identifier = std::forward<IdentifierT>(value);
119 }
120 template <typename IdentifierT = Aws::String>
122 SetIdentifier(std::forward<IdentifierT>(value));
123 return *this;
124 }
126
128
132 inline const Aws::String& GetName() const { return m_name; }
133 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
134 template <typename NameT = Aws::String>
135 void SetName(NameT&& value) {
136 m_nameHasBeenSet = true;
137 m_name = std::forward<NameT>(value);
138 }
139 template <typename NameT = Aws::String>
141 SetName(std::forward<NameT>(value));
142 return *this;
143 }
145
147
151 inline const Aws::Vector<EnvironmentParameter>& GetUserParameters() const { return m_userParameters; }
152 inline bool UserParametersHasBeenSet() const { return m_userParametersHasBeenSet; }
153 template <typename UserParametersT = Aws::Vector<EnvironmentParameter>>
154 void SetUserParameters(UserParametersT&& value) {
155 m_userParametersHasBeenSet = true;
156 m_userParameters = std::forward<UserParametersT>(value);
157 }
158 template <typename UserParametersT = Aws::Vector<EnvironmentParameter>>
160 SetUserParameters(std::forward<UserParametersT>(value));
161 return *this;
162 }
163 template <typename UserParametersT = EnvironmentParameter>
165 m_userParametersHasBeenSet = true;
166 m_userParameters.emplace_back(std::forward<UserParametersT>(value));
167 return *this;
168 }
170 private:
171 Aws::String m_awsAccountId;
172 bool m_awsAccountIdHasBeenSet = false;
173
174 Aws::String m_awsAccountRegion;
175 bool m_awsAccountRegionHasBeenSet = false;
176
177 Aws::String m_description;
178 bool m_descriptionHasBeenSet = false;
179
180 Aws::String m_domainIdentifier;
181 bool m_domainIdentifierHasBeenSet = false;
182
183 Aws::String m_identifier;
184 bool m_identifierHasBeenSet = false;
185
186 Aws::String m_name;
187 bool m_nameHasBeenSet = false;
188
189 Aws::Vector<EnvironmentParameter> m_userParameters;
190 bool m_userParametersHasBeenSet = false;
191};
192
193} // namespace Model
194} // namespace DataZone
195} // namespace Aws
UpdateEnvironmentProfileRequest & WithUserParameters(UserParametersT &&value)
UpdateEnvironmentProfileRequest & WithAwsAccountRegion(AwsAccountRegionT &&value)
const Aws::Vector< EnvironmentParameter > & GetUserParameters() const
UpdateEnvironmentProfileRequest & WithAwsAccountId(AwsAccountIdT &&value)
UpdateEnvironmentProfileRequest & WithDescription(DescriptionT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateEnvironmentProfileRequest & AddUserParameters(UserParametersT &&value)
UpdateEnvironmentProfileRequest & WithIdentifier(IdentifierT &&value)
UpdateEnvironmentProfileRequest & WithName(NameT &&value)
AWS_DATAZONE_API UpdateEnvironmentProfileRequest()=default
UpdateEnvironmentProfileRequest & WithDomainIdentifier(DomainIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector