AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateEnvironmentProfileRequest.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 "CreateEnvironmentProfile"; }
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 CreateEnvironmentProfileRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
48 inline CreateEnvironmentProfileRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
49 inline CreateEnvironmentProfileRequest& 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 CreateEnvironmentProfileRequest& WithAwsAccountRegion(Aws::String&& value) { SetAwsAccountRegion(std::move(value)); return *this;}
64 inline CreateEnvironmentProfileRequest& WithAwsAccountRegion(const char* value) { SetAwsAccountRegion(value); return *this;}
66
68
71 inline const Aws::String& GetDescription() const{ return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
74 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
75 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
76 inline CreateEnvironmentProfileRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
77 inline CreateEnvironmentProfileRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
78 inline CreateEnvironmentProfileRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
80
82
86 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
87 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
88 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
89 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
90 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
92 inline CreateEnvironmentProfileRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
93 inline CreateEnvironmentProfileRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
95
97
100 inline const Aws::String& GetEnvironmentBlueprintIdentifier() const{ return m_environmentBlueprintIdentifier; }
101 inline bool EnvironmentBlueprintIdentifierHasBeenSet() const { return m_environmentBlueprintIdentifierHasBeenSet; }
102 inline void SetEnvironmentBlueprintIdentifier(const Aws::String& value) { m_environmentBlueprintIdentifierHasBeenSet = true; m_environmentBlueprintIdentifier = value; }
103 inline void SetEnvironmentBlueprintIdentifier(Aws::String&& value) { m_environmentBlueprintIdentifierHasBeenSet = true; m_environmentBlueprintIdentifier = std::move(value); }
104 inline void SetEnvironmentBlueprintIdentifier(const char* value) { m_environmentBlueprintIdentifierHasBeenSet = true; m_environmentBlueprintIdentifier.assign(value); }
109
111
114 inline const Aws::String& GetName() const{ return m_name; }
115 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
116 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
117 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
118 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
119 inline CreateEnvironmentProfileRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
120 inline CreateEnvironmentProfileRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
121 inline CreateEnvironmentProfileRequest& WithName(const char* value) { SetName(value); return *this;}
123
125
128 inline const Aws::String& GetProjectIdentifier() const{ return m_projectIdentifier; }
129 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
130 inline void SetProjectIdentifier(const Aws::String& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = value; }
131 inline void SetProjectIdentifier(Aws::String&& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = std::move(value); }
132 inline void SetProjectIdentifier(const char* value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier.assign(value); }
135 inline CreateEnvironmentProfileRequest& WithProjectIdentifier(const char* value) { SetProjectIdentifier(value); return *this;}
137
139
142 inline const Aws::Vector<EnvironmentParameter>& GetUserParameters() const{ return m_userParameters; }
143 inline bool UserParametersHasBeenSet() const { return m_userParametersHasBeenSet; }
144 inline void SetUserParameters(const Aws::Vector<EnvironmentParameter>& value) { m_userParametersHasBeenSet = true; m_userParameters = value; }
145 inline void SetUserParameters(Aws::Vector<EnvironmentParameter>&& value) { m_userParametersHasBeenSet = true; m_userParameters = std::move(value); }
148 inline CreateEnvironmentProfileRequest& AddUserParameters(const EnvironmentParameter& value) { m_userParametersHasBeenSet = true; m_userParameters.push_back(value); return *this; }
149 inline CreateEnvironmentProfileRequest& AddUserParameters(EnvironmentParameter&& value) { m_userParametersHasBeenSet = true; m_userParameters.push_back(std::move(value)); return *this; }
151 private:
152
153 Aws::String m_awsAccountId;
154 bool m_awsAccountIdHasBeenSet = false;
155
156 Aws::String m_awsAccountRegion;
157 bool m_awsAccountRegionHasBeenSet = false;
158
159 Aws::String m_description;
160 bool m_descriptionHasBeenSet = false;
161
162 Aws::String m_domainIdentifier;
163 bool m_domainIdentifierHasBeenSet = false;
164
165 Aws::String m_environmentBlueprintIdentifier;
166 bool m_environmentBlueprintIdentifierHasBeenSet = false;
167
168 Aws::String m_name;
169 bool m_nameHasBeenSet = false;
170
171 Aws::String m_projectIdentifier;
172 bool m_projectIdentifierHasBeenSet = false;
173
174 Aws::Vector<EnvironmentParameter> m_userParameters;
175 bool m_userParametersHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace DataZone
180} // namespace Aws
CreateEnvironmentProfileRequest & AddUserParameters(const EnvironmentParameter &value)
CreateEnvironmentProfileRequest & WithDomainIdentifier(const Aws::String &value)
CreateEnvironmentProfileRequest & WithEnvironmentBlueprintIdentifier(const Aws::String &value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
void SetUserParameters(Aws::Vector< EnvironmentParameter > &&value)
CreateEnvironmentProfileRequest & WithAwsAccountRegion(const char *value)
CreateEnvironmentProfileRequest & WithDescription(const Aws::String &value)
CreateEnvironmentProfileRequest & WithDescription(Aws::String &&value)
CreateEnvironmentProfileRequest & WithAwsAccountId(Aws::String &&value)
CreateEnvironmentProfileRequest & WithDomainIdentifier(const char *value)
const Aws::Vector< EnvironmentParameter > & GetUserParameters() const
CreateEnvironmentProfileRequest & WithName(const char *value)
CreateEnvironmentProfileRequest & WithAwsAccountId(const char *value)
CreateEnvironmentProfileRequest & WithDomainIdentifier(Aws::String &&value)
CreateEnvironmentProfileRequest & WithProjectIdentifier(const char *value)
CreateEnvironmentProfileRequest & WithAwsAccountId(const Aws::String &value)
CreateEnvironmentProfileRequest & WithUserParameters(const Aws::Vector< EnvironmentParameter > &value)
CreateEnvironmentProfileRequest & AddUserParameters(EnvironmentParameter &&value)
CreateEnvironmentProfileRequest & WithAwsAccountRegion(Aws::String &&value)
CreateEnvironmentProfileRequest & WithDescription(const char *value)
CreateEnvironmentProfileRequest & WithAwsAccountRegion(const Aws::String &value)
void SetUserParameters(const Aws::Vector< EnvironmentParameter > &value)
CreateEnvironmentProfileRequest & WithEnvironmentBlueprintIdentifier(const char *value)
CreateEnvironmentProfileRequest & WithProjectIdentifier(Aws::String &&value)
CreateEnvironmentProfileRequest & WithName(Aws::String &&value)
CreateEnvironmentProfileRequest & WithUserParameters(Aws::Vector< EnvironmentParameter > &&value)
CreateEnvironmentProfileRequest & WithProjectIdentifier(const Aws::String &value)
CreateEnvironmentProfileRequest & WithName(const Aws::String &value)
CreateEnvironmentProfileRequest & WithEnvironmentBlueprintIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector