AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProvisioningArtifact.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/servicecatalog/model/ProvisioningArtifactGuidance.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ServiceCatalog
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SERVICECATALOG_API ProvisioningArtifact();
38 AWS_SERVICECATALOG_API ProvisioningArtifact(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SERVICECATALOG_API ProvisioningArtifact& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline ProvisioningArtifact& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline ProvisioningArtifact& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline ProvisioningArtifact& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline ProvisioningArtifact& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline ProvisioningArtifact& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline ProvisioningArtifact& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline ProvisioningArtifact& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline ProvisioningArtifact& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline ProvisioningArtifact& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
90 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
91 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
92 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
93 inline ProvisioningArtifact& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
94 inline ProvisioningArtifact& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
96
98
102 inline const ProvisioningArtifactGuidance& GetGuidance() const{ return m_guidance; }
103 inline bool GuidanceHasBeenSet() const { return m_guidanceHasBeenSet; }
104 inline void SetGuidance(const ProvisioningArtifactGuidance& value) { m_guidanceHasBeenSet = true; m_guidance = value; }
105 inline void SetGuidance(ProvisioningArtifactGuidance&& value) { m_guidanceHasBeenSet = true; m_guidance = std::move(value); }
106 inline ProvisioningArtifact& WithGuidance(const ProvisioningArtifactGuidance& value) { SetGuidance(value); return *this;}
107 inline ProvisioningArtifact& WithGuidance(ProvisioningArtifactGuidance&& value) { SetGuidance(std::move(value)); return *this;}
109 private:
110
111 Aws::String m_id;
112 bool m_idHasBeenSet = false;
113
114 Aws::String m_name;
115 bool m_nameHasBeenSet = false;
116
117 Aws::String m_description;
118 bool m_descriptionHasBeenSet = false;
119
120 Aws::Utils::DateTime m_createdTime;
121 bool m_createdTimeHasBeenSet = false;
122
124 bool m_guidanceHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace ServiceCatalog
129} // namespace Aws
ProvisioningArtifact & WithId(const char *value)
ProvisioningArtifact & WithCreatedTime(Aws::Utils::DateTime &&value)
AWS_SERVICECATALOG_API ProvisioningArtifact(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTime(const Aws::Utils::DateTime &value)
ProvisioningArtifact & WithName(const char *value)
void SetGuidance(ProvisioningArtifactGuidance &&value)
ProvisioningArtifact & WithGuidance(ProvisioningArtifactGuidance &&value)
ProvisioningArtifact & WithId(Aws::String &&value)
ProvisioningArtifact & WithName(const Aws::String &value)
ProvisioningArtifact & WithDescription(const char *value)
ProvisioningArtifact & WithId(const Aws::String &value)
ProvisioningArtifact & WithDescription(Aws::String &&value)
const ProvisioningArtifactGuidance & GetGuidance() const
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
ProvisioningArtifact & WithGuidance(const ProvisioningArtifactGuidance &value)
ProvisioningArtifact & WithCreatedTime(const Aws::Utils::DateTime &value)
ProvisioningArtifact & WithName(Aws::String &&value)
ProvisioningArtifact & WithDescription(const Aws::String &value)
AWS_SERVICECATALOG_API ProvisioningArtifact & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGuidance(const ProvisioningArtifactGuidance &value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue