AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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:
26 AWS_DATAZONE_API UpdateEnvironmentProfileRequest() = 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 "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 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 UpdateEnvironmentProfileRequest& 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 UpdateEnvironmentProfileRequest& WithAwsAccountRegion(AwsAccountRegionT&& value) { SetAwsAccountRegion(std::forward<AwsAccountRegionT>(value)); return *this;}
62
64
68 inline const Aws::String& GetDescription() const { return m_description; }
69 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
70 template<typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
72 template<typename DescriptionT = Aws::String>
73 UpdateEnvironmentProfileRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
75
77
81 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
82 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
83 template<typename DomainIdentifierT = Aws::String>
84 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
85 template<typename DomainIdentifierT = Aws::String>
86 UpdateEnvironmentProfileRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
88
90
93 inline const Aws::String& GetIdentifier() const { return m_identifier; }
94 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
95 template<typename IdentifierT = Aws::String>
96 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
97 template<typename IdentifierT = Aws::String>
98 UpdateEnvironmentProfileRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
100
102
106 inline const Aws::String& GetName() const { return m_name; }
107 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
108 template<typename NameT = Aws::String>
109 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
110 template<typename NameT = Aws::String>
111 UpdateEnvironmentProfileRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
113
115
119 inline const Aws::Vector<EnvironmentParameter>& GetUserParameters() const { return m_userParameters; }
120 inline bool UserParametersHasBeenSet() const { return m_userParametersHasBeenSet; }
121 template<typename UserParametersT = Aws::Vector<EnvironmentParameter>>
122 void SetUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters = std::forward<UserParametersT>(value); }
123 template<typename UserParametersT = Aws::Vector<EnvironmentParameter>>
124 UpdateEnvironmentProfileRequest& WithUserParameters(UserParametersT&& value) { SetUserParameters(std::forward<UserParametersT>(value)); return *this;}
125 template<typename UserParametersT = EnvironmentParameter>
126 UpdateEnvironmentProfileRequest& AddUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters.emplace_back(std::forward<UserParametersT>(value)); return *this; }
128 private:
129
130 Aws::String m_awsAccountId;
131 bool m_awsAccountIdHasBeenSet = false;
132
133 Aws::String m_awsAccountRegion;
134 bool m_awsAccountRegionHasBeenSet = false;
135
136 Aws::String m_description;
137 bool m_descriptionHasBeenSet = false;
138
139 Aws::String m_domainIdentifier;
140 bool m_domainIdentifierHasBeenSet = false;
141
142 Aws::String m_identifier;
143 bool m_identifierHasBeenSet = false;
144
145 Aws::String m_name;
146 bool m_nameHasBeenSet = false;
147
148 Aws::Vector<EnvironmentParameter> m_userParameters;
149 bool m_userParametersHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace DataZone
154} // 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