AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SourceNetworkData.h
1
6#pragma once
7#include <aws/drs/Drs_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 drs
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DRS_API SourceNetworkData() = default;
39
40
42
45 inline const Aws::String& GetSourceNetworkID() const { return m_sourceNetworkID; }
46 inline bool SourceNetworkIDHasBeenSet() const { return m_sourceNetworkIDHasBeenSet; }
47 template<typename SourceNetworkIDT = Aws::String>
48 void SetSourceNetworkID(SourceNetworkIDT&& value) { m_sourceNetworkIDHasBeenSet = true; m_sourceNetworkID = std::forward<SourceNetworkIDT>(value); }
49 template<typename SourceNetworkIDT = Aws::String>
50 SourceNetworkData& WithSourceNetworkID(SourceNetworkIDT&& value) { SetSourceNetworkID(std::forward<SourceNetworkIDT>(value)); return *this;}
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) { m_sourceVpcHasBeenSet = true; m_sourceVpc = std::forward<SourceVpcT>(value); }
61 template<typename SourceVpcT = Aws::String>
62 SourceNetworkData& WithSourceVpc(SourceVpcT&& value) { SetSourceVpc(std::forward<SourceVpcT>(value)); return *this;}
64
66
70 inline const Aws::String& GetStackName() const { return m_stackName; }
71 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
72 template<typename StackNameT = Aws::String>
73 void SetStackName(StackNameT&& value) { m_stackNameHasBeenSet = true; m_stackName = std::forward<StackNameT>(value); }
74 template<typename StackNameT = Aws::String>
75 SourceNetworkData& WithStackName(StackNameT&& value) { SetStackName(std::forward<StackNameT>(value)); return *this;}
77
79
82 inline const Aws::String& GetTargetVpc() const { return m_targetVpc; }
83 inline bool TargetVpcHasBeenSet() const { return m_targetVpcHasBeenSet; }
84 template<typename TargetVpcT = Aws::String>
85 void SetTargetVpc(TargetVpcT&& value) { m_targetVpcHasBeenSet = true; m_targetVpc = std::forward<TargetVpcT>(value); }
86 template<typename TargetVpcT = Aws::String>
87 SourceNetworkData& WithTargetVpc(TargetVpcT&& value) { SetTargetVpc(std::forward<TargetVpcT>(value)); return *this;}
89 private:
90
91 Aws::String m_sourceNetworkID;
92 bool m_sourceNetworkIDHasBeenSet = false;
93
94 Aws::String m_sourceVpc;
95 bool m_sourceVpcHasBeenSet = false;
96
97 Aws::String m_stackName;
98 bool m_stackNameHasBeenSet = false;
99
100 Aws::String m_targetVpc;
101 bool m_targetVpcHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace drs
106} // 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