AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExecutionParameter.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/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ServiceCatalog
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SERVICECATALOG_API ExecutionParameter();
37 AWS_SERVICECATALOG_API ExecutionParameter(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SERVICECATALOG_API ExecutionParameter& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline ExecutionParameter& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline ExecutionParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline ExecutionParameter& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetType() const{ return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
63 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
64 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
65 inline ExecutionParameter& WithType(const Aws::String& value) { SetType(value); return *this;}
66 inline ExecutionParameter& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
67 inline ExecutionParameter& WithType(const char* value) { SetType(value); return *this;}
69
71
74 inline const Aws::Vector<Aws::String>& GetDefaultValues() const{ return m_defaultValues; }
75 inline bool DefaultValuesHasBeenSet() const { return m_defaultValuesHasBeenSet; }
76 inline void SetDefaultValues(const Aws::Vector<Aws::String>& value) { m_defaultValuesHasBeenSet = true; m_defaultValues = value; }
77 inline void SetDefaultValues(Aws::Vector<Aws::String>&& value) { m_defaultValuesHasBeenSet = true; m_defaultValues = std::move(value); }
79 inline ExecutionParameter& WithDefaultValues(Aws::Vector<Aws::String>&& value) { SetDefaultValues(std::move(value)); return *this;}
80 inline ExecutionParameter& AddDefaultValues(const Aws::String& value) { m_defaultValuesHasBeenSet = true; m_defaultValues.push_back(value); return *this; }
81 inline ExecutionParameter& AddDefaultValues(Aws::String&& value) { m_defaultValuesHasBeenSet = true; m_defaultValues.push_back(std::move(value)); return *this; }
82 inline ExecutionParameter& AddDefaultValues(const char* value) { m_defaultValuesHasBeenSet = true; m_defaultValues.push_back(value); return *this; }
84 private:
85
86 Aws::String m_name;
87 bool m_nameHasBeenSet = false;
88
89 Aws::String m_type;
90 bool m_typeHasBeenSet = false;
91
92 Aws::Vector<Aws::String> m_defaultValues;
93 bool m_defaultValuesHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace ServiceCatalog
98} // namespace Aws
ExecutionParameter & WithType(const Aws::String &value)
ExecutionParameter & AddDefaultValues(Aws::String &&value)
ExecutionParameter & WithName(const char *value)
AWS_SERVICECATALOG_API ExecutionParameter(Aws::Utils::Json::JsonView jsonValue)
void SetDefaultValues(const Aws::Vector< Aws::String > &value)
ExecutionParameter & WithType(Aws::String &&value)
void SetDefaultValues(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetDefaultValues() const
ExecutionParameter & WithDefaultValues(const Aws::Vector< Aws::String > &value)
ExecutionParameter & WithDefaultValues(Aws::Vector< Aws::String > &&value)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
ExecutionParameter & AddDefaultValues(const char *value)
ExecutionParameter & WithType(const char *value)
AWS_SERVICECATALOG_API ExecutionParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
ExecutionParameter & AddDefaultValues(const Aws::String &value)
ExecutionParameter & WithName(const Aws::String &value)
ExecutionParameter & WithName(Aws::String &&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