AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::String& GetSourceNetworkID() const{ return m_sourceNetworkID; }
46 inline bool SourceNetworkIDHasBeenSet() const { return m_sourceNetworkIDHasBeenSet; }
47 inline void SetSourceNetworkID(const Aws::String& value) { m_sourceNetworkIDHasBeenSet = true; m_sourceNetworkID = value; }
48 inline void SetSourceNetworkID(Aws::String&& value) { m_sourceNetworkIDHasBeenSet = true; m_sourceNetworkID = std::move(value); }
49 inline void SetSourceNetworkID(const char* value) { m_sourceNetworkIDHasBeenSet = true; m_sourceNetworkID.assign(value); }
50 inline SourceNetworkData& WithSourceNetworkID(const Aws::String& value) { SetSourceNetworkID(value); return *this;}
51 inline SourceNetworkData& WithSourceNetworkID(Aws::String&& value) { SetSourceNetworkID(std::move(value)); return *this;}
52 inline SourceNetworkData& WithSourceNetworkID(const char* value) { SetSourceNetworkID(value); return *this;}
54
56
59 inline const Aws::String& GetSourceVpc() const{ return m_sourceVpc; }
60 inline bool SourceVpcHasBeenSet() const { return m_sourceVpcHasBeenSet; }
61 inline void SetSourceVpc(const Aws::String& value) { m_sourceVpcHasBeenSet = true; m_sourceVpc = value; }
62 inline void SetSourceVpc(Aws::String&& value) { m_sourceVpcHasBeenSet = true; m_sourceVpc = std::move(value); }
63 inline void SetSourceVpc(const char* value) { m_sourceVpcHasBeenSet = true; m_sourceVpc.assign(value); }
64 inline SourceNetworkData& WithSourceVpc(const Aws::String& value) { SetSourceVpc(value); return *this;}
65 inline SourceNetworkData& WithSourceVpc(Aws::String&& value) { SetSourceVpc(std::move(value)); return *this;}
66 inline SourceNetworkData& WithSourceVpc(const char* value) { SetSourceVpc(value); return *this;}
68
70
74 inline const Aws::String& GetStackName() const{ return m_stackName; }
75 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
76 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
77 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
78 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
79 inline SourceNetworkData& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
80 inline SourceNetworkData& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
81 inline SourceNetworkData& WithStackName(const char* value) { SetStackName(value); return *this;}
83
85
88 inline const Aws::String& GetTargetVpc() const{ return m_targetVpc; }
89 inline bool TargetVpcHasBeenSet() const { return m_targetVpcHasBeenSet; }
90 inline void SetTargetVpc(const Aws::String& value) { m_targetVpcHasBeenSet = true; m_targetVpc = value; }
91 inline void SetTargetVpc(Aws::String&& value) { m_targetVpcHasBeenSet = true; m_targetVpc = std::move(value); }
92 inline void SetTargetVpc(const char* value) { m_targetVpcHasBeenSet = true; m_targetVpc.assign(value); }
93 inline SourceNetworkData& WithTargetVpc(const Aws::String& value) { SetTargetVpc(value); return *this;}
94 inline SourceNetworkData& WithTargetVpc(Aws::String&& value) { SetTargetVpc(std::move(value)); return *this;}
95 inline SourceNetworkData& WithTargetVpc(const char* value) { SetTargetVpc(value); return *this;}
97 private:
98
99 Aws::String m_sourceNetworkID;
100 bool m_sourceNetworkIDHasBeenSet = false;
101
102 Aws::String m_sourceVpc;
103 bool m_sourceVpcHasBeenSet = false;
104
105 Aws::String m_stackName;
106 bool m_stackNameHasBeenSet = false;
107
108 Aws::String m_targetVpc;
109 bool m_targetVpcHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace drs
114} // namespace Aws
void SetTargetVpc(const char *value)
void SetStackName(const Aws::String &value)
SourceNetworkData & WithStackName(const Aws::String &value)
void SetStackName(const char *value)
void SetSourceVpc(const Aws::String &value)
SourceNetworkData & WithTargetVpc(const char *value)
void SetStackName(Aws::String &&value)
void SetSourceNetworkID(const Aws::String &value)
SourceNetworkData & WithSourceNetworkID(Aws::String &&value)
SourceNetworkData & WithSourceVpc(const char *value)
void SetSourceVpc(Aws::String &&value)
const Aws::String & GetSourceNetworkID() const
void SetTargetVpc(Aws::String &&value)
SourceNetworkData & WithStackName(const char *value)
void SetSourceNetworkID(Aws::String &&value)
SourceNetworkData & WithTargetVpc(Aws::String &&value)
AWS_DRS_API SourceNetworkData & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceNetworkData & WithTargetVpc(const Aws::String &value)
AWS_DRS_API SourceNetworkData(Aws::Utils::Json::JsonView jsonValue)
void SetSourceVpc(const char *value)
SourceNetworkData & WithSourceNetworkID(const char *value)
const Aws::String & GetTargetVpc() const
SourceNetworkData & WithSourceVpc(const Aws::String &value)
void SetTargetVpc(const Aws::String &value)
SourceNetworkData & WithStackName(Aws::String &&value)
void SetSourceNetworkID(const char *value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
SourceNetworkData & WithSourceNetworkID(const Aws::String &value)
const Aws::String & GetStackName() const
SourceNetworkData & WithSourceVpc(Aws::String &&value)
const Aws::String & GetSourceVpc() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue