AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Blueprint.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/glue/model/BlueprintStatus.h>
11#include <aws/glue/model/LastActiveDefinition.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Glue
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_GLUE_API Blueprint() = default;
38 AWS_GLUE_API Blueprint(Aws::Utils::Json::JsonView jsonValue);
41
42
44
47 inline const Aws::String& GetName() const { return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 Blueprint& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
63 template<typename DescriptionT = Aws::String>
64 Blueprint& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetCreatedOn() const { return m_createdOn; }
72 inline bool CreatedOnHasBeenSet() const { return m_createdOnHasBeenSet; }
73 template<typename CreatedOnT = Aws::Utils::DateTime>
74 void SetCreatedOn(CreatedOnT&& value) { m_createdOnHasBeenSet = true; m_createdOn = std::forward<CreatedOnT>(value); }
75 template<typename CreatedOnT = Aws::Utils::DateTime>
76 Blueprint& WithCreatedOn(CreatedOnT&& value) { SetCreatedOn(std::forward<CreatedOnT>(value)); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetLastModifiedOn() const { return m_lastModifiedOn; }
84 inline bool LastModifiedOnHasBeenSet() const { return m_lastModifiedOnHasBeenSet; }
85 template<typename LastModifiedOnT = Aws::Utils::DateTime>
86 void SetLastModifiedOn(LastModifiedOnT&& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = std::forward<LastModifiedOnT>(value); }
87 template<typename LastModifiedOnT = Aws::Utils::DateTime>
88 Blueprint& WithLastModifiedOn(LastModifiedOnT&& value) { SetLastModifiedOn(std::forward<LastModifiedOnT>(value)); return *this;}
90
92
96 inline const Aws::String& GetParameterSpec() const { return m_parameterSpec; }
97 inline bool ParameterSpecHasBeenSet() const { return m_parameterSpecHasBeenSet; }
98 template<typename ParameterSpecT = Aws::String>
99 void SetParameterSpec(ParameterSpecT&& value) { m_parameterSpecHasBeenSet = true; m_parameterSpec = std::forward<ParameterSpecT>(value); }
100 template<typename ParameterSpecT = Aws::String>
101 Blueprint& WithParameterSpec(ParameterSpecT&& value) { SetParameterSpec(std::forward<ParameterSpecT>(value)); return *this;}
103
105
108 inline const Aws::String& GetBlueprintLocation() const { return m_blueprintLocation; }
109 inline bool BlueprintLocationHasBeenSet() const { return m_blueprintLocationHasBeenSet; }
110 template<typename BlueprintLocationT = Aws::String>
111 void SetBlueprintLocation(BlueprintLocationT&& value) { m_blueprintLocationHasBeenSet = true; m_blueprintLocation = std::forward<BlueprintLocationT>(value); }
112 template<typename BlueprintLocationT = Aws::String>
113 Blueprint& WithBlueprintLocation(BlueprintLocationT&& value) { SetBlueprintLocation(std::forward<BlueprintLocationT>(value)); return *this;}
115
117
122 inline const Aws::String& GetBlueprintServiceLocation() const { return m_blueprintServiceLocation; }
123 inline bool BlueprintServiceLocationHasBeenSet() const { return m_blueprintServiceLocationHasBeenSet; }
124 template<typename BlueprintServiceLocationT = Aws::String>
125 void SetBlueprintServiceLocation(BlueprintServiceLocationT&& value) { m_blueprintServiceLocationHasBeenSet = true; m_blueprintServiceLocation = std::forward<BlueprintServiceLocationT>(value); }
126 template<typename BlueprintServiceLocationT = Aws::String>
127 Blueprint& WithBlueprintServiceLocation(BlueprintServiceLocationT&& value) { SetBlueprintServiceLocation(std::forward<BlueprintServiceLocationT>(value)); return *this;}
129
131
138 inline BlueprintStatus GetStatus() const { return m_status; }
139 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
140 inline void SetStatus(BlueprintStatus value) { m_statusHasBeenSet = true; m_status = value; }
141 inline Blueprint& WithStatus(BlueprintStatus value) { SetStatus(value); return *this;}
143
145
148 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
149 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
150 template<typename ErrorMessageT = Aws::String>
151 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
152 template<typename ErrorMessageT = Aws::String>
153 Blueprint& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
155
157
162 inline const LastActiveDefinition& GetLastActiveDefinition() const { return m_lastActiveDefinition; }
163 inline bool LastActiveDefinitionHasBeenSet() const { return m_lastActiveDefinitionHasBeenSet; }
164 template<typename LastActiveDefinitionT = LastActiveDefinition>
165 void SetLastActiveDefinition(LastActiveDefinitionT&& value) { m_lastActiveDefinitionHasBeenSet = true; m_lastActiveDefinition = std::forward<LastActiveDefinitionT>(value); }
166 template<typename LastActiveDefinitionT = LastActiveDefinition>
167 Blueprint& WithLastActiveDefinition(LastActiveDefinitionT&& value) { SetLastActiveDefinition(std::forward<LastActiveDefinitionT>(value)); return *this;}
169 private:
170
171 Aws::String m_name;
172 bool m_nameHasBeenSet = false;
173
174 Aws::String m_description;
175 bool m_descriptionHasBeenSet = false;
176
177 Aws::Utils::DateTime m_createdOn{};
178 bool m_createdOnHasBeenSet = false;
179
180 Aws::Utils::DateTime m_lastModifiedOn{};
181 bool m_lastModifiedOnHasBeenSet = false;
182
183 Aws::String m_parameterSpec;
184 bool m_parameterSpecHasBeenSet = false;
185
186 Aws::String m_blueprintLocation;
187 bool m_blueprintLocationHasBeenSet = false;
188
189 Aws::String m_blueprintServiceLocation;
190 bool m_blueprintServiceLocationHasBeenSet = false;
191
193 bool m_statusHasBeenSet = false;
194
195 Aws::String m_errorMessage;
196 bool m_errorMessageHasBeenSet = false;
197
198 LastActiveDefinition m_lastActiveDefinition;
199 bool m_lastActiveDefinitionHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace Glue
204} // namespace Aws
const Aws::String & GetBlueprintLocation() const
Definition Blueprint.h:108
Blueprint & WithName(NameT &&value)
Definition Blueprint.h:52
BlueprintStatus GetStatus() const
Definition Blueprint.h:138
Blueprint & WithStatus(BlueprintStatus value)
Definition Blueprint.h:141
const Aws::Utils::DateTime & GetLastModifiedOn() const
Definition Blueprint.h:83
Blueprint & WithBlueprintLocation(BlueprintLocationT &&value)
Definition Blueprint.h:113
AWS_GLUE_API Blueprint(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Blueprint()=default
void SetLastModifiedOn(LastModifiedOnT &&value)
Definition Blueprint.h:86
bool DescriptionHasBeenSet() const
Definition Blueprint.h:60
Blueprint & WithCreatedOn(CreatedOnT &&value)
Definition Blueprint.h:76
bool ParameterSpecHasBeenSet() const
Definition Blueprint.h:97
const Aws::String & GetErrorMessage() const
Definition Blueprint.h:148
Blueprint & WithDescription(DescriptionT &&value)
Definition Blueprint.h:64
bool BlueprintLocationHasBeenSet() const
Definition Blueprint.h:109
const Aws::String & GetBlueprintServiceLocation() const
Definition Blueprint.h:122
void SetParameterSpec(ParameterSpecT &&value)
Definition Blueprint.h:99
Blueprint & WithParameterSpec(ParameterSpecT &&value)
Definition Blueprint.h:101
void SetCreatedOn(CreatedOnT &&value)
Definition Blueprint.h:74
Blueprint & WithLastModifiedOn(LastModifiedOnT &&value)
Definition Blueprint.h:88
void SetStatus(BlueprintStatus value)
Definition Blueprint.h:140
const Aws::String & GetParameterSpec() const
Definition Blueprint.h:96
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
Definition Blueprint.h:47
bool ErrorMessageHasBeenSet() const
Definition Blueprint.h:149
bool LastActiveDefinitionHasBeenSet() const
Definition Blueprint.h:163
bool CreatedOnHasBeenSet() const
Definition Blueprint.h:72
void SetLastActiveDefinition(LastActiveDefinitionT &&value)
Definition Blueprint.h:165
void SetDescription(DescriptionT &&value)
Definition Blueprint.h:62
Blueprint & WithBlueprintServiceLocation(BlueprintServiceLocationT &&value)
Definition Blueprint.h:127
Blueprint & WithLastActiveDefinition(LastActiveDefinitionT &&value)
Definition Blueprint.h:167
const Aws::Utils::DateTime & GetCreatedOn() const
Definition Blueprint.h:71
bool NameHasBeenSet() const
Definition Blueprint.h:48
bool LastModifiedOnHasBeenSet() const
Definition Blueprint.h:84
bool BlueprintServiceLocationHasBeenSet() const
Definition Blueprint.h:123
AWS_GLUE_API Blueprint & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
Definition Blueprint.h:50
Blueprint & WithErrorMessage(ErrorMessageT &&value)
Definition Blueprint.h:153
const LastActiveDefinition & GetLastActiveDefinition() const
Definition Blueprint.h:162
void SetBlueprintServiceLocation(BlueprintServiceLocationT &&value)
Definition Blueprint.h:125
const Aws::String & GetDescription() const
Definition Blueprint.h:59
void SetBlueprintLocation(BlueprintLocationT &&value)
Definition Blueprint.h:111
bool StatusHasBeenSet() const
Definition Blueprint.h:139
void SetErrorMessage(ErrorMessageT &&value)
Definition Blueprint.h:151
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue