AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
UpdateFailbackReplicationConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/drs/DrsRequest.h>
9#include <aws/drs/Drs_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace drs {
15namespace Model {
16
20 public:
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateFailbackReplicationConfiguration"; }
28
29 AWS_DRS_API Aws::String SerializePayload() const override;
30
32
36 inline long long GetBandwidthThrottling() const { return m_bandwidthThrottling; }
37 inline bool BandwidthThrottlingHasBeenSet() const { return m_bandwidthThrottlingHasBeenSet; }
38 inline void SetBandwidthThrottling(long long value) {
39 m_bandwidthThrottlingHasBeenSet = true;
40 m_bandwidthThrottling = value;
41 }
44 return *this;
45 }
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 template <typename NameT = Aws::String>
55 void SetName(NameT&& value) {
56 m_nameHasBeenSet = true;
57 m_name = std::forward<NameT>(value);
58 }
59 template <typename NameT = Aws::String>
61 SetName(std::forward<NameT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetRecoveryInstanceID() const { return m_recoveryInstanceID; }
71 inline bool RecoveryInstanceIDHasBeenSet() const { return m_recoveryInstanceIDHasBeenSet; }
72 template <typename RecoveryInstanceIDT = Aws::String>
73 void SetRecoveryInstanceID(RecoveryInstanceIDT&& value) {
74 m_recoveryInstanceIDHasBeenSet = true;
75 m_recoveryInstanceID = std::forward<RecoveryInstanceIDT>(value);
76 }
77 template <typename RecoveryInstanceIDT = Aws::String>
79 SetRecoveryInstanceID(std::forward<RecoveryInstanceIDT>(value));
80 return *this;
81 }
83
85
89 inline bool GetUsePrivateIP() const { return m_usePrivateIP; }
90 inline bool UsePrivateIPHasBeenSet() const { return m_usePrivateIPHasBeenSet; }
91 inline void SetUsePrivateIP(bool value) {
92 m_usePrivateIPHasBeenSet = true;
93 m_usePrivateIP = value;
94 }
96 SetUsePrivateIP(value);
97 return *this;
98 }
100 private:
101 long long m_bandwidthThrottling{0};
102
103 Aws::String m_name;
104
105 Aws::String m_recoveryInstanceID;
106
107 bool m_usePrivateIP{false};
108 bool m_bandwidthThrottlingHasBeenSet = false;
109 bool m_nameHasBeenSet = false;
110 bool m_recoveryInstanceIDHasBeenSet = false;
111 bool m_usePrivateIPHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace drs
116} // namespace Aws
UpdateFailbackReplicationConfigurationRequest & WithRecoveryInstanceID(RecoveryInstanceIDT &&value)
AWS_DRS_API Aws::String SerializePayload() const override
UpdateFailbackReplicationConfigurationRequest & WithName(NameT &&value)
UpdateFailbackReplicationConfigurationRequest & WithUsePrivateIP(bool value)
UpdateFailbackReplicationConfigurationRequest & WithBandwidthThrottling(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String