AWS SDK for C++

AWS SDK for C++ Version 1.11.903

Loading...
Searching...
No Matches
CreateEnvironmentBlueprintRequest.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 CreateEnvironmentBlueprintRequest() = 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 "CreateEnvironmentBlueprint"; }
32
33 AWS_DATAZONE_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
40 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
41 template <typename DomainIdentifierT = Aws::String>
42 void SetDomainIdentifier(DomainIdentifierT&& value) {
43 m_domainIdentifierHasBeenSet = true;
44 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
45 }
46 template <typename DomainIdentifierT = Aws::String>
48 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template <typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) {
79 m_descriptionHasBeenSet = true;
80 m_description = std::forward<DescriptionT>(value);
81 }
82 template <typename DescriptionT = Aws::String>
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88
90
93 inline const ProvisioningProperties& GetProvisioningProperties() const { return m_provisioningProperties; }
94 inline bool ProvisioningPropertiesHasBeenSet() const { return m_provisioningPropertiesHasBeenSet; }
95 template <typename ProvisioningPropertiesT = ProvisioningProperties>
96 void SetProvisioningProperties(ProvisioningPropertiesT&& value) {
97 m_provisioningPropertiesHasBeenSet = true;
98 m_provisioningProperties = std::forward<ProvisioningPropertiesT>(value);
99 }
100 template <typename ProvisioningPropertiesT = ProvisioningProperties>
102 SetProvisioningProperties(std::forward<ProvisioningPropertiesT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Vector<CustomParameter>& GetUserParameters() const { return m_userParameters; }
112 inline bool UserParametersHasBeenSet() const { return m_userParametersHasBeenSet; }
113 template <typename UserParametersT = Aws::Vector<CustomParameter>>
114 void SetUserParameters(UserParametersT&& value) {
115 m_userParametersHasBeenSet = true;
116 m_userParameters = std::forward<UserParametersT>(value);
117 }
118 template <typename UserParametersT = Aws::Vector<CustomParameter>>
120 SetUserParameters(std::forward<UserParametersT>(value));
121 return *this;
122 }
123 template <typename UserParametersT = CustomParameter>
125 m_userParametersHasBeenSet = true;
126 m_userParameters.emplace_back(std::forward<UserParametersT>(value));
127 return *this;
128 }
130
132
137 inline BlueprintCategory GetBlueprintCategory() const { return m_blueprintCategory; }
138 inline bool BlueprintCategoryHasBeenSet() const { return m_blueprintCategoryHasBeenSet; }
140 m_blueprintCategoryHasBeenSet = true;
141 m_blueprintCategory = value;
142 }
145 return *this;
146 }
148 private:
149 Aws::String m_domainIdentifier;
150
151 Aws::String m_name;
152
153 Aws::String m_description;
154
155 ProvisioningProperties m_provisioningProperties;
156
157 Aws::Vector<CustomParameter> m_userParameters;
158
160 bool m_domainIdentifierHasBeenSet = false;
161 bool m_nameHasBeenSet = false;
162 bool m_descriptionHasBeenSet = false;
163 bool m_provisioningPropertiesHasBeenSet = false;
164 bool m_userParametersHasBeenSet = false;
165 bool m_blueprintCategoryHasBeenSet = false;
166};
167
168} // namespace Model
169} // namespace DataZone
170} // namespace Aws
CreateEnvironmentBlueprintRequest & WithUserParameters(UserParametersT &&value)
CreateEnvironmentBlueprintRequest & WithProvisioningProperties(ProvisioningPropertiesT &&value)
CreateEnvironmentBlueprintRequest & WithBlueprintCategory(BlueprintCategory value)
CreateEnvironmentBlueprintRequest & WithDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API CreateEnvironmentBlueprintRequest()=default
CreateEnvironmentBlueprintRequest & WithDescription(DescriptionT &&value)
CreateEnvironmentBlueprintRequest & AddUserParameters(UserParametersT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
CreateEnvironmentBlueprintRequest & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector