AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComponentParameterDetail.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_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 imagebuilder
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IMAGEBUILDER_API ComponentParameterDetail();
39 AWS_IMAGEBUILDER_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 ComponentParameterDetail& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline ComponentParameterDetail& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline ComponentParameterDetail& WithName(const char* value) { SetName(value); return *this;}
55
57
61 inline const Aws::String& GetType() const{ return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
64 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
65 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
66 inline ComponentParameterDetail& WithType(const Aws::String& value) { SetType(value); return *this;}
67 inline ComponentParameterDetail& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
68 inline ComponentParameterDetail& WithType(const char* value) { SetType(value); return *this;}
70
72
75 inline const Aws::Vector<Aws::String>& GetDefaultValue() const{ return m_defaultValue; }
76 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
77 inline void SetDefaultValue(const Aws::Vector<Aws::String>& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
78 inline void SetDefaultValue(Aws::Vector<Aws::String>&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
80 inline ComponentParameterDetail& WithDefaultValue(Aws::Vector<Aws::String>&& value) { SetDefaultValue(std::move(value)); return *this;}
81 inline ComponentParameterDetail& AddDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue.push_back(value); return *this; }
82 inline ComponentParameterDetail& AddDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue.push_back(std::move(value)); return *this; }
83 inline ComponentParameterDetail& AddDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.push_back(value); return *this; }
85
87
90 inline const Aws::String& GetDescription() const{ return m_description; }
91 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
92 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
93 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
94 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
95 inline ComponentParameterDetail& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
96 inline ComponentParameterDetail& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
97 inline ComponentParameterDetail& WithDescription(const char* value) { SetDescription(value); return *this;}
99 private:
100
101 Aws::String m_name;
102 bool m_nameHasBeenSet = false;
103
104 Aws::String m_type;
105 bool m_typeHasBeenSet = false;
106
107 Aws::Vector<Aws::String> m_defaultValue;
108 bool m_defaultValueHasBeenSet = false;
109
110 Aws::String m_description;
111 bool m_descriptionHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace imagebuilder
116} // namespace Aws
ComponentParameterDetail & AddDefaultValue(const Aws::String &value)
ComponentParameterDetail & WithDescription(Aws::String &&value)
ComponentParameterDetail & AddDefaultValue(const char *value)
ComponentParameterDetail & WithType(const Aws::String &value)
void SetDefaultValue(Aws::Vector< Aws::String > &&value)
ComponentParameterDetail & WithDefaultValue(const Aws::Vector< Aws::String > &value)
ComponentParameterDetail & WithDescription(const char *value)
ComponentParameterDetail & AddDefaultValue(Aws::String &&value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IMAGEBUILDER_API ComponentParameterDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentParameterDetail & WithDescription(const Aws::String &value)
ComponentParameterDetail & WithDefaultValue(Aws::Vector< Aws::String > &&value)
ComponentParameterDetail & WithName(const Aws::String &value)
ComponentParameterDetail & WithName(Aws::String &&value)
AWS_IMAGEBUILDER_API ComponentParameterDetail(Aws::Utils::Json::JsonView jsonValue)
void SetDefaultValue(const Aws::Vector< Aws::String > &value)
ComponentParameterDetail & WithType(const char *value)
const Aws::Vector< Aws::String > & GetDefaultValue() const
ComponentParameterDetail & WithName(const char *value)
ComponentParameterDetail & WithType(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