AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
GetFailbackReplicationConfigurationResult.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 {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace drs {
22namespace Model {
24 public:
28
30
34 inline long long GetBandwidthThrottling() const { return m_bandwidthThrottling; }
35 inline void SetBandwidthThrottling(long long value) {
36 m_bandwidthThrottlingHasBeenSet = true;
37 m_bandwidthThrottling = value;
38 }
41 return *this;
42 }
44
46
49 inline const Aws::String& GetName() const { return m_name; }
50 template <typename NameT = Aws::String>
51 void SetName(NameT&& value) {
52 m_nameHasBeenSet = true;
53 m_name = std::forward<NameT>(value);
54 }
55 template <typename NameT = Aws::String>
57 SetName(std::forward<NameT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::String& GetRecoveryInstanceID() const { return m_recoveryInstanceID; }
67 template <typename RecoveryInstanceIDT = Aws::String>
68 void SetRecoveryInstanceID(RecoveryInstanceIDT&& value) {
69 m_recoveryInstanceIDHasBeenSet = true;
70 m_recoveryInstanceID = std::forward<RecoveryInstanceIDT>(value);
71 }
72 template <typename RecoveryInstanceIDT = Aws::String>
74 SetRecoveryInstanceID(std::forward<RecoveryInstanceIDT>(value));
75 return *this;
76 }
78
80
84 inline bool GetUsePrivateIP() const { return m_usePrivateIP; }
85 inline void SetUsePrivateIP(bool value) {
86 m_usePrivateIPHasBeenSet = true;
87 m_usePrivateIP = value;
88 }
90 SetUsePrivateIP(value);
91 return *this;
92 }
94
96
97 inline const Aws::String& GetRequestId() const { return m_requestId; }
98 template <typename RequestIdT = Aws::String>
99 void SetRequestId(RequestIdT&& value) {
100 m_requestIdHasBeenSet = true;
101 m_requestId = std::forward<RequestIdT>(value);
102 }
103 template <typename RequestIdT = Aws::String>
105 SetRequestId(std::forward<RequestIdT>(value));
106 return *this;
107 }
109 private:
110 long long m_bandwidthThrottling{0};
111
112 Aws::String m_name;
113
114 Aws::String m_recoveryInstanceID;
115
116 bool m_usePrivateIP{false};
117
118 Aws::String m_requestId;
119 bool m_bandwidthThrottlingHasBeenSet = false;
120 bool m_nameHasBeenSet = false;
121 bool m_recoveryInstanceIDHasBeenSet = false;
122 bool m_usePrivateIPHasBeenSet = false;
123 bool m_requestIdHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace drs
128} // 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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue