AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeploymentSpecificationsField.h
1
6#pragma once
7#include <aws/launch-wizard/LaunchWizard_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/launch-wizard/model/DeploymentConditionalField.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 LaunchWizard
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LAUNCHWIZARD_API DeploymentSpecificationsField();
40 AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<Aws::String>& GetAllowedValues() const{ return m_allowedValues; }
48 inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; }
49 inline void SetAllowedValues(const Aws::Vector<Aws::String>& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = value; }
50 inline void SetAllowedValues(Aws::Vector<Aws::String>&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues = std::move(value); }
53 inline DeploymentSpecificationsField& AddAllowedValues(const Aws::String& value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(value); return *this; }
54 inline DeploymentSpecificationsField& AddAllowedValues(Aws::String&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(std::move(value)); return *this; }
55 inline DeploymentSpecificationsField& AddAllowedValues(const char* value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(value); return *this; }
57
59
62 inline const Aws::Vector<DeploymentConditionalField>& GetConditionals() const{ return m_conditionals; }
63 inline bool ConditionalsHasBeenSet() const { return m_conditionalsHasBeenSet; }
64 inline void SetConditionals(const Aws::Vector<DeploymentConditionalField>& value) { m_conditionalsHasBeenSet = true; m_conditionals = value; }
65 inline void SetConditionals(Aws::Vector<DeploymentConditionalField>&& value) { m_conditionalsHasBeenSet = true; m_conditionals = std::move(value); }
68 inline DeploymentSpecificationsField& AddConditionals(const DeploymentConditionalField& value) { m_conditionalsHasBeenSet = true; m_conditionals.push_back(value); return *this; }
69 inline DeploymentSpecificationsField& AddConditionals(DeploymentConditionalField&& value) { m_conditionalsHasBeenSet = true; m_conditionals.push_back(std::move(value)); return *this; }
71
73
76 inline const Aws::String& GetDescription() const{ return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
79 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
80 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
81 inline DeploymentSpecificationsField& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
82 inline DeploymentSpecificationsField& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
83 inline DeploymentSpecificationsField& WithDescription(const char* value) { SetDescription(value); return *this;}
85
87
90 inline const Aws::String& GetName() const{ return m_name; }
91 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
92 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
93 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
94 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
95 inline DeploymentSpecificationsField& WithName(const Aws::String& value) { SetName(value); return *this;}
96 inline DeploymentSpecificationsField& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
97 inline DeploymentSpecificationsField& WithName(const char* value) { SetName(value); return *this;}
99
101
104 inline const Aws::String& GetRequired() const{ return m_required; }
105 inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; }
106 inline void SetRequired(const Aws::String& value) { m_requiredHasBeenSet = true; m_required = value; }
107 inline void SetRequired(Aws::String&& value) { m_requiredHasBeenSet = true; m_required = std::move(value); }
108 inline void SetRequired(const char* value) { m_requiredHasBeenSet = true; m_required.assign(value); }
109 inline DeploymentSpecificationsField& WithRequired(const Aws::String& value) { SetRequired(value); return *this;}
110 inline DeploymentSpecificationsField& WithRequired(Aws::String&& value) { SetRequired(std::move(value)); return *this;}
111 inline DeploymentSpecificationsField& WithRequired(const char* value) { SetRequired(value); return *this;}
113 private:
114
115 Aws::Vector<Aws::String> m_allowedValues;
116 bool m_allowedValuesHasBeenSet = false;
117
119 bool m_conditionalsHasBeenSet = false;
120
121 Aws::String m_description;
122 bool m_descriptionHasBeenSet = false;
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126
127 Aws::String m_required;
128 bool m_requiredHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace LaunchWizard
133} // namespace Aws
AWS_LAUNCHWIZARD_API DeploymentSpecificationsField & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentSpecificationsField & AddConditionals(const DeploymentConditionalField &value)
DeploymentSpecificationsField & WithConditionals(const Aws::Vector< DeploymentConditionalField > &value)
AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const
DeploymentSpecificationsField & AddConditionals(DeploymentConditionalField &&value)
DeploymentSpecificationsField & AddAllowedValues(Aws::String &&value)
DeploymentSpecificationsField & WithDescription(const Aws::String &value)
DeploymentSpecificationsField & WithDescription(const char *value)
DeploymentSpecificationsField & WithRequired(Aws::String &&value)
AWS_LAUNCHWIZARD_API DeploymentSpecificationsField(Aws::Utils::Json::JsonView jsonValue)
void SetConditionals(const Aws::Vector< DeploymentConditionalField > &value)
DeploymentSpecificationsField & WithAllowedValues(Aws::Vector< Aws::String > &&value)
DeploymentSpecificationsField & WithName(const Aws::String &value)
DeploymentSpecificationsField & WithAllowedValues(const Aws::Vector< Aws::String > &value)
DeploymentSpecificationsField & WithConditionals(Aws::Vector< DeploymentConditionalField > &&value)
DeploymentSpecificationsField & WithName(Aws::String &&value)
DeploymentSpecificationsField & AddAllowedValues(const char *value)
DeploymentSpecificationsField & WithDescription(Aws::String &&value)
const Aws::Vector< DeploymentConditionalField > & GetConditionals() const
DeploymentSpecificationsField & WithName(const char *value)
DeploymentSpecificationsField & WithRequired(const char *value)
DeploymentSpecificationsField & WithRequired(const Aws::String &value)
void SetAllowedValues(const Aws::Vector< Aws::String > &value)
DeploymentSpecificationsField & AddAllowedValues(const Aws::String &value)
void SetConditionals(Aws::Vector< DeploymentConditionalField > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue