AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CodeGenEdge.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
29 public:
30 AWS_GLUE_API CodeGenEdge() = default;
31 AWS_GLUE_API CodeGenEdge(Aws::Utils::Json::JsonView jsonValue);
34
36
39 inline const Aws::String& GetSource() const { return m_source; }
40 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
41 template <typename SourceT = Aws::String>
42 void SetSource(SourceT&& value) {
43 m_sourceHasBeenSet = true;
44 m_source = std::forward<SourceT>(value);
45 }
46 template <typename SourceT = Aws::String>
47 CodeGenEdge& WithSource(SourceT&& value) {
48 SetSource(std::forward<SourceT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetTarget() const { return m_target; }
58 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
59 template <typename TargetT = Aws::String>
60 void SetTarget(TargetT&& value) {
61 m_targetHasBeenSet = true;
62 m_target = std::forward<TargetT>(value);
63 }
64 template <typename TargetT = Aws::String>
65 CodeGenEdge& WithTarget(TargetT&& value) {
66 SetTarget(std::forward<TargetT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetTargetParameter() const { return m_targetParameter; }
76 inline bool TargetParameterHasBeenSet() const { return m_targetParameterHasBeenSet; }
77 template <typename TargetParameterT = Aws::String>
78 void SetTargetParameter(TargetParameterT&& value) {
79 m_targetParameterHasBeenSet = true;
80 m_targetParameter = std::forward<TargetParameterT>(value);
81 }
82 template <typename TargetParameterT = Aws::String>
83 CodeGenEdge& WithTargetParameter(TargetParameterT&& value) {
84 SetTargetParameter(std::forward<TargetParameterT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_source;
90
91 Aws::String m_target;
92
93 Aws::String m_targetParameter;
94 bool m_sourceHasBeenSet = false;
95 bool m_targetHasBeenSet = false;
96 bool m_targetParameterHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Glue
101} // namespace Aws
const Aws::String & GetTarget() const
Definition CodeGenEdge.h:57
AWS_GLUE_API CodeGenEdge & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTargetParameter(TargetParameterT &&value)
Definition CodeGenEdge.h:78
const Aws::String & GetSource() const
Definition CodeGenEdge.h:39
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
CodeGenEdge & WithTarget(TargetT &&value)
Definition CodeGenEdge.h:65
AWS_GLUE_API CodeGenEdge()=default
CodeGenEdge & WithTargetParameter(TargetParameterT &&value)
Definition CodeGenEdge.h:83
void SetTarget(TargetT &&value)
Definition CodeGenEdge.h:60
const Aws::String & GetTargetParameter() const
Definition CodeGenEdge.h:75
bool TargetParameterHasBeenSet() const
Definition CodeGenEdge.h:76
AWS_GLUE_API CodeGenEdge(Aws::Utils::Json::JsonView jsonValue)
CodeGenEdge & WithSource(SourceT &&value)
Definition CodeGenEdge.h:47
void SetSource(SourceT &&value)
Definition CodeGenEdge.h:42
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue