AWS SDK for C++  1.9.106
AWS SDK for C++
ExecutionParameter.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ServiceCatalog
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
50  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 
55  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 
60  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 
65  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 
70  inline ExecutionParameter& WithName(const Aws::String& value) { SetName(value); return *this;}
71 
75  inline ExecutionParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
80  inline ExecutionParameter& WithName(const char* value) { SetName(value); return *this;}
81 
82 
86  inline const Aws::String& GetType() const{ return m_type; }
87 
91  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
92 
96  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
97 
101  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
102 
106  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
107 
111  inline ExecutionParameter& WithType(const Aws::String& value) { SetType(value); return *this;}
112 
116  inline ExecutionParameter& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
117 
121  inline ExecutionParameter& WithType(const char* value) { SetType(value); return *this;}
122 
123 
127  inline const Aws::Vector<Aws::String>& GetDefaultValues() const{ return m_defaultValues; }
128 
132  inline bool DefaultValuesHasBeenSet() const { return m_defaultValuesHasBeenSet; }
133 
137  inline void SetDefaultValues(const Aws::Vector<Aws::String>& value) { m_defaultValuesHasBeenSet = true; m_defaultValues = value; }
138 
142  inline void SetDefaultValues(Aws::Vector<Aws::String>&& value) { m_defaultValuesHasBeenSet = true; m_defaultValues = std::move(value); }
143 
147  inline ExecutionParameter& WithDefaultValues(const Aws::Vector<Aws::String>& value) { SetDefaultValues(value); return *this;}
148 
152  inline ExecutionParameter& WithDefaultValues(Aws::Vector<Aws::String>&& value) { SetDefaultValues(std::move(value)); return *this;}
153 
157  inline ExecutionParameter& AddDefaultValues(const Aws::String& value) { m_defaultValuesHasBeenSet = true; m_defaultValues.push_back(value); return *this; }
158 
162  inline ExecutionParameter& AddDefaultValues(Aws::String&& value) { m_defaultValuesHasBeenSet = true; m_defaultValues.push_back(std::move(value)); return *this; }
163 
167  inline ExecutionParameter& AddDefaultValues(const char* value) { m_defaultValuesHasBeenSet = true; m_defaultValues.push_back(value); return *this; }
168 
169  private:
170 
171  Aws::String m_name;
172  bool m_nameHasBeenSet;
173 
174  Aws::String m_type;
175  bool m_typeHasBeenSet;
176 
177  Aws::Vector<Aws::String> m_defaultValues;
178  bool m_defaultValuesHasBeenSet;
179  };
180 
181 } // namespace Model
182 } // namespace ServiceCatalog
183 } // namespace Aws
Aws::ServiceCatalog::Model::ExecutionParameter
Definition: ExecutionParameter.h:34
Aws::ServiceCatalog::Model::ExecutionParameter::SetName
void SetName(const Aws::String &value)
Definition: ExecutionParameter.h:55
Aws::ServiceCatalog::Model::ExecutionParameter::AddDefaultValues
ExecutionParameter & AddDefaultValues(Aws::String &&value)
Definition: ExecutionParameter.h:162
Aws::ServiceCatalog::Model::ExecutionParameter::SetDefaultValues
void SetDefaultValues(Aws::Vector< Aws::String > &&value)
Definition: ExecutionParameter.h:142
Aws::ServiceCatalog::Model::ExecutionParameter::WithType
ExecutionParameter & WithType(Aws::String &&value)
Definition: ExecutionParameter.h:116
Aws::ServiceCatalog::Model::ExecutionParameter::SetDefaultValues
void SetDefaultValues(const Aws::Vector< Aws::String > &value)
Definition: ExecutionParameter.h:137
Aws::ServiceCatalog::Model::ExecutionParameter::GetDefaultValues
const Aws::Vector< Aws::String > & GetDefaultValues() const
Definition: ExecutionParameter.h:127
Aws::ServiceCatalog::Model::ExecutionParameter::GetType
const Aws::String & GetType() const
Definition: ExecutionParameter.h:86
Aws::ServiceCatalog::Model::ExecutionParameter::SetType
void SetType(Aws::String &&value)
Definition: ExecutionParameter.h:101
Aws::ServiceCatalog::Model::ExecutionParameter::SetType
void SetType(const char *value)
Definition: ExecutionParameter.h:106
Aws::ServiceCatalog::Model::ExecutionParameter::SetName
void SetName(Aws::String &&value)
Definition: ExecutionParameter.h:60
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::ExecutionParameter::AddDefaultValues
ExecutionParameter & AddDefaultValues(const Aws::String &value)
Definition: ExecutionParameter.h:157
Aws::ServiceCatalog::Model::ExecutionParameter::ExecutionParameter
ExecutionParameter(Aws::Utils::Json::JsonView jsonValue)
AWSVector.h
Aws::ServiceCatalog::Model::ExecutionParameter::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ExecutionParameter.h:50
Aws::ServiceCatalog::Model::ExecutionParameter::SetType
void SetType(const Aws::String &value)
Definition: ExecutionParameter.h:96
Aws::ServiceCatalog::Model::ExecutionParameter::SetName
void SetName(const char *value)
Definition: ExecutionParameter.h:65
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::ServiceCatalog::Model::ExecutionParameter::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: ExecutionParameter.h:91
Aws::ServiceCatalog::Model::ExecutionParameter::WithName
ExecutionParameter & WithName(Aws::String &&value)
Definition: ExecutionParameter.h:75
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceCatalog::Model::ExecutionParameter::GetName
const Aws::String & GetName() const
Definition: ExecutionParameter.h:45
Aws::ServiceCatalog::Model::ExecutionParameter::WithName
ExecutionParameter & WithName(const char *value)
Definition: ExecutionParameter.h:80
Aws::ServiceCatalog::Model::ExecutionParameter::WithType
ExecutionParameter & WithType(const char *value)
Definition: ExecutionParameter.h:121
Aws::ServiceCatalog::Model::ExecutionParameter::WithDefaultValues
ExecutionParameter & WithDefaultValues(const Aws::Vector< Aws::String > &value)
Definition: ExecutionParameter.h:147
Aws::ServiceCatalog::Model::ExecutionParameter::WithDefaultValues
ExecutionParameter & WithDefaultValues(Aws::Vector< Aws::String > &&value)
Definition: ExecutionParameter.h:152
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::ExecutionParameter::AddDefaultValues
ExecutionParameter & AddDefaultValues(const char *value)
Definition: ExecutionParameter.h:167
Aws::ServiceCatalog::Model::ExecutionParameter::WithName
ExecutionParameter & WithName(const Aws::String &value)
Definition: ExecutionParameter.h:70
Aws::ServiceCatalog::Model::ExecutionParameter::DefaultValuesHasBeenSet
bool DefaultValuesHasBeenSet() const
Definition: ExecutionParameter.h:132
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::ExecutionParameter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ServiceCatalog::Model::ExecutionParameter::ExecutionParameter
ExecutionParameter()
Aws::ServiceCatalog::Model::ExecutionParameter::operator=
ExecutionParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceCatalog::Model::ExecutionParameter::WithType
ExecutionParameter & WithType(const Aws::String &value)
Definition: ExecutionParameter.h:111