AWS SDK for C++

AWS SDK for C++ Version 1.11.904

Loading...
Searching...
No Matches
UpdateEnvironmentBlueprintRequest.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/BlueprintCategory.h>
12#include <aws/datazone/model/CustomParameter.h>
13#include <aws/datazone/model/ProvisioningProperties.h>
14
15#include <utility>
16
17namespace Aws {
18namespace DataZone {
19namespace Model {
20
24 public:
25 AWS_DATAZONE_API UpdateEnvironmentBlueprintRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateEnvironmentBlueprint"; }
32
33 AWS_DATAZONE_API Aws::String SerializePayload() const override;
34
36
40 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
41 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
42 template <typename DomainIdentifierT = Aws::String>
43 void SetDomainIdentifier(DomainIdentifierT&& value) {
44 m_domainIdentifierHasBeenSet = true;
45 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
46 }
47 template <typename DomainIdentifierT = Aws::String>
49 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetIdentifier() const { return m_identifier; }
59 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
60 template <typename IdentifierT = Aws::String>
61 void SetIdentifier(IdentifierT&& value) {
62 m_identifierHasBeenSet = true;
63 m_identifier = std::forward<IdentifierT>(value);
64 }
65 template <typename IdentifierT = Aws::String>
67 SetIdentifier(std::forward<IdentifierT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetDescription() const { return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 template <typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) {
81 m_descriptionHasBeenSet = true;
82 m_description = std::forward<DescriptionT>(value);
83 }
84 template <typename DescriptionT = Aws::String>
86 SetDescription(std::forward<DescriptionT>(value));
87 return *this;
88 }
90
92
96 inline const ProvisioningProperties& GetProvisioningProperties() const { return m_provisioningProperties; }
97 inline bool ProvisioningPropertiesHasBeenSet() const { return m_provisioningPropertiesHasBeenSet; }
98 template <typename ProvisioningPropertiesT = ProvisioningProperties>
99 void SetProvisioningProperties(ProvisioningPropertiesT&& value) {
100 m_provisioningPropertiesHasBeenSet = true;
101 m_provisioningProperties = std::forward<ProvisioningPropertiesT>(value);
102 }
103 template <typename ProvisioningPropertiesT = ProvisioningProperties>
105 SetProvisioningProperties(std::forward<ProvisioningPropertiesT>(value));
106 return *this;
107 }
109
111
115 inline const Aws::Vector<CustomParameter>& GetUserParameters() const { return m_userParameters; }
116 inline bool UserParametersHasBeenSet() const { return m_userParametersHasBeenSet; }
117 template <typename UserParametersT = Aws::Vector<CustomParameter>>
118 void SetUserParameters(UserParametersT&& value) {
119 m_userParametersHasBeenSet = true;
120 m_userParameters = std::forward<UserParametersT>(value);
121 }
122 template <typename UserParametersT = Aws::Vector<CustomParameter>>
124 SetUserParameters(std::forward<UserParametersT>(value));
125 return *this;
126 }
127 template <typename UserParametersT = CustomParameter>
129 m_userParametersHasBeenSet = true;
130 m_userParameters.emplace_back(std::forward<UserParametersT>(value));
131 return *this;
132 }
134
136
139 inline BlueprintCategory GetBlueprintCategory() const { return m_blueprintCategory; }
140 inline bool BlueprintCategoryHasBeenSet() const { return m_blueprintCategoryHasBeenSet; }
142 m_blueprintCategoryHasBeenSet = true;
143 m_blueprintCategory = value;
144 }
147 return *this;
148 }
150 private:
151 Aws::String m_domainIdentifier;
152
153 Aws::String m_identifier;
154
155 Aws::String m_description;
156
157 ProvisioningProperties m_provisioningProperties;
158
159 Aws::Vector<CustomParameter> m_userParameters;
160
162 bool m_domainIdentifierHasBeenSet = false;
163 bool m_identifierHasBeenSet = false;
164 bool m_descriptionHasBeenSet = false;
165 bool m_provisioningPropertiesHasBeenSet = false;
166 bool m_userParametersHasBeenSet = false;
167 bool m_blueprintCategoryHasBeenSet = false;
168};
169
170} // namespace Model
171} // namespace DataZone
172} // namespace Aws
UpdateEnvironmentBlueprintRequest & WithBlueprintCategory(BlueprintCategory value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateEnvironmentBlueprintRequest & WithUserParameters(UserParametersT &&value)
UpdateEnvironmentBlueprintRequest & WithProvisioningProperties(ProvisioningPropertiesT &&value)
UpdateEnvironmentBlueprintRequest & AddUserParameters(UserParametersT &&value)
AWS_DATAZONE_API UpdateEnvironmentBlueprintRequest()=default
UpdateEnvironmentBlueprintRequest & WithDomainIdentifier(DomainIdentifierT &&value)
UpdateEnvironmentBlueprintRequest & WithIdentifier(IdentifierT &&value)
UpdateEnvironmentBlueprintRequest & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector