AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetFailbackReplicationConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/drs/Drs_EXPORTS.h>
10#include <aws/drs/model/InternetProtocol.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace drs {
24namespace Model {
26 public:
30
32
35 inline const Aws::String& GetRecoveryInstanceID() const { return m_recoveryInstanceID; }
36 template <typename RecoveryInstanceIDT = Aws::String>
37 void SetRecoveryInstanceID(RecoveryInstanceIDT&& value) {
38 m_recoveryInstanceIDHasBeenSet = true;
39 m_recoveryInstanceID = std::forward<RecoveryInstanceIDT>(value);
40 }
41 template <typename RecoveryInstanceIDT = Aws::String>
43 SetRecoveryInstanceID(std::forward<RecoveryInstanceIDT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template <typename NameT = Aws::String>
54 void SetName(NameT&& value) {
55 m_nameHasBeenSet = true;
56 m_name = std::forward<NameT>(value);
57 }
58 template <typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
61 return *this;
62 }
64
66
70 inline long long GetBandwidthThrottling() const { return m_bandwidthThrottling; }
71 inline void SetBandwidthThrottling(long long value) {
72 m_bandwidthThrottlingHasBeenSet = true;
73 m_bandwidthThrottling = value;
74 }
77 return *this;
78 }
80
82
86 inline bool GetUsePrivateIP() const { return m_usePrivateIP; }
87 inline void SetUsePrivateIP(bool value) {
88 m_usePrivateIPHasBeenSet = true;
89 m_usePrivateIP = value;
90 }
92 SetUsePrivateIP(value);
93 return *this;
94 }
96
98
102 inline InternetProtocol GetInternetProtocol() const { return m_internetProtocol; }
104 m_internetProtocolHasBeenSet = true;
105 m_internetProtocol = value;
106 }
108 SetInternetProtocol(value);
109 return *this;
110 }
112
114
115 inline const Aws::String& GetRequestId() const { return m_requestId; }
116 template <typename RequestIdT = Aws::String>
117 void SetRequestId(RequestIdT&& value) {
118 m_requestIdHasBeenSet = true;
119 m_requestId = std::forward<RequestIdT>(value);
120 }
121 template <typename RequestIdT = Aws::String>
123 SetRequestId(std::forward<RequestIdT>(value));
124 return *this;
125 }
127 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
128
129 private:
130 Aws::String m_recoveryInstanceID;
131
132 Aws::String m_name;
133
134 long long m_bandwidthThrottling{0};
135
136 bool m_usePrivateIP{false};
137
139
140 Aws::String m_requestId;
141 Aws::Http::HttpResponseCode m_HttpResponseCode;
142 bool m_recoveryInstanceIDHasBeenSet = false;
143 bool m_nameHasBeenSet = false;
144 bool m_bandwidthThrottlingHasBeenSet = false;
145 bool m_usePrivateIPHasBeenSet = false;
146 bool m_internetProtocolHasBeenSet = false;
147 bool m_requestIdHasBeenSet = false;
148};
149
150} // namespace Model
151} // namespace drs
152} // namespace Aws
GetFailbackReplicationConfigurationResult & WithRequestId(RequestIdT &&value)
GetFailbackReplicationConfigurationResult & WithName(NameT &&value)
GetFailbackReplicationConfigurationResult & WithRecoveryInstanceID(RecoveryInstanceIDT &&value)
GetFailbackReplicationConfigurationResult & WithUsePrivateIP(bool value)
AWS_DRS_API GetFailbackReplicationConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFailbackReplicationConfigurationResult & WithBandwidthThrottling(long long value)
AWS_DRS_API GetFailbackReplicationConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFailbackReplicationConfigurationResult & WithInternetProtocol(InternetProtocol value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue