AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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:
26 AWS_DATAZONE_API CreateEnvironmentProfileRequest() = 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 "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 template<typename AwsAccountIdT = Aws::String>
45 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
46 template<typename AwsAccountIdT = Aws::String>
47 CreateEnvironmentProfileRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
49
51
55 inline const Aws::String& GetAwsAccountRegion() const { return m_awsAccountRegion; }
56 inline bool AwsAccountRegionHasBeenSet() const { return m_awsAccountRegionHasBeenSet; }
57 template<typename AwsAccountRegionT = Aws::String>
58 void SetAwsAccountRegion(AwsAccountRegionT&& value) { m_awsAccountRegionHasBeenSet = true; m_awsAccountRegion = std::forward<AwsAccountRegionT>(value); }
59 template<typename AwsAccountRegionT = Aws::String>
60 CreateEnvironmentProfileRequest& WithAwsAccountRegion(AwsAccountRegionT&& value) { SetAwsAccountRegion(std::forward<AwsAccountRegionT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDescription() const { return m_description; }
68 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
69 template<typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
71 template<typename DescriptionT = Aws::String>
72 CreateEnvironmentProfileRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
74
76
80 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
81 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
82 template<typename DomainIdentifierT = Aws::String>
83 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
84 template<typename DomainIdentifierT = Aws::String>
85 CreateEnvironmentProfileRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
87
89
92 inline const Aws::String& GetEnvironmentBlueprintIdentifier() const { return m_environmentBlueprintIdentifier; }
93 inline bool EnvironmentBlueprintIdentifierHasBeenSet() const { return m_environmentBlueprintIdentifierHasBeenSet; }
94 template<typename EnvironmentBlueprintIdentifierT = Aws::String>
95 void SetEnvironmentBlueprintIdentifier(EnvironmentBlueprintIdentifierT&& value) { m_environmentBlueprintIdentifierHasBeenSet = true; m_environmentBlueprintIdentifier = std::forward<EnvironmentBlueprintIdentifierT>(value); }
96 template<typename EnvironmentBlueprintIdentifierT = Aws::String>
97 CreateEnvironmentProfileRequest& WithEnvironmentBlueprintIdentifier(EnvironmentBlueprintIdentifierT&& value) { SetEnvironmentBlueprintIdentifier(std::forward<EnvironmentBlueprintIdentifierT>(value)); return *this;}
99
101
104 inline const Aws::String& GetName() const { return m_name; }
105 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
106 template<typename NameT = Aws::String>
107 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
108 template<typename NameT = Aws::String>
109 CreateEnvironmentProfileRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
111
113
116 inline const Aws::String& GetProjectIdentifier() const { return m_projectIdentifier; }
117 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
118 template<typename ProjectIdentifierT = Aws::String>
119 void SetProjectIdentifier(ProjectIdentifierT&& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = std::forward<ProjectIdentifierT>(value); }
120 template<typename ProjectIdentifierT = Aws::String>
121 CreateEnvironmentProfileRequest& WithProjectIdentifier(ProjectIdentifierT&& value) { SetProjectIdentifier(std::forward<ProjectIdentifierT>(value)); return *this;}
123
125
128 inline const Aws::Vector<EnvironmentParameter>& GetUserParameters() const { return m_userParameters; }
129 inline bool UserParametersHasBeenSet() const { return m_userParametersHasBeenSet; }
130 template<typename UserParametersT = Aws::Vector<EnvironmentParameter>>
131 void SetUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters = std::forward<UserParametersT>(value); }
132 template<typename UserParametersT = Aws::Vector<EnvironmentParameter>>
133 CreateEnvironmentProfileRequest& WithUserParameters(UserParametersT&& value) { SetUserParameters(std::forward<UserParametersT>(value)); return *this;}
134 template<typename UserParametersT = EnvironmentParameter>
135 CreateEnvironmentProfileRequest& AddUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters.emplace_back(std::forward<UserParametersT>(value)); return *this; }
137 private:
138
139 Aws::String m_awsAccountId;
140 bool m_awsAccountIdHasBeenSet = false;
141
142 Aws::String m_awsAccountRegion;
143 bool m_awsAccountRegionHasBeenSet = false;
144
145 Aws::String m_description;
146 bool m_descriptionHasBeenSet = false;
147
148 Aws::String m_domainIdentifier;
149 bool m_domainIdentifierHasBeenSet = false;
150
151 Aws::String m_environmentBlueprintIdentifier;
152 bool m_environmentBlueprintIdentifierHasBeenSet = false;
153
154 Aws::String m_name;
155 bool m_nameHasBeenSet = false;
156
157 Aws::String m_projectIdentifier;
158 bool m_projectIdentifierHasBeenSet = false;
159
160 Aws::Vector<EnvironmentParameter> m_userParameters;
161 bool m_userParametersHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace DataZone
166} // namespace Aws
CreateEnvironmentProfileRequest & WithProjectIdentifier(ProjectIdentifierT &&value)
void SetEnvironmentBlueprintIdentifier(EnvironmentBlueprintIdentifierT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
AWS_DATAZONE_API CreateEnvironmentProfileRequest()=default
CreateEnvironmentProfileRequest & WithDomainIdentifier(DomainIdentifierT &&value)
CreateEnvironmentProfileRequest & WithAwsAccountId(AwsAccountIdT &&value)
CreateEnvironmentProfileRequest & WithEnvironmentBlueprintIdentifier(EnvironmentBlueprintIdentifierT &&value)
const Aws::Vector< EnvironmentParameter > & GetUserParameters() const
CreateEnvironmentProfileRequest & AddUserParameters(UserParametersT &&value)
CreateEnvironmentProfileRequest & WithAwsAccountRegion(AwsAccountRegionT &&value)
CreateEnvironmentProfileRequest & WithDescription(DescriptionT &&value)
CreateEnvironmentProfileRequest & WithUserParameters(UserParametersT &&value)
CreateEnvironmentProfileRequest & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector