AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecoveryInstanceFailback.h
1
6#pragma once
7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/drs/model/FailbackLaunchType.h>
10#include <aws/drs/model/FailbackState.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace drs
24{
25namespace Model
26{
27
35 {
36 public:
41
42
44
48 inline const Aws::String& GetAgentLastSeenByServiceDateTime() const{ return m_agentLastSeenByServiceDateTime; }
49 inline bool AgentLastSeenByServiceDateTimeHasBeenSet() const { return m_agentLastSeenByServiceDateTimeHasBeenSet; }
50 inline void SetAgentLastSeenByServiceDateTime(const Aws::String& value) { m_agentLastSeenByServiceDateTimeHasBeenSet = true; m_agentLastSeenByServiceDateTime = value; }
51 inline void SetAgentLastSeenByServiceDateTime(Aws::String&& value) { m_agentLastSeenByServiceDateTimeHasBeenSet = true; m_agentLastSeenByServiceDateTime = std::move(value); }
52 inline void SetAgentLastSeenByServiceDateTime(const char* value) { m_agentLastSeenByServiceDateTimeHasBeenSet = true; m_agentLastSeenByServiceDateTime.assign(value); }
57
59
62 inline const Aws::String& GetElapsedReplicationDuration() const{ return m_elapsedReplicationDuration; }
63 inline bool ElapsedReplicationDurationHasBeenSet() const { return m_elapsedReplicationDurationHasBeenSet; }
64 inline void SetElapsedReplicationDuration(const Aws::String& value) { m_elapsedReplicationDurationHasBeenSet = true; m_elapsedReplicationDuration = value; }
65 inline void SetElapsedReplicationDuration(Aws::String&& value) { m_elapsedReplicationDurationHasBeenSet = true; m_elapsedReplicationDuration = std::move(value); }
66 inline void SetElapsedReplicationDuration(const char* value) { m_elapsedReplicationDurationHasBeenSet = true; m_elapsedReplicationDuration.assign(value); }
71
73
77 inline const Aws::String& GetFailbackClientID() const{ return m_failbackClientID; }
78 inline bool FailbackClientIDHasBeenSet() const { return m_failbackClientIDHasBeenSet; }
79 inline void SetFailbackClientID(const Aws::String& value) { m_failbackClientIDHasBeenSet = true; m_failbackClientID = value; }
80 inline void SetFailbackClientID(Aws::String&& value) { m_failbackClientIDHasBeenSet = true; m_failbackClientID = std::move(value); }
81 inline void SetFailbackClientID(const char* value) { m_failbackClientIDHasBeenSet = true; m_failbackClientID.assign(value); }
83 inline RecoveryInstanceFailback& WithFailbackClientID(Aws::String&& value) { SetFailbackClientID(std::move(value)); return *this;}
84 inline RecoveryInstanceFailback& WithFailbackClientID(const char* value) { SetFailbackClientID(value); return *this;}
86
88
91 inline const Aws::String& GetFailbackClientLastSeenByServiceDateTime() const{ return m_failbackClientLastSeenByServiceDateTime; }
92 inline bool FailbackClientLastSeenByServiceDateTimeHasBeenSet() const { return m_failbackClientLastSeenByServiceDateTimeHasBeenSet; }
93 inline void SetFailbackClientLastSeenByServiceDateTime(const Aws::String& value) { m_failbackClientLastSeenByServiceDateTimeHasBeenSet = true; m_failbackClientLastSeenByServiceDateTime = value; }
94 inline void SetFailbackClientLastSeenByServiceDateTime(Aws::String&& value) { m_failbackClientLastSeenByServiceDateTimeHasBeenSet = true; m_failbackClientLastSeenByServiceDateTime = std::move(value); }
95 inline void SetFailbackClientLastSeenByServiceDateTime(const char* value) { m_failbackClientLastSeenByServiceDateTimeHasBeenSet = true; m_failbackClientLastSeenByServiceDateTime.assign(value); }
100
102
105 inline const Aws::String& GetFailbackInitiationTime() const{ return m_failbackInitiationTime; }
106 inline bool FailbackInitiationTimeHasBeenSet() const { return m_failbackInitiationTimeHasBeenSet; }
107 inline void SetFailbackInitiationTime(const Aws::String& value) { m_failbackInitiationTimeHasBeenSet = true; m_failbackInitiationTime = value; }
108 inline void SetFailbackInitiationTime(Aws::String&& value) { m_failbackInitiationTimeHasBeenSet = true; m_failbackInitiationTime = std::move(value); }
109 inline void SetFailbackInitiationTime(const char* value) { m_failbackInitiationTimeHasBeenSet = true; m_failbackInitiationTime.assign(value); }
112 inline RecoveryInstanceFailback& WithFailbackInitiationTime(const char* value) { SetFailbackInitiationTime(value); return *this;}
114
116
119 inline const Aws::String& GetFailbackJobID() const{ return m_failbackJobID; }
120 inline bool FailbackJobIDHasBeenSet() const { return m_failbackJobIDHasBeenSet; }
121 inline void SetFailbackJobID(const Aws::String& value) { m_failbackJobIDHasBeenSet = true; m_failbackJobID = value; }
122 inline void SetFailbackJobID(Aws::String&& value) { m_failbackJobIDHasBeenSet = true; m_failbackJobID = std::move(value); }
123 inline void SetFailbackJobID(const char* value) { m_failbackJobIDHasBeenSet = true; m_failbackJobID.assign(value); }
124 inline RecoveryInstanceFailback& WithFailbackJobID(const Aws::String& value) { SetFailbackJobID(value); return *this;}
125 inline RecoveryInstanceFailback& WithFailbackJobID(Aws::String&& value) { SetFailbackJobID(std::move(value)); return *this;}
126 inline RecoveryInstanceFailback& WithFailbackJobID(const char* value) { SetFailbackJobID(value); return *this;}
128
130
134 inline const FailbackLaunchType& GetFailbackLaunchType() const{ return m_failbackLaunchType; }
135 inline bool FailbackLaunchTypeHasBeenSet() const { return m_failbackLaunchTypeHasBeenSet; }
136 inline void SetFailbackLaunchType(const FailbackLaunchType& value) { m_failbackLaunchTypeHasBeenSet = true; m_failbackLaunchType = value; }
137 inline void SetFailbackLaunchType(FailbackLaunchType&& value) { m_failbackLaunchTypeHasBeenSet = true; m_failbackLaunchType = std::move(value); }
141
143
147 inline bool GetFailbackToOriginalServer() const{ return m_failbackToOriginalServer; }
148 inline bool FailbackToOriginalServerHasBeenSet() const { return m_failbackToOriginalServerHasBeenSet; }
149 inline void SetFailbackToOriginalServer(bool value) { m_failbackToOriginalServerHasBeenSet = true; m_failbackToOriginalServer = value; }
152
154
158 inline const Aws::String& GetFirstByteDateTime() const{ return m_firstByteDateTime; }
159 inline bool FirstByteDateTimeHasBeenSet() const { return m_firstByteDateTimeHasBeenSet; }
160 inline void SetFirstByteDateTime(const Aws::String& value) { m_firstByteDateTimeHasBeenSet = true; m_firstByteDateTime = value; }
161 inline void SetFirstByteDateTime(Aws::String&& value) { m_firstByteDateTimeHasBeenSet = true; m_firstByteDateTime = std::move(value); }
162 inline void SetFirstByteDateTime(const char* value) { m_firstByteDateTimeHasBeenSet = true; m_firstByteDateTime.assign(value); }
164 inline RecoveryInstanceFailback& WithFirstByteDateTime(Aws::String&& value) { SetFirstByteDateTime(std::move(value)); return *this;}
165 inline RecoveryInstanceFailback& WithFirstByteDateTime(const char* value) { SetFirstByteDateTime(value); return *this;}
167
169
172 inline const FailbackState& GetState() const{ return m_state; }
173 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
174 inline void SetState(const FailbackState& value) { m_stateHasBeenSet = true; m_state = value; }
175 inline void SetState(FailbackState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
176 inline RecoveryInstanceFailback& WithState(const FailbackState& value) { SetState(value); return *this;}
177 inline RecoveryInstanceFailback& WithState(FailbackState&& value) { SetState(std::move(value)); return *this;}
179 private:
180
181 Aws::String m_agentLastSeenByServiceDateTime;
182 bool m_agentLastSeenByServiceDateTimeHasBeenSet = false;
183
184 Aws::String m_elapsedReplicationDuration;
185 bool m_elapsedReplicationDurationHasBeenSet = false;
186
187 Aws::String m_failbackClientID;
188 bool m_failbackClientIDHasBeenSet = false;
189
190 Aws::String m_failbackClientLastSeenByServiceDateTime;
191 bool m_failbackClientLastSeenByServiceDateTimeHasBeenSet = false;
192
193 Aws::String m_failbackInitiationTime;
194 bool m_failbackInitiationTimeHasBeenSet = false;
195
196 Aws::String m_failbackJobID;
197 bool m_failbackJobIDHasBeenSet = false;
198
199 FailbackLaunchType m_failbackLaunchType;
200 bool m_failbackLaunchTypeHasBeenSet = false;
201
202 bool m_failbackToOriginalServer;
203 bool m_failbackToOriginalServerHasBeenSet = false;
204
205 Aws::String m_firstByteDateTime;
206 bool m_firstByteDateTimeHasBeenSet = false;
207
208 FailbackState m_state;
209 bool m_stateHasBeenSet = false;
210 };
211
212} // namespace Model
213} // namespace drs
214} // namespace Aws
void SetFailbackClientLastSeenByServiceDateTime(Aws::String &&value)
AWS_DRS_API RecoveryInstanceFailback & operator=(Aws::Utils::Json::JsonView jsonValue)
RecoveryInstanceFailback & WithFailbackClientLastSeenByServiceDateTime(Aws::String &&value)
const Aws::String & GetFailbackClientLastSeenByServiceDateTime() const
RecoveryInstanceFailback & WithFailbackInitiationTime(const Aws::String &value)
RecoveryInstanceFailback & WithFailbackJobID(const Aws::String &value)
void SetFailbackClientLastSeenByServiceDateTime(const char *value)
RecoveryInstanceFailback & WithFailbackJobID(Aws::String &&value)
void SetFailbackClientLastSeenByServiceDateTime(const Aws::String &value)
RecoveryInstanceFailback & WithState(FailbackState &&value)
RecoveryInstanceFailback & WithFailbackClientID(const char *value)
const Aws::String & GetElapsedReplicationDuration() const
RecoveryInstanceFailback & WithAgentLastSeenByServiceDateTime(const Aws::String &value)
RecoveryInstanceFailback & WithFailbackLaunchType(FailbackLaunchType &&value)
RecoveryInstanceFailback & WithFailbackClientLastSeenByServiceDateTime(const Aws::String &value)
const FailbackLaunchType & GetFailbackLaunchType() const
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
RecoveryInstanceFailback & WithAgentLastSeenByServiceDateTime(Aws::String &&value)
RecoveryInstanceFailback & WithFailbackJobID(const char *value)
RecoveryInstanceFailback & WithFailbackLaunchType(const FailbackLaunchType &value)
RecoveryInstanceFailback & WithFailbackToOriginalServer(bool value)
void SetFailbackLaunchType(const FailbackLaunchType &value)
void SetFailbackInitiationTime(const Aws::String &value)
AWS_DRS_API RecoveryInstanceFailback(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAgentLastSeenByServiceDateTime() const
RecoveryInstanceFailback & WithFailbackClientID(const Aws::String &value)
RecoveryInstanceFailback & WithElapsedReplicationDuration(const Aws::String &value)
void SetFirstByteDateTime(const Aws::String &value)
void SetElapsedReplicationDuration(const Aws::String &value)
void SetFailbackLaunchType(FailbackLaunchType &&value)
RecoveryInstanceFailback & WithFirstByteDateTime(const char *value)
void SetFailbackClientID(const Aws::String &value)
RecoveryInstanceFailback & WithElapsedReplicationDuration(Aws::String &&value)
void SetAgentLastSeenByServiceDateTime(Aws::String &&value)
RecoveryInstanceFailback & WithElapsedReplicationDuration(const char *value)
RecoveryInstanceFailback & WithFailbackClientLastSeenByServiceDateTime(const char *value)
RecoveryInstanceFailback & WithFailbackInitiationTime(const char *value)
void SetAgentLastSeenByServiceDateTime(const Aws::String &value)
RecoveryInstanceFailback & WithFirstByteDateTime(const Aws::String &value)
RecoveryInstanceFailback & WithFailbackClientID(Aws::String &&value)
RecoveryInstanceFailback & WithFirstByteDateTime(Aws::String &&value)
RecoveryInstanceFailback & WithFailbackInitiationTime(Aws::String &&value)
RecoveryInstanceFailback & WithState(const FailbackState &value)
RecoveryInstanceFailback & WithAgentLastSeenByServiceDateTime(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue