AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
ProvisioningArtifactProperties.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.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/ProvisioningArtifactType.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 ProvisioningArtifactProperties() = default;
33 AWS_SERVICECATALOG_API ProvisioningArtifactProperties(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_SERVICECATALOG_API ProvisioningArtifactProperties& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
36
38
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetDescription() const { return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 template <typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) {
65 m_descriptionHasBeenSet = true;
66 m_description = std::forward<DescriptionT>(value);
67 }
68 template <typename DescriptionT = Aws::String>
70 SetDescription(std::forward<DescriptionT>(value));
71 return *this;
72 }
74
76
89 inline const Aws::Map<Aws::String, Aws::String>& GetInfo() const { return m_info; }
90 inline bool InfoHasBeenSet() const { return m_infoHasBeenSet; }
91 template <typename InfoT = Aws::Map<Aws::String, Aws::String>>
92 void SetInfo(InfoT&& value) {
93 m_infoHasBeenSet = true;
94 m_info = std::forward<InfoT>(value);
95 }
96 template <typename InfoT = Aws::Map<Aws::String, Aws::String>>
98 SetInfo(std::forward<InfoT>(value));
99 return *this;
100 }
101 template <typename InfoKeyT = Aws::String, typename InfoValueT = Aws::String>
102 ProvisioningArtifactProperties& AddInfo(InfoKeyT&& key, InfoValueT&& value) {
103 m_infoHasBeenSet = true;
104 m_info.emplace(std::forward<InfoKeyT>(key), std::forward<InfoValueT>(value));
105 return *this;
106 }
108
110
118 inline ProvisioningArtifactType GetType() const { return m_type; }
119 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
121 m_typeHasBeenSet = true;
122 m_type = value;
123 }
125 SetType(value);
126 return *this;
127 }
129
131
136 inline bool GetDisableTemplateValidation() const { return m_disableTemplateValidation; }
137 inline bool DisableTemplateValidationHasBeenSet() const { return m_disableTemplateValidationHasBeenSet; }
138 inline void SetDisableTemplateValidation(bool value) {
139 m_disableTemplateValidationHasBeenSet = true;
140 m_disableTemplateValidation = value;
141 }
144 return *this;
145 }
147 private:
148 Aws::String m_name;
149
150 Aws::String m_description;
151
153
155
156 bool m_disableTemplateValidation{false};
157 bool m_nameHasBeenSet = false;
158 bool m_descriptionHasBeenSet = false;
159 bool m_infoHasBeenSet = false;
160 bool m_typeHasBeenSet = false;
161 bool m_disableTemplateValidationHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace ServiceCatalog
166} // namespace Aws
ProvisioningArtifactProperties & WithDescription(DescriptionT &&value)
AWS_SERVICECATALOG_API ProvisioningArtifactProperties(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ProvisioningArtifactProperties & WithType(ProvisioningArtifactType value)
AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_SERVICECATALOG_API ProvisioningArtifactProperties & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ProvisioningArtifactProperties & AddInfo(InfoKeyT &&key, InfoValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetInfo() const
ProvisioningArtifactProperties & WithDisableTemplateValidation(bool value)
AWS_SERVICECATALOG_API ProvisioningArtifactProperties()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String