AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline Blueprint& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline Blueprint& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline Blueprint& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::String& GetDescription() const{ return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
64 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
65 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
66 inline Blueprint& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 inline Blueprint& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
68 inline Blueprint& WithDescription(const char* value) { SetDescription(value); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetCreatedOn() const{ return m_createdOn; }
76 inline bool CreatedOnHasBeenSet() const { return m_createdOnHasBeenSet; }
77 inline void SetCreatedOn(const Aws::Utils::DateTime& value) { m_createdOnHasBeenSet = true; m_createdOn = value; }
78 inline void SetCreatedOn(Aws::Utils::DateTime&& value) { m_createdOnHasBeenSet = true; m_createdOn = std::move(value); }
79 inline Blueprint& WithCreatedOn(const Aws::Utils::DateTime& value) { SetCreatedOn(value); return *this;}
80 inline Blueprint& WithCreatedOn(Aws::Utils::DateTime&& value) { SetCreatedOn(std::move(value)); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetLastModifiedOn() const{ return m_lastModifiedOn; }
88 inline bool LastModifiedOnHasBeenSet() const { return m_lastModifiedOnHasBeenSet; }
89 inline void SetLastModifiedOn(const Aws::Utils::DateTime& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = value; }
90 inline void SetLastModifiedOn(Aws::Utils::DateTime&& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = std::move(value); }
91 inline Blueprint& WithLastModifiedOn(const Aws::Utils::DateTime& value) { SetLastModifiedOn(value); return *this;}
92 inline Blueprint& WithLastModifiedOn(Aws::Utils::DateTime&& value) { SetLastModifiedOn(std::move(value)); return *this;}
94
96
100 inline const Aws::String& GetParameterSpec() const{ return m_parameterSpec; }
101 inline bool ParameterSpecHasBeenSet() const { return m_parameterSpecHasBeenSet; }
102 inline void SetParameterSpec(const Aws::String& value) { m_parameterSpecHasBeenSet = true; m_parameterSpec = value; }
103 inline void SetParameterSpec(Aws::String&& value) { m_parameterSpecHasBeenSet = true; m_parameterSpec = std::move(value); }
104 inline void SetParameterSpec(const char* value) { m_parameterSpecHasBeenSet = true; m_parameterSpec.assign(value); }
105 inline Blueprint& WithParameterSpec(const Aws::String& value) { SetParameterSpec(value); return *this;}
106 inline Blueprint& WithParameterSpec(Aws::String&& value) { SetParameterSpec(std::move(value)); return *this;}
107 inline Blueprint& WithParameterSpec(const char* value) { SetParameterSpec(value); return *this;}
109
111
114 inline const Aws::String& GetBlueprintLocation() const{ return m_blueprintLocation; }
115 inline bool BlueprintLocationHasBeenSet() const { return m_blueprintLocationHasBeenSet; }
116 inline void SetBlueprintLocation(const Aws::String& value) { m_blueprintLocationHasBeenSet = true; m_blueprintLocation = value; }
117 inline void SetBlueprintLocation(Aws::String&& value) { m_blueprintLocationHasBeenSet = true; m_blueprintLocation = std::move(value); }
118 inline void SetBlueprintLocation(const char* value) { m_blueprintLocationHasBeenSet = true; m_blueprintLocation.assign(value); }
119 inline Blueprint& WithBlueprintLocation(const Aws::String& value) { SetBlueprintLocation(value); return *this;}
120 inline Blueprint& WithBlueprintLocation(Aws::String&& value) { SetBlueprintLocation(std::move(value)); return *this;}
121 inline Blueprint& WithBlueprintLocation(const char* value) { SetBlueprintLocation(value); return *this;}
123
125
130 inline const Aws::String& GetBlueprintServiceLocation() const{ return m_blueprintServiceLocation; }
131 inline bool BlueprintServiceLocationHasBeenSet() const { return m_blueprintServiceLocationHasBeenSet; }
132 inline void SetBlueprintServiceLocation(const Aws::String& value) { m_blueprintServiceLocationHasBeenSet = true; m_blueprintServiceLocation = value; }
133 inline void SetBlueprintServiceLocation(Aws::String&& value) { m_blueprintServiceLocationHasBeenSet = true; m_blueprintServiceLocation = std::move(value); }
134 inline void SetBlueprintServiceLocation(const char* value) { m_blueprintServiceLocationHasBeenSet = true; m_blueprintServiceLocation.assign(value); }
136 inline Blueprint& WithBlueprintServiceLocation(Aws::String&& value) { SetBlueprintServiceLocation(std::move(value)); return *this;}
137 inline Blueprint& WithBlueprintServiceLocation(const char* value) { SetBlueprintServiceLocation(value); return *this;}
139
141
148 inline const BlueprintStatus& GetStatus() const{ return m_status; }
149 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
150 inline void SetStatus(const BlueprintStatus& value) { m_statusHasBeenSet = true; m_status = value; }
151 inline void SetStatus(BlueprintStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
152 inline Blueprint& WithStatus(const BlueprintStatus& value) { SetStatus(value); return *this;}
153 inline Blueprint& WithStatus(BlueprintStatus&& value) { SetStatus(std::move(value)); return *this;}
155
157
160 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
161 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
162 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
163 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
164 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
165 inline Blueprint& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
166 inline Blueprint& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
167 inline Blueprint& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
169
171
176 inline const LastActiveDefinition& GetLastActiveDefinition() const{ return m_lastActiveDefinition; }
177 inline bool LastActiveDefinitionHasBeenSet() const { return m_lastActiveDefinitionHasBeenSet; }
178 inline void SetLastActiveDefinition(const LastActiveDefinition& value) { m_lastActiveDefinitionHasBeenSet = true; m_lastActiveDefinition = value; }
179 inline void SetLastActiveDefinition(LastActiveDefinition&& value) { m_lastActiveDefinitionHasBeenSet = true; m_lastActiveDefinition = std::move(value); }
181 inline Blueprint& WithLastActiveDefinition(LastActiveDefinition&& value) { SetLastActiveDefinition(std::move(value)); return *this;}
183 private:
184
185 Aws::String m_name;
186 bool m_nameHasBeenSet = false;
187
188 Aws::String m_description;
189 bool m_descriptionHasBeenSet = false;
190
191 Aws::Utils::DateTime m_createdOn;
192 bool m_createdOnHasBeenSet = false;
193
194 Aws::Utils::DateTime m_lastModifiedOn;
195 bool m_lastModifiedOnHasBeenSet = false;
196
197 Aws::String m_parameterSpec;
198 bool m_parameterSpecHasBeenSet = false;
199
200 Aws::String m_blueprintLocation;
201 bool m_blueprintLocationHasBeenSet = false;
202
203 Aws::String m_blueprintServiceLocation;
204 bool m_blueprintServiceLocationHasBeenSet = false;
205
206 BlueprintStatus m_status;
207 bool m_statusHasBeenSet = false;
208
209 Aws::String m_errorMessage;
210 bool m_errorMessageHasBeenSet = false;
211
212 LastActiveDefinition m_lastActiveDefinition;
213 bool m_lastActiveDefinitionHasBeenSet = false;
214 };
215
216} // namespace Model
217} // namespace Glue
218} // namespace Aws
const Aws::String & GetBlueprintLocation() const
Definition Blueprint.h:114
Blueprint & WithBlueprintLocation(const Aws::String &value)
Definition Blueprint.h:119
Blueprint & WithErrorMessage(const char *value)
Definition Blueprint.h:167
void SetLastModifiedOn(const Aws::Utils::DateTime &value)
Definition Blueprint.h:89
void SetLastActiveDefinition(const LastActiveDefinition &value)
Definition Blueprint.h:178
Blueprint & WithBlueprintServiceLocation(const Aws::String &value)
Definition Blueprint.h:135
const Aws::Utils::DateTime & GetLastModifiedOn() const
Definition Blueprint.h:87
void SetDescription(const char *value)
Definition Blueprint.h:65
Blueprint & WithLastModifiedOn(const Aws::Utils::DateTime &value)
Definition Blueprint.h:91
AWS_GLUE_API Blueprint(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedOn(const Aws::Utils::DateTime &value)
Definition Blueprint.h:77
bool DescriptionHasBeenSet() const
Definition Blueprint.h:62
Blueprint & WithBlueprintLocation(const char *value)
Definition Blueprint.h:121
Blueprint & WithBlueprintServiceLocation(Aws::String &&value)
Definition Blueprint.h:136
void SetBlueprintServiceLocation(const Aws::String &value)
Definition Blueprint.h:132
bool ParameterSpecHasBeenSet() const
Definition Blueprint.h:101
const Aws::String & GetErrorMessage() const
Definition Blueprint.h:160
bool BlueprintLocationHasBeenSet() const
Definition Blueprint.h:115
void SetBlueprintLocation(const Aws::String &value)
Definition Blueprint.h:116
const Aws::String & GetBlueprintServiceLocation() const
Definition Blueprint.h:130
Blueprint & WithDescription(const Aws::String &value)
Definition Blueprint.h:66
Blueprint & WithErrorMessage(Aws::String &&value)
Definition Blueprint.h:166
void SetBlueprintServiceLocation(Aws::String &&value)
Definition Blueprint.h:133
Blueprint & WithName(Aws::String &&value)
Definition Blueprint.h:53
void SetBlueprintServiceLocation(const char *value)
Definition Blueprint.h:134
void SetLastModifiedOn(Aws::Utils::DateTime &&value)
Definition Blueprint.h:90
Blueprint & WithStatus(const BlueprintStatus &value)
Definition Blueprint.h:152
void SetErrorMessage(const char *value)
Definition Blueprint.h:164
void SetLastActiveDefinition(LastActiveDefinition &&value)
Definition Blueprint.h:179
Blueprint & WithDescription(Aws::String &&value)
Definition Blueprint.h:67
void SetBlueprintLocation(const char *value)
Definition Blueprint.h:118
void SetParameterSpec(const char *value)
Definition Blueprint.h:104
const Aws::String & GetParameterSpec() const
Definition Blueprint.h:100
void SetErrorMessage(Aws::String &&value)
Definition Blueprint.h:163
Blueprint & WithBlueprintLocation(Aws::String &&value)
Definition Blueprint.h:120
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const char *value)
Definition Blueprint.h:51
const Aws::String & GetName() const
Definition Blueprint.h:47
void SetName(const Aws::String &value)
Definition Blueprint.h:49
void SetStatus(const BlueprintStatus &value)
Definition Blueprint.h:150
const BlueprintStatus & GetStatus() const
Definition Blueprint.h:148
bool ErrorMessageHasBeenSet() const
Definition Blueprint.h:161
Blueprint & WithName(const char *value)
Definition Blueprint.h:54
Blueprint & WithParameterSpec(const char *value)
Definition Blueprint.h:107
bool LastActiveDefinitionHasBeenSet() const
Definition Blueprint.h:177
bool CreatedOnHasBeenSet() const
Definition Blueprint.h:76
void SetErrorMessage(const Aws::String &value)
Definition Blueprint.h:162
Blueprint & WithCreatedOn(const Aws::Utils::DateTime &value)
Definition Blueprint.h:79
void SetCreatedOn(Aws::Utils::DateTime &&value)
Definition Blueprint.h:78
Blueprint & WithStatus(BlueprintStatus &&value)
Definition Blueprint.h:153
void SetBlueprintLocation(Aws::String &&value)
Definition Blueprint.h:117
Blueprint & WithParameterSpec(const Aws::String &value)
Definition Blueprint.h:105
Blueprint & WithDescription(const char *value)
Definition Blueprint.h:68
Blueprint & WithLastModifiedOn(Aws::Utils::DateTime &&value)
Definition Blueprint.h:92
void SetName(Aws::String &&value)
Definition Blueprint.h:50
const Aws::Utils::DateTime & GetCreatedOn() const
Definition Blueprint.h:75
void SetParameterSpec(Aws::String &&value)
Definition Blueprint.h:103
Blueprint & WithParameterSpec(Aws::String &&value)
Definition Blueprint.h:106
bool NameHasBeenSet() const
Definition Blueprint.h:48
bool LastModifiedOnHasBeenSet() const
Definition Blueprint.h:88
void SetParameterSpec(const Aws::String &value)
Definition Blueprint.h:102
bool BlueprintServiceLocationHasBeenSet() const
Definition Blueprint.h:131
Blueprint & WithLastActiveDefinition(const LastActiveDefinition &value)
Definition Blueprint.h:180
AWS_GLUE_API Blueprint & operator=(Aws::Utils::Json::JsonView jsonValue)
Blueprint & WithBlueprintServiceLocation(const char *value)
Definition Blueprint.h:137
const LastActiveDefinition & GetLastActiveDefinition() const
Definition Blueprint.h:176
Blueprint & WithCreatedOn(Aws::Utils::DateTime &&value)
Definition Blueprint.h:80
void SetStatus(BlueprintStatus &&value)
Definition Blueprint.h:151
const Aws::String & GetDescription() const
Definition Blueprint.h:61
void SetDescription(Aws::String &&value)
Definition Blueprint.h:64
void SetDescription(const Aws::String &value)
Definition Blueprint.h:63
bool StatusHasBeenSet() const
Definition Blueprint.h:149
Blueprint & WithLastActiveDefinition(LastActiveDefinition &&value)
Definition Blueprint.h:181
Blueprint & WithErrorMessage(const Aws::String &value)
Definition Blueprint.h:165
Blueprint & WithName(const Aws::String &value)
Definition Blueprint.h:52
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue