AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
ProvisioningArtifact.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
11#include <aws/servicecatalog/model/ProvisioningArtifactGuidance.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Cbor {
18class CborValue;
19} // namespace Cbor
20} // namespace Utils
21namespace ServiceCatalog {
22namespace Model {
23
31 public:
32 AWS_SERVICECATALOG_API ProvisioningArtifact() = default;
33 AWS_SERVICECATALOG_API ProvisioningArtifact(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_SERVICECATALOG_API ProvisioningArtifact& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetDescription() const { return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 template <typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) {
81 m_descriptionHasBeenSet = true;
82 m_description = std::forward<DescriptionT>(value);
83 }
84 template <typename DescriptionT = Aws::String>
85 ProvisioningArtifact& WithDescription(DescriptionT&& value) {
86 SetDescription(std::forward<DescriptionT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
96 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
97 template <typename CreatedTimeT = Aws::Utils::DateTime>
98 void SetCreatedTime(CreatedTimeT&& value) {
99 m_createdTimeHasBeenSet = true;
100 m_createdTime = std::forward<CreatedTimeT>(value);
101 }
102 template <typename CreatedTimeT = Aws::Utils::DateTime>
103 ProvisioningArtifact& WithCreatedTime(CreatedTimeT&& value) {
104 SetCreatedTime(std::forward<CreatedTimeT>(value));
105 return *this;
106 }
108
110
114 inline ProvisioningArtifactGuidance GetGuidance() const { return m_guidance; }
115 inline bool GuidanceHasBeenSet() const { return m_guidanceHasBeenSet; }
117 m_guidanceHasBeenSet = true;
118 m_guidance = value;
119 }
121 SetGuidance(value);
122 return *this;
123 }
125 private:
126 Aws::String m_id;
127
128 Aws::String m_name;
129
130 Aws::String m_description;
131
132 Aws::Utils::DateTime m_createdTime{};
133
135 bool m_idHasBeenSet = false;
136 bool m_nameHasBeenSet = false;
137 bool m_descriptionHasBeenSet = false;
138 bool m_createdTimeHasBeenSet = false;
139 bool m_guidanceHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace ServiceCatalog
144} // namespace Aws
AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_SERVICECATALOG_API ProvisioningArtifact()=default
ProvisioningArtifactGuidance GetGuidance() const
void SetGuidance(ProvisioningArtifactGuidance value)
ProvisioningArtifact & WithCreatedTime(CreatedTimeT &&value)
AWS_SERVICECATALOG_API ProvisioningArtifact(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_SERVICECATALOG_API ProvisioningArtifact & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ProvisioningArtifact & WithGuidance(ProvisioningArtifactGuidance value)
ProvisioningArtifact & WithName(NameT &&value)
ProvisioningArtifact & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String