AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkflowParameterDetail.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 WorkflowParameterDetail();
37 AWS_IMAGEBUILDER_API WorkflowParameterDetail(Aws::Utils::Json::JsonView jsonValue);
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 WorkflowParameterDetail& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline WorkflowParameterDetail& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline WorkflowParameterDetail& 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 WorkflowParameterDetail& WithType(const Aws::String& value) { SetType(value); return *this;}
67 inline WorkflowParameterDetail& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
68 inline WorkflowParameterDetail& 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 WorkflowParameterDetail& WithDefaultValue(Aws::Vector<Aws::String>&& value) { SetDefaultValue(std::move(value)); return *this;}
81 inline WorkflowParameterDetail& AddDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue.push_back(value); return *this; }
82 inline WorkflowParameterDetail& AddDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue.push_back(std::move(value)); return *this; }
83 inline WorkflowParameterDetail& 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 WorkflowParameterDetail& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
96 inline WorkflowParameterDetail& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
97 inline WorkflowParameterDetail& 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
WorkflowParameterDetail & WithDefaultValue(const Aws::Vector< Aws::String > &value)
WorkflowParameterDetail & WithDescription(const Aws::String &value)
WorkflowParameterDetail & WithType(const char *value)
WorkflowParameterDetail & WithDescription(Aws::String &&value)
WorkflowParameterDetail & WithType(Aws::String &&value)
WorkflowParameterDetail & WithName(Aws::String &&value)
void SetDefaultValue(const Aws::Vector< Aws::String > &value)
WorkflowParameterDetail & AddDefaultValue(Aws::String &&value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowParameterDetail & WithType(const Aws::String &value)
const Aws::Vector< Aws::String > & GetDefaultValue() const
WorkflowParameterDetail & WithName(const Aws::String &value)
AWS_IMAGEBUILDER_API WorkflowParameterDetail(Aws::Utils::Json::JsonView jsonValue)
void SetDefaultValue(Aws::Vector< Aws::String > &&value)
AWS_IMAGEBUILDER_API WorkflowParameterDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkflowParameterDetail & WithName(const char *value)
WorkflowParameterDetail & WithDescription(const char *value)
WorkflowParameterDetail & AddDefaultValue(const Aws::String &value)
WorkflowParameterDetail & WithDefaultValue(Aws::Vector< Aws::String > &&value)
WorkflowParameterDetail & AddDefaultValue(const char *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