AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CodeGenNodeArg.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
28 public:
29 AWS_GLUE_API CodeGenNodeArg() = default;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
46 CodeGenNodeArg& WithName(NameT&& value) {
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetValue() const { return m_value; }
57 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
58 template <typename ValueT = Aws::String>
59 void SetValue(ValueT&& value) {
60 m_valueHasBeenSet = true;
61 m_value = std::forward<ValueT>(value);
62 }
63 template <typename ValueT = Aws::String>
64 CodeGenNodeArg& WithValue(ValueT&& value) {
65 SetValue(std::forward<ValueT>(value));
66 return *this;
67 }
69
71
74 inline bool GetParam() const { return m_param; }
75 inline bool ParamHasBeenSet() const { return m_paramHasBeenSet; }
76 inline void SetParam(bool value) {
77 m_paramHasBeenSet = true;
78 m_param = value;
79 }
80 inline CodeGenNodeArg& WithParam(bool value) {
81 SetParam(value);
82 return *this;
83 }
85 private:
86 Aws::String m_name;
87
88 Aws::String m_value;
89
90 bool m_param{false};
91 bool m_nameHasBeenSet = false;
92 bool m_valueHasBeenSet = false;
93 bool m_paramHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace Glue
98} // namespace Aws
CodeGenNodeArg & WithValue(ValueT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
CodeGenNodeArg & WithName(NameT &&value)
AWS_GLUE_API CodeGenNodeArg()=default
AWS_GLUE_API CodeGenNodeArg & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetValue() const
CodeGenNodeArg & WithParam(bool value)
AWS_GLUE_API CodeGenNodeArg(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue