AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateEnvironmentProfileRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/model/EnvironmentParameter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DataZone
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 "UpdateEnvironmentProfile"; }
33
34 AWS_DATAZONE_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
43 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
44 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
45 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
46 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
47 inline UpdateEnvironmentProfileRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
48 inline UpdateEnvironmentProfileRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
49 inline UpdateEnvironmentProfileRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
51
53
57 inline const Aws::String& GetAwsAccountRegion() const{ return m_awsAccountRegion; }
58 inline bool AwsAccountRegionHasBeenSet() const { return m_awsAccountRegionHasBeenSet; }
59 inline void SetAwsAccountRegion(const Aws::String& value) { m_awsAccountRegionHasBeenSet = true; m_awsAccountRegion = value; }
60 inline void SetAwsAccountRegion(Aws::String&& value) { m_awsAccountRegionHasBeenSet = true; m_awsAccountRegion = std::move(value); }
61 inline void SetAwsAccountRegion(const char* value) { m_awsAccountRegionHasBeenSet = true; m_awsAccountRegion.assign(value); }
63 inline UpdateEnvironmentProfileRequest& WithAwsAccountRegion(Aws::String&& value) { SetAwsAccountRegion(std::move(value)); return *this;}
64 inline UpdateEnvironmentProfileRequest& WithAwsAccountRegion(const char* value) { SetAwsAccountRegion(value); return *this;}
66
68
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline UpdateEnvironmentProfileRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline UpdateEnvironmentProfileRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline UpdateEnvironmentProfileRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
87 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
88 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
89 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
90 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
91 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
93 inline UpdateEnvironmentProfileRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
94 inline UpdateEnvironmentProfileRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
96
98
101 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
102 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
103 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
104 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
105 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
106 inline UpdateEnvironmentProfileRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
107 inline UpdateEnvironmentProfileRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
108 inline UpdateEnvironmentProfileRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
110
112
116 inline const Aws::String& GetName() const{ return m_name; }
117 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
118 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
119 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
120 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
121 inline UpdateEnvironmentProfileRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
122 inline UpdateEnvironmentProfileRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
123 inline UpdateEnvironmentProfileRequest& WithName(const char* value) { SetName(value); return *this;}
125
127
131 inline const Aws::Vector<EnvironmentParameter>& GetUserParameters() const{ return m_userParameters; }
132 inline bool UserParametersHasBeenSet() const { return m_userParametersHasBeenSet; }
133 inline void SetUserParameters(const Aws::Vector<EnvironmentParameter>& value) { m_userParametersHasBeenSet = true; m_userParameters = value; }
134 inline void SetUserParameters(Aws::Vector<EnvironmentParameter>&& value) { m_userParametersHasBeenSet = true; m_userParameters = std::move(value); }
137 inline UpdateEnvironmentProfileRequest& AddUserParameters(const EnvironmentParameter& value) { m_userParametersHasBeenSet = true; m_userParameters.push_back(value); return *this; }
138 inline UpdateEnvironmentProfileRequest& AddUserParameters(EnvironmentParameter&& value) { m_userParametersHasBeenSet = true; m_userParameters.push_back(std::move(value)); return *this; }
140 private:
141
142 Aws::String m_awsAccountId;
143 bool m_awsAccountIdHasBeenSet = false;
144
145 Aws::String m_awsAccountRegion;
146 bool m_awsAccountRegionHasBeenSet = false;
147
148 Aws::String m_description;
149 bool m_descriptionHasBeenSet = false;
150
151 Aws::String m_domainIdentifier;
152 bool m_domainIdentifierHasBeenSet = false;
153
154 Aws::String m_identifier;
155 bool m_identifierHasBeenSet = false;
156
157 Aws::String m_name;
158 bool m_nameHasBeenSet = false;
159
160 Aws::Vector<EnvironmentParameter> m_userParameters;
161 bool m_userParametersHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace DataZone
166} // namespace Aws
UpdateEnvironmentProfileRequest & WithDomainIdentifier(const char *value)
const Aws::Vector< EnvironmentParameter > & GetUserParameters() const
UpdateEnvironmentProfileRequest & WithAwsAccountRegion(const Aws::String &value)
void SetUserParameters(const Aws::Vector< EnvironmentParameter > &value)
UpdateEnvironmentProfileRequest & WithIdentifier(Aws::String &&value)
UpdateEnvironmentProfileRequest & WithUserParameters(const Aws::Vector< EnvironmentParameter > &value)
UpdateEnvironmentProfileRequest & WithUserParameters(Aws::Vector< EnvironmentParameter > &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateEnvironmentProfileRequest & WithDomainIdentifier(const Aws::String &value)
UpdateEnvironmentProfileRequest & WithDomainIdentifier(Aws::String &&value)
UpdateEnvironmentProfileRequest & WithIdentifier(const char *value)
UpdateEnvironmentProfileRequest & WithName(const Aws::String &value)
UpdateEnvironmentProfileRequest & WithName(Aws::String &&value)
UpdateEnvironmentProfileRequest & WithAwsAccountRegion(Aws::String &&value)
UpdateEnvironmentProfileRequest & WithIdentifier(const Aws::String &value)
UpdateEnvironmentProfileRequest & WithDescription(const Aws::String &value)
UpdateEnvironmentProfileRequest & WithAwsAccountRegion(const char *value)
UpdateEnvironmentProfileRequest & WithDescription(Aws::String &&value)
UpdateEnvironmentProfileRequest & WithName(const char *value)
UpdateEnvironmentProfileRequest & WithAwsAccountId(const Aws::String &value)
void SetUserParameters(Aws::Vector< EnvironmentParameter > &&value)
UpdateEnvironmentProfileRequest & AddUserParameters(EnvironmentParameter &&value)
UpdateEnvironmentProfileRequest & WithDescription(const char *value)
UpdateEnvironmentProfileRequest & WithAwsAccountId(Aws::String &&value)
UpdateEnvironmentProfileRequest & WithAwsAccountId(const char *value)
UpdateEnvironmentProfileRequest & AddUserParameters(const EnvironmentParameter &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector