AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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& GetDomainIdentifier() const { return m_domainIdentifier; }
39 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
40 template <typename DomainIdentifierT = Aws::String>
41 void SetDomainIdentifier(DomainIdentifierT&& value) {
42 m_domainIdentifierHasBeenSet = true;
43 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
44 }
45 template <typename DomainIdentifierT = Aws::String>
47 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetIdentifier() const { return m_identifier; }
57 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
58 template <typename IdentifierT = Aws::String>
59 void SetIdentifier(IdentifierT&& value) {
60 m_identifierHasBeenSet = true;
61 m_identifier = std::forward<IdentifierT>(value);
62 }
63 template <typename IdentifierT = Aws::String>
65 SetIdentifier(std::forward<IdentifierT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template <typename NameT = Aws::String>
78 void SetName(NameT&& value) {
79 m_nameHasBeenSet = true;
80 m_name = std::forward<NameT>(value);
81 }
82 template <typename NameT = Aws::String>
84 SetName(std::forward<NameT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetDescription() const { return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 template <typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) {
98 m_descriptionHasBeenSet = true;
99 m_description = std::forward<DescriptionT>(value);
100 }
101 template <typename DescriptionT = Aws::String>
103 SetDescription(std::forward<DescriptionT>(value));
104 return *this;
105 }
107
109
113 inline const Aws::Vector<EnvironmentParameter>& GetUserParameters() const { return m_userParameters; }
114 inline bool UserParametersHasBeenSet() const { return m_userParametersHasBeenSet; }
115 template <typename UserParametersT = Aws::Vector<EnvironmentParameter>>
116 void SetUserParameters(UserParametersT&& value) {
117 m_userParametersHasBeenSet = true;
118 m_userParameters = std::forward<UserParametersT>(value);
119 }
120 template <typename UserParametersT = Aws::Vector<EnvironmentParameter>>
122 SetUserParameters(std::forward<UserParametersT>(value));
123 return *this;
124 }
125 template <typename UserParametersT = EnvironmentParameter>
127 m_userParametersHasBeenSet = true;
128 m_userParameters.emplace_back(std::forward<UserParametersT>(value));
129 return *this;
130 }
132
134
138 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
139 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
140 template <typename AwsAccountIdT = Aws::String>
141 void SetAwsAccountId(AwsAccountIdT&& value) {
142 m_awsAccountIdHasBeenSet = true;
143 m_awsAccountId = std::forward<AwsAccountIdT>(value);
144 }
145 template <typename AwsAccountIdT = Aws::String>
147 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
148 return *this;
149 }
151
153
157 inline const Aws::String& GetAwsAccountRegion() const { return m_awsAccountRegion; }
158 inline bool AwsAccountRegionHasBeenSet() const { return m_awsAccountRegionHasBeenSet; }
159 template <typename AwsAccountRegionT = Aws::String>
160 void SetAwsAccountRegion(AwsAccountRegionT&& value) {
161 m_awsAccountRegionHasBeenSet = true;
162 m_awsAccountRegion = std::forward<AwsAccountRegionT>(value);
163 }
164 template <typename AwsAccountRegionT = Aws::String>
166 SetAwsAccountRegion(std::forward<AwsAccountRegionT>(value));
167 return *this;
168 }
170 private:
171 Aws::String m_domainIdentifier;
172
173 Aws::String m_identifier;
174
175 Aws::String m_name;
176
177 Aws::String m_description;
178
179 Aws::Vector<EnvironmentParameter> m_userParameters;
180
181 Aws::String m_awsAccountId;
182
183 Aws::String m_awsAccountRegion;
184 bool m_domainIdentifierHasBeenSet = false;
185 bool m_identifierHasBeenSet = false;
186 bool m_nameHasBeenSet = false;
187 bool m_descriptionHasBeenSet = false;
188 bool m_userParametersHasBeenSet = false;
189 bool m_awsAccountIdHasBeenSet = false;
190 bool m_awsAccountRegionHasBeenSet = 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