AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProvisioningArtifactProperties.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/memory/stl/AWSMap.h>
10#include <aws/servicecatalog/model/ProvisioningArtifactType.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 ProvisioningArtifactProperties();
40 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline ProvisioningArtifactProperties& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline ProvisioningArtifactProperties& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline ProvisioningArtifactProperties& WithName(const char* value) { SetName(value); return *this;}
57
59
63 inline const Aws::String& GetDescription() const{ return m_description; }
64 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
65 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
66 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
67 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
68 inline ProvisioningArtifactProperties& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
69 inline ProvisioningArtifactProperties& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
70 inline ProvisioningArtifactProperties& WithDescription(const char* value) { SetDescription(value); return *this;}
72
74
87 inline const Aws::Map<Aws::String, Aws::String>& GetInfo() const{ return m_info; }
88 inline bool InfoHasBeenSet() const { return m_infoHasBeenSet; }
89 inline void SetInfo(const Aws::Map<Aws::String, Aws::String>& value) { m_infoHasBeenSet = true; m_info = value; }
90 inline void SetInfo(Aws::Map<Aws::String, Aws::String>&& value) { m_infoHasBeenSet = true; m_info = std::move(value); }
92 inline ProvisioningArtifactProperties& WithInfo(Aws::Map<Aws::String, Aws::String>&& value) { SetInfo(std::move(value)); return *this;}
93 inline ProvisioningArtifactProperties& AddInfo(const Aws::String& key, const Aws::String& value) { m_infoHasBeenSet = true; m_info.emplace(key, value); return *this; }
94 inline ProvisioningArtifactProperties& AddInfo(Aws::String&& key, const Aws::String& value) { m_infoHasBeenSet = true; m_info.emplace(std::move(key), value); return *this; }
95 inline ProvisioningArtifactProperties& AddInfo(const Aws::String& key, Aws::String&& value) { m_infoHasBeenSet = true; m_info.emplace(key, std::move(value)); return *this; }
96 inline ProvisioningArtifactProperties& AddInfo(Aws::String&& key, Aws::String&& value) { m_infoHasBeenSet = true; m_info.emplace(std::move(key), std::move(value)); return *this; }
97 inline ProvisioningArtifactProperties& AddInfo(const char* key, Aws::String&& value) { m_infoHasBeenSet = true; m_info.emplace(key, std::move(value)); return *this; }
98 inline ProvisioningArtifactProperties& AddInfo(Aws::String&& key, const char* value) { m_infoHasBeenSet = true; m_info.emplace(std::move(key), value); return *this; }
99 inline ProvisioningArtifactProperties& AddInfo(const char* key, const char* value) { m_infoHasBeenSet = true; m_info.emplace(key, value); return *this; }
101
103
111 inline const ProvisioningArtifactType& GetType() const{ return m_type; }
112 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
113 inline void SetType(const ProvisioningArtifactType& value) { m_typeHasBeenSet = true; m_type = value; }
114 inline void SetType(ProvisioningArtifactType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
115 inline ProvisioningArtifactProperties& WithType(const ProvisioningArtifactType& value) { SetType(value); return *this;}
116 inline ProvisioningArtifactProperties& WithType(ProvisioningArtifactType&& value) { SetType(std::move(value)); return *this;}
118
120
125 inline bool GetDisableTemplateValidation() const{ return m_disableTemplateValidation; }
126 inline bool DisableTemplateValidationHasBeenSet() const { return m_disableTemplateValidationHasBeenSet; }
127 inline void SetDisableTemplateValidation(bool value) { m_disableTemplateValidationHasBeenSet = true; m_disableTemplateValidation = value; }
130 private:
131
132 Aws::String m_name;
133 bool m_nameHasBeenSet = false;
134
135 Aws::String m_description;
136 bool m_descriptionHasBeenSet = false;
137
139 bool m_infoHasBeenSet = false;
140
142 bool m_typeHasBeenSet = false;
143
144 bool m_disableTemplateValidation;
145 bool m_disableTemplateValidationHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace ServiceCatalog
150} // namespace Aws
ProvisioningArtifactProperties & WithName(const Aws::String &value)
ProvisioningArtifactProperties & WithType(const ProvisioningArtifactType &value)
AWS_SERVICECATALOG_API ProvisioningArtifactProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
ProvisioningArtifactProperties & AddInfo(Aws::String &&key, const Aws::String &value)
ProvisioningArtifactProperties & AddInfo(Aws::String &&key, Aws::String &&value)
ProvisioningArtifactProperties & WithType(ProvisioningArtifactType &&value)
void SetInfo(Aws::Map< Aws::String, Aws::String > &&value)
ProvisioningArtifactProperties & WithDescription(const char *value)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
ProvisioningArtifactProperties & AddInfo(const char *key, const char *value)
ProvisioningArtifactProperties & WithName(Aws::String &&value)
void SetInfo(const Aws::Map< Aws::String, Aws::String > &value)
ProvisioningArtifactProperties & WithDescription(Aws::String &&value)
ProvisioningArtifactProperties & AddInfo(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetInfo() const
ProvisioningArtifactProperties & WithInfo(const Aws::Map< Aws::String, Aws::String > &value)
ProvisioningArtifactProperties & AddInfo(const Aws::String &key, const Aws::String &value)
ProvisioningArtifactProperties & AddInfo(Aws::String &&key, const char *value)
AWS_SERVICECATALOG_API ProvisioningArtifactProperties(Aws::Utils::Json::JsonView jsonValue)
ProvisioningArtifactProperties & AddInfo(const Aws::String &key, Aws::String &&value)
ProvisioningArtifactProperties & WithInfo(Aws::Map< Aws::String, Aws::String > &&value)
ProvisioningArtifactProperties & WithName(const char *value)
ProvisioningArtifactProperties & WithDisableTemplateValidation(bool value)
ProvisioningArtifactProperties & WithDescription(const Aws::String &value)
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
Aws::Utils::Json::JsonValue JsonValue