AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkflowParameter.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 WorkflowParameter();
37 AWS_IMAGEBUILDER_API WorkflowParameter(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IMAGEBUILDER_API WorkflowParameter& operator=(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 WorkflowParameter& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline WorkflowParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline WorkflowParameter& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetValue() const{ return m_value; }
61 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
62 inline void SetValue(const Aws::Vector<Aws::String>& value) { m_valueHasBeenSet = true; m_value = value; }
63 inline void SetValue(Aws::Vector<Aws::String>&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
64 inline WorkflowParameter& WithValue(const Aws::Vector<Aws::String>& value) { SetValue(value); return *this;}
65 inline WorkflowParameter& WithValue(Aws::Vector<Aws::String>&& value) { SetValue(std::move(value)); return *this;}
66 inline WorkflowParameter& AddValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value.push_back(value); return *this; }
67 inline WorkflowParameter& AddValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value.push_back(std::move(value)); return *this; }
68 inline WorkflowParameter& AddValue(const char* value) { m_valueHasBeenSet = true; m_value.push_back(value); return *this; }
70 private:
71
72 Aws::String m_name;
73 bool m_nameHasBeenSet = false;
74
76 bool m_valueHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace imagebuilder
81} // namespace Aws
WorkflowParameter & WithValue(const Aws::Vector< Aws::String > &value)
WorkflowParameter & WithName(const Aws::String &value)
void SetValue(Aws::Vector< Aws::String > &&value)
void SetValue(const Aws::Vector< Aws::String > &value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IMAGEBUILDER_API WorkflowParameter(Aws::Utils::Json::JsonView jsonValue)
WorkflowParameter & AddValue(Aws::String &&value)
const Aws::Vector< Aws::String > & GetValue() const
WorkflowParameter & AddValue(const char *value)
WorkflowParameter & WithName(Aws::String &&value)
WorkflowParameter & WithValue(Aws::Vector< Aws::String > &&value)
WorkflowParameter & WithName(const char *value)
AWS_IMAGEBUILDER_API WorkflowParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkflowParameter & AddValue(const 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