AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
SourceNetworkData.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/drs/Drs_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace drs {
20namespace Model {
21
29 public:
30 AWS_DRS_API SourceNetworkData() = default;
34
36
39 inline const Aws::String& GetSourceNetworkID() const { return m_sourceNetworkID; }
40 inline bool SourceNetworkIDHasBeenSet() const { return m_sourceNetworkIDHasBeenSet; }
41 template <typename SourceNetworkIDT = Aws::String>
42 void SetSourceNetworkID(SourceNetworkIDT&& value) {
43 m_sourceNetworkIDHasBeenSet = true;
44 m_sourceNetworkID = std::forward<SourceNetworkIDT>(value);
45 }
46 template <typename SourceNetworkIDT = Aws::String>
47 SourceNetworkData& WithSourceNetworkID(SourceNetworkIDT&& value) {
48 SetSourceNetworkID(std::forward<SourceNetworkIDT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetSourceVpc() const { return m_sourceVpc; }
58 inline bool SourceVpcHasBeenSet() const { return m_sourceVpcHasBeenSet; }
59 template <typename SourceVpcT = Aws::String>
60 void SetSourceVpc(SourceVpcT&& value) {
61 m_sourceVpcHasBeenSet = true;
62 m_sourceVpc = std::forward<SourceVpcT>(value);
63 }
64 template <typename SourceVpcT = Aws::String>
65 SourceNetworkData& WithSourceVpc(SourceVpcT&& value) {
66 SetSourceVpc(std::forward<SourceVpcT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetStackName() const { return m_stackName; }
77 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
78 template <typename StackNameT = Aws::String>
79 void SetStackName(StackNameT&& value) {
80 m_stackNameHasBeenSet = true;
81 m_stackName = std::forward<StackNameT>(value);
82 }
83 template <typename StackNameT = Aws::String>
84 SourceNetworkData& WithStackName(StackNameT&& value) {
85 SetStackName(std::forward<StackNameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetTargetVpc() const { return m_targetVpc; }
95 inline bool TargetVpcHasBeenSet() const { return m_targetVpcHasBeenSet; }
96 template <typename TargetVpcT = Aws::String>
97 void SetTargetVpc(TargetVpcT&& value) {
98 m_targetVpcHasBeenSet = true;
99 m_targetVpc = std::forward<TargetVpcT>(value);
100 }
101 template <typename TargetVpcT = Aws::String>
102 SourceNetworkData& WithTargetVpc(TargetVpcT&& value) {
103 SetTargetVpc(std::forward<TargetVpcT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_sourceNetworkID;
109
110 Aws::String m_sourceVpc;
111
112 Aws::String m_stackName;
113
114 Aws::String m_targetVpc;
115 bool m_sourceNetworkIDHasBeenSet = false;
116 bool m_sourceVpcHasBeenSet = false;
117 bool m_stackNameHasBeenSet = false;
118 bool m_targetVpcHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace drs
123} // namespace Aws
SourceNetworkData & WithStackName(StackNameT &&value)
SourceNetworkData & WithSourceNetworkID(SourceNetworkIDT &&value)
const Aws::String & GetSourceNetworkID() const
void SetSourceNetworkID(SourceNetworkIDT &&value)
void SetTargetVpc(TargetVpcT &&value)
AWS_DRS_API SourceNetworkData & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API SourceNetworkData(Aws::Utils::Json::JsonView jsonValue)
void SetStackName(StackNameT &&value)
AWS_DRS_API SourceNetworkData()=default
void SetSourceVpc(SourceVpcT &&value)
const Aws::String & GetTargetVpc() const
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
SourceNetworkData & WithSourceVpc(SourceVpcT &&value)
SourceNetworkData & WithTargetVpc(TargetVpcT &&value)
const Aws::String & GetStackName() const
const Aws::String & GetSourceVpc() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue