AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
Blueprint.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/BlueprintStatus.h>
11#include <aws/glue/model/LastActiveDefinition.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue {
23namespace Model {
24
30class Blueprint {
31 public:
32 AWS_GLUE_API Blueprint() = default;
33 AWS_GLUE_API Blueprint(Aws::Utils::Json::JsonView jsonValue);
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
49 Blueprint& WithName(NameT&& value) {
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDescription() const { return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 template <typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) {
63 m_descriptionHasBeenSet = true;
64 m_description = std::forward<DescriptionT>(value);
65 }
66 template <typename DescriptionT = Aws::String>
67 Blueprint& WithDescription(DescriptionT&& value) {
68 SetDescription(std::forward<DescriptionT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Utils::DateTime& GetCreatedOn() const { return m_createdOn; }
78 inline bool CreatedOnHasBeenSet() const { return m_createdOnHasBeenSet; }
79 template <typename CreatedOnT = Aws::Utils::DateTime>
80 void SetCreatedOn(CreatedOnT&& value) {
81 m_createdOnHasBeenSet = true;
82 m_createdOn = std::forward<CreatedOnT>(value);
83 }
84 template <typename CreatedOnT = Aws::Utils::DateTime>
85 Blueprint& WithCreatedOn(CreatedOnT&& value) {
86 SetCreatedOn(std::forward<CreatedOnT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::Utils::DateTime& GetLastModifiedOn() const { return m_lastModifiedOn; }
96 inline bool LastModifiedOnHasBeenSet() const { return m_lastModifiedOnHasBeenSet; }
97 template <typename LastModifiedOnT = Aws::Utils::DateTime>
98 void SetLastModifiedOn(LastModifiedOnT&& value) {
99 m_lastModifiedOnHasBeenSet = true;
100 m_lastModifiedOn = std::forward<LastModifiedOnT>(value);
101 }
102 template <typename LastModifiedOnT = Aws::Utils::DateTime>
103 Blueprint& WithLastModifiedOn(LastModifiedOnT&& value) {
104 SetLastModifiedOn(std::forward<LastModifiedOnT>(value));
105 return *this;
106 }
108
110
114 inline const Aws::String& GetParameterSpec() const { return m_parameterSpec; }
115 inline bool ParameterSpecHasBeenSet() const { return m_parameterSpecHasBeenSet; }
116 template <typename ParameterSpecT = Aws::String>
117 void SetParameterSpec(ParameterSpecT&& value) {
118 m_parameterSpecHasBeenSet = true;
119 m_parameterSpec = std::forward<ParameterSpecT>(value);
120 }
121 template <typename ParameterSpecT = Aws::String>
122 Blueprint& WithParameterSpec(ParameterSpecT&& value) {
123 SetParameterSpec(std::forward<ParameterSpecT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::String& GetBlueprintLocation() const { return m_blueprintLocation; }
133 inline bool BlueprintLocationHasBeenSet() const { return m_blueprintLocationHasBeenSet; }
134 template <typename BlueprintLocationT = Aws::String>
135 void SetBlueprintLocation(BlueprintLocationT&& value) {
136 m_blueprintLocationHasBeenSet = true;
137 m_blueprintLocation = std::forward<BlueprintLocationT>(value);
138 }
139 template <typename BlueprintLocationT = Aws::String>
140 Blueprint& WithBlueprintLocation(BlueprintLocationT&& value) {
141 SetBlueprintLocation(std::forward<BlueprintLocationT>(value));
142 return *this;
143 }
145
147
152 inline const Aws::String& GetBlueprintServiceLocation() const { return m_blueprintServiceLocation; }
153 inline bool BlueprintServiceLocationHasBeenSet() const { return m_blueprintServiceLocationHasBeenSet; }
154 template <typename BlueprintServiceLocationT = Aws::String>
155 void SetBlueprintServiceLocation(BlueprintServiceLocationT&& value) {
156 m_blueprintServiceLocationHasBeenSet = true;
157 m_blueprintServiceLocation = std::forward<BlueprintServiceLocationT>(value);
158 }
159 template <typename BlueprintServiceLocationT = Aws::String>
160 Blueprint& WithBlueprintServiceLocation(BlueprintServiceLocationT&& value) {
161 SetBlueprintServiceLocation(std::forward<BlueprintServiceLocationT>(value));
162 return *this;
163 }
165
167
174 inline BlueprintStatus GetStatus() const { return m_status; }
175 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
176 inline void SetStatus(BlueprintStatus value) {
177 m_statusHasBeenSet = true;
178 m_status = value;
179 }
181 SetStatus(value);
182 return *this;
183 }
185
187
190 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
191 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
192 template <typename ErrorMessageT = Aws::String>
193 void SetErrorMessage(ErrorMessageT&& value) {
194 m_errorMessageHasBeenSet = true;
195 m_errorMessage = std::forward<ErrorMessageT>(value);
196 }
197 template <typename ErrorMessageT = Aws::String>
198 Blueprint& WithErrorMessage(ErrorMessageT&& value) {
199 SetErrorMessage(std::forward<ErrorMessageT>(value));
200 return *this;
201 }
203
205
210 inline const LastActiveDefinition& GetLastActiveDefinition() const { return m_lastActiveDefinition; }
211 inline bool LastActiveDefinitionHasBeenSet() const { return m_lastActiveDefinitionHasBeenSet; }
212 template <typename LastActiveDefinitionT = LastActiveDefinition>
213 void SetLastActiveDefinition(LastActiveDefinitionT&& value) {
214 m_lastActiveDefinitionHasBeenSet = true;
215 m_lastActiveDefinition = std::forward<LastActiveDefinitionT>(value);
216 }
217 template <typename LastActiveDefinitionT = LastActiveDefinition>
218 Blueprint& WithLastActiveDefinition(LastActiveDefinitionT&& value) {
219 SetLastActiveDefinition(std::forward<LastActiveDefinitionT>(value));
220 return *this;
221 }
223 private:
224 Aws::String m_name;
225
226 Aws::String m_description;
227
228 Aws::Utils::DateTime m_createdOn{};
229
230 Aws::Utils::DateTime m_lastModifiedOn{};
231
232 Aws::String m_parameterSpec;
233
234 Aws::String m_blueprintLocation;
235
236 Aws::String m_blueprintServiceLocation;
237
239
240 Aws::String m_errorMessage;
241
242 LastActiveDefinition m_lastActiveDefinition;
243 bool m_nameHasBeenSet = false;
244 bool m_descriptionHasBeenSet = false;
245 bool m_createdOnHasBeenSet = false;
246 bool m_lastModifiedOnHasBeenSet = false;
247 bool m_parameterSpecHasBeenSet = false;
248 bool m_blueprintLocationHasBeenSet = false;
249 bool m_blueprintServiceLocationHasBeenSet = false;
250 bool m_statusHasBeenSet = false;
251 bool m_errorMessageHasBeenSet = false;
252 bool m_lastActiveDefinitionHasBeenSet = false;
253};
254
255} // namespace Model
256} // namespace Glue
257} // namespace Aws
const Aws::String & GetBlueprintLocation() const
Definition Blueprint.h:132
Blueprint & WithName(NameT &&value)
Definition Blueprint.h:49
BlueprintStatus GetStatus() const
Definition Blueprint.h:174
Blueprint & WithStatus(BlueprintStatus value)
Definition Blueprint.h:180
const Aws::Utils::DateTime & GetLastModifiedOn() const
Definition Blueprint.h:95
Blueprint & WithBlueprintLocation(BlueprintLocationT &&value)
Definition Blueprint.h:140
AWS_GLUE_API Blueprint(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Blueprint()=default
void SetLastModifiedOn(LastModifiedOnT &&value)
Definition Blueprint.h:98
bool DescriptionHasBeenSet() const
Definition Blueprint.h:60
Blueprint & WithCreatedOn(CreatedOnT &&value)
Definition Blueprint.h:85
bool ParameterSpecHasBeenSet() const
Definition Blueprint.h:115
const Aws::String & GetErrorMessage() const
Definition Blueprint.h:190
Blueprint & WithDescription(DescriptionT &&value)
Definition Blueprint.h:67
bool BlueprintLocationHasBeenSet() const
Definition Blueprint.h:133
const Aws::String & GetBlueprintServiceLocation() const
Definition Blueprint.h:152
void SetParameterSpec(ParameterSpecT &&value)
Definition Blueprint.h:117
Blueprint & WithParameterSpec(ParameterSpecT &&value)
Definition Blueprint.h:122
void SetCreatedOn(CreatedOnT &&value)
Definition Blueprint.h:80
Blueprint & WithLastModifiedOn(LastModifiedOnT &&value)
Definition Blueprint.h:103
void SetStatus(BlueprintStatus value)
Definition Blueprint.h:176
const Aws::String & GetParameterSpec() const
Definition Blueprint.h:114
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
Definition Blueprint.h:41
bool ErrorMessageHasBeenSet() const
Definition Blueprint.h:191
bool LastActiveDefinitionHasBeenSet() const
Definition Blueprint.h:211
bool CreatedOnHasBeenSet() const
Definition Blueprint.h:78
void SetLastActiveDefinition(LastActiveDefinitionT &&value)
Definition Blueprint.h:213
void SetDescription(DescriptionT &&value)
Definition Blueprint.h:62
Blueprint & WithBlueprintServiceLocation(BlueprintServiceLocationT &&value)
Definition Blueprint.h:160
Blueprint & WithLastActiveDefinition(LastActiveDefinitionT &&value)
Definition Blueprint.h:218
const Aws::Utils::DateTime & GetCreatedOn() const
Definition Blueprint.h:77
bool NameHasBeenSet() const
Definition Blueprint.h:42
bool LastModifiedOnHasBeenSet() const
Definition Blueprint.h:96
bool BlueprintServiceLocationHasBeenSet() const
Definition Blueprint.h:153
AWS_GLUE_API Blueprint & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
Definition Blueprint.h:44
Blueprint & WithErrorMessage(ErrorMessageT &&value)
Definition Blueprint.h:198
const LastActiveDefinition & GetLastActiveDefinition() const
Definition Blueprint.h:210
void SetBlueprintServiceLocation(BlueprintServiceLocationT &&value)
Definition Blueprint.h:155
const Aws::String & GetDescription() const
Definition Blueprint.h:59
void SetBlueprintLocation(BlueprintLocationT &&value)
Definition Blueprint.h:135
bool StatusHasBeenSet() const
Definition Blueprint.h:175
void SetErrorMessage(ErrorMessageT &&value)
Definition Blueprint.h:193
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue