AWS SDK for C++  1.9.153
AWS SDK for C++
ProvisioningArtifactDetail.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace ServiceCatalog
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetId() const{ return m_id; }
48 
52  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
53 
57  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
58 
62  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
63 
67  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
68 
72  inline ProvisioningArtifactDetail& WithId(const Aws::String& value) { SetId(value); return *this;}
73 
77  inline ProvisioningArtifactDetail& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
78 
82  inline ProvisioningArtifactDetail& WithId(const char* value) { SetId(value); return *this;}
83 
84 
88  inline const Aws::String& GetName() const{ return m_name; }
89 
93  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 
98  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
99 
103  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
104 
108  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
109 
113  inline ProvisioningArtifactDetail& WithName(const Aws::String& value) { SetName(value); return *this;}
114 
118  inline ProvisioningArtifactDetail& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
119 
123  inline ProvisioningArtifactDetail& WithName(const char* value) { SetName(value); return *this;}
124 
125 
129  inline const Aws::String& GetDescription() const{ return m_description; }
130 
134  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
135 
139  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
140 
144  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
145 
149  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
150 
154  inline ProvisioningArtifactDetail& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
155 
159  inline ProvisioningArtifactDetail& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
160 
164  inline ProvisioningArtifactDetail& WithDescription(const char* value) { SetDescription(value); return *this;}
165 
166 
174  inline const ProvisioningArtifactType& GetType() const{ return m_type; }
175 
183  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
184 
192  inline void SetType(const ProvisioningArtifactType& value) { m_typeHasBeenSet = true; m_type = value; }
193 
201  inline void SetType(ProvisioningArtifactType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
202 
210  inline ProvisioningArtifactDetail& WithType(const ProvisioningArtifactType& value) { SetType(value); return *this;}
211 
219  inline ProvisioningArtifactDetail& WithType(ProvisioningArtifactType&& value) { SetType(std::move(value)); return *this;}
220 
221 
225  inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
226 
230  inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
231 
235  inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
236 
240  inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
241 
245  inline ProvisioningArtifactDetail& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
246 
250  inline ProvisioningArtifactDetail& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
251 
252 
256  inline bool GetActive() const{ return m_active; }
257 
261  inline bool ActiveHasBeenSet() const { return m_activeHasBeenSet; }
262 
266  inline void SetActive(bool value) { m_activeHasBeenSet = true; m_active = value; }
267 
271  inline ProvisioningArtifactDetail& WithActive(bool value) { SetActive(value); return *this;}
272 
273 
278  inline const ProvisioningArtifactGuidance& GetGuidance() const{ return m_guidance; }
279 
284  inline bool GuidanceHasBeenSet() const { return m_guidanceHasBeenSet; }
285 
290  inline void SetGuidance(const ProvisioningArtifactGuidance& value) { m_guidanceHasBeenSet = true; m_guidance = value; }
291 
296  inline void SetGuidance(ProvisioningArtifactGuidance&& value) { m_guidanceHasBeenSet = true; m_guidance = std::move(value); }
297 
302  inline ProvisioningArtifactDetail& WithGuidance(const ProvisioningArtifactGuidance& value) { SetGuidance(value); return *this;}
303 
308  inline ProvisioningArtifactDetail& WithGuidance(ProvisioningArtifactGuidance&& value) { SetGuidance(std::move(value)); return *this;}
309 
310  private:
311 
312  Aws::String m_id;
313  bool m_idHasBeenSet;
314 
315  Aws::String m_name;
316  bool m_nameHasBeenSet;
317 
318  Aws::String m_description;
319  bool m_descriptionHasBeenSet;
320 
322  bool m_typeHasBeenSet;
323 
324  Aws::Utils::DateTime m_createdTime;
325  bool m_createdTimeHasBeenSet;
326 
327  bool m_active;
328  bool m_activeHasBeenSet;
329 
330  ProvisioningArtifactGuidance m_guidance;
331  bool m_guidanceHasBeenSet;
332  };
333 
334 } // namespace Model
335 } // namespace ServiceCatalog
336 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::SetId
void SetId(const char *value)
Definition: ProvisioningArtifactDetail.h:67
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::SetId
void SetId(Aws::String &&value)
Definition: ProvisioningArtifactDetail.h:62
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::ActiveHasBeenSet
bool ActiveHasBeenSet() const
Definition: ProvisioningArtifactDetail.h:261
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ProvisioningArtifactDetail.h:93
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: ProvisioningArtifactDetail.h:183
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::WithName
ProvisioningArtifactDetail & WithName(const Aws::String &value)
Definition: ProvisioningArtifactDetail.h:113
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::WithName
ProvisioningArtifactDetail & WithName(Aws::String &&value)
Definition: ProvisioningArtifactDetail.h:118
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::WithGuidance
ProvisioningArtifactDetail & WithGuidance(const ProvisioningArtifactGuidance &value)
Definition: ProvisioningArtifactDetail.h:302
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::GetActive
bool GetActive() const
Definition: ProvisioningArtifactDetail.h:256
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::SetDescription
void SetDescription(const char *value)
Definition: ProvisioningArtifactDetail.h:149
DateTime.h
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::WithDescription
ProvisioningArtifactDetail & WithDescription(const Aws::String &value)
Definition: ProvisioningArtifactDetail.h:154
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::SetActive
void SetActive(bool value)
Definition: ProvisioningArtifactDetail.h:266
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::GetCreatedTime
const Aws::Utils::DateTime & GetCreatedTime() const
Definition: ProvisioningArtifactDetail.h:225
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::SetName
void SetName(Aws::String &&value)
Definition: ProvisioningArtifactDetail.h:103
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::ProvisioningArtifactDetail
ProvisioningArtifactDetail()
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::WithId
ProvisioningArtifactDetail & WithId(const char *value)
Definition: ProvisioningArtifactDetail.h:82
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::SetDescription
void SetDescription(Aws::String &&value)
Definition: ProvisioningArtifactDetail.h:144
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::SetType
void SetType(const ProvisioningArtifactType &value)
Definition: ProvisioningArtifactDetail.h:192
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::WithType
ProvisioningArtifactDetail & WithType(ProvisioningArtifactType &&value)
Definition: ProvisioningArtifactDetail.h:219
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::WithDescription
ProvisioningArtifactDetail & WithDescription(const char *value)
Definition: ProvisioningArtifactDetail.h:164
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::GetName
const Aws::String & GetName() const
Definition: ProvisioningArtifactDetail.h:88
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::SetGuidance
void SetGuidance(ProvisioningArtifactGuidance &&value)
Definition: ProvisioningArtifactDetail.h:296
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::GetGuidance
const ProvisioningArtifactGuidance & GetGuidance() const
Definition: ProvisioningArtifactDetail.h:278
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::WithType
ProvisioningArtifactDetail & WithType(const ProvisioningArtifactType &value)
Definition: ProvisioningArtifactDetail.h:210
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::SetCreatedTime
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition: ProvisioningArtifactDetail.h:240
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::WithName
ProvisioningArtifactDetail & WithName(const char *value)
Definition: ProvisioningArtifactDetail.h:123
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::SetId
void SetId(const Aws::String &value)
Definition: ProvisioningArtifactDetail.h:57
Aws::ServiceCatalog::Model::ProvisioningArtifactType
ProvisioningArtifactType
Definition: ProvisioningArtifactType.h:17
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::GetDescription
const Aws::String & GetDescription() const
Definition: ProvisioningArtifactDetail.h:129
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::WithCreatedTime
ProvisioningArtifactDetail & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition: ProvisioningArtifactDetail.h:245
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::GetType
const ProvisioningArtifactType & GetType() const
Definition: ProvisioningArtifactDetail.h:174
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ProvisioningArtifactDetail.h:134
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::WithId
ProvisioningArtifactDetail & WithId(Aws::String &&value)
Definition: ProvisioningArtifactDetail.h:77
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::WithActive
ProvisioningArtifactDetail & WithActive(bool value)
Definition: ProvisioningArtifactDetail.h:271
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::IdHasBeenSet
bool IdHasBeenSet() const
Definition: ProvisioningArtifactDetail.h:52
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::WithId
ProvisioningArtifactDetail & WithId(const Aws::String &value)
Definition: ProvisioningArtifactDetail.h:72
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::SetDescription
void SetDescription(const Aws::String &value)
Definition: ProvisioningArtifactDetail.h:139
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::ProvisioningArtifactDetail
ProvisioningArtifactDetail(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::SetGuidance
void SetGuidance(const ProvisioningArtifactGuidance &value)
Definition: ProvisioningArtifactDetail.h:290
ProvisioningArtifactGuidance.h
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::GetId
const Aws::String & GetId() const
Definition: ProvisioningArtifactDetail.h:47
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ProvisioningArtifactType.h
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::GuidanceHasBeenSet
bool GuidanceHasBeenSet() const
Definition: ProvisioningArtifactDetail.h:284
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail
Definition: ProvisioningArtifactDetail.h:36
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::SetName
void SetName(const Aws::String &value)
Definition: ProvisioningArtifactDetail.h:98
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::WithGuidance
ProvisioningArtifactDetail & WithGuidance(ProvisioningArtifactGuidance &&value)
Definition: ProvisioningArtifactDetail.h:308
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::SetCreatedTime
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition: ProvisioningArtifactDetail.h:235
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::WithCreatedTime
ProvisioningArtifactDetail & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition: ProvisioningArtifactDetail.h:250
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::WithDescription
ProvisioningArtifactDetail & WithDescription(Aws::String &&value)
Definition: ProvisioningArtifactDetail.h:159
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::SetType
void SetType(ProvisioningArtifactType &&value)
Definition: ProvisioningArtifactDetail.h:201
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::SetName
void SetName(const char *value)
Definition: ProvisioningArtifactDetail.h:108
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::CreatedTimeHasBeenSet
bool CreatedTimeHasBeenSet() const
Definition: ProvisioningArtifactDetail.h:230
Aws::ServiceCatalog::Model::ProvisioningArtifactGuidance
ProvisioningArtifactGuidance
Definition: ProvisioningArtifactGuidance.h:17
Aws::ServiceCatalog::Model::ProvisioningArtifactDetail::operator=
ProvisioningArtifactDetail & operator=(Aws::Utils::Json::JsonView jsonValue)