AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CodeGenNodeArg.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_GLUE_API CodeGenNodeArg() = default;
38
39
41
44 inline const Aws::String& GetName() const { return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 template<typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
48 template<typename NameT = Aws::String>
49 CodeGenNodeArg& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
60 template<typename ValueT = Aws::String>
61 CodeGenNodeArg& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
63
65
68 inline bool GetParam() const { return m_param; }
69 inline bool ParamHasBeenSet() const { return m_paramHasBeenSet; }
70 inline void SetParam(bool value) { m_paramHasBeenSet = true; m_param = value; }
71 inline CodeGenNodeArg& WithParam(bool value) { SetParam(value); return *this;}
73 private:
74
75 Aws::String m_name;
76 bool m_nameHasBeenSet = false;
77
78 Aws::String m_value;
79 bool m_valueHasBeenSet = false;
80
81 bool m_param{false};
82 bool m_paramHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Glue
87} // 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