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>
66 inline void SetElapsedReplicationDuration(
const char* value) { m_elapsedReplicationDurationHasBeenSet =
true; m_elapsedReplicationDuration.assign(value); }
81 inline void SetFailbackClientID(
const char* value) { m_failbackClientIDHasBeenSet =
true; m_failbackClientID.assign(value); }
109 inline void SetFailbackInitiationTime(
const char* value) { m_failbackInitiationTimeHasBeenSet =
true; m_failbackInitiationTime.assign(value); }
123 inline void SetFailbackJobID(
const char* value) { m_failbackJobIDHasBeenSet =
true; m_failbackJobID.assign(value); }
162 inline void SetFirstByteDateTime(
const char* value) { m_firstByteDateTimeHasBeenSet =
true; m_firstByteDateTime.assign(value); }
182 bool m_agentLastSeenByServiceDateTimeHasBeenSet =
false;
185 bool m_elapsedReplicationDurationHasBeenSet =
false;
188 bool m_failbackClientIDHasBeenSet =
false;
190 Aws::String m_failbackClientLastSeenByServiceDateTime;
191 bool m_failbackClientLastSeenByServiceDateTimeHasBeenSet =
false;
194 bool m_failbackInitiationTimeHasBeenSet =
false;
197 bool m_failbackJobIDHasBeenSet =
false;
200 bool m_failbackLaunchTypeHasBeenSet =
false;
202 bool m_failbackToOriginalServer;
203 bool m_failbackToOriginalServerHasBeenSet =
false;
206 bool m_firstByteDateTimeHasBeenSet =
false;
209 bool m_stateHasBeenSet =
false;
void SetFailbackClientLastSeenByServiceDateTime(Aws::String &&value)
AWS_DRS_API RecoveryInstanceFailback & operator=(Aws::Utils::Json::JsonView jsonValue)
RecoveryInstanceFailback & WithFailbackClientLastSeenByServiceDateTime(Aws::String &&value)
bool ElapsedReplicationDurationHasBeenSet() const
void SetFailbackJobID(const char *value)
const Aws::String & GetFailbackClientLastSeenByServiceDateTime() const
RecoveryInstanceFailback & WithFailbackInitiationTime(const Aws::String &value)
RecoveryInstanceFailback & WithFailbackJobID(const Aws::String &value)
void SetFailbackInitiationTime(Aws::String &&value)
void SetState(const FailbackState &value)
void SetFailbackClientLastSeenByServiceDateTime(const char *value)
RecoveryInstanceFailback & WithFailbackJobID(Aws::String &&value)
void SetFailbackClientLastSeenByServiceDateTime(const Aws::String &value)
RecoveryInstanceFailback & WithState(FailbackState &&value)
bool FailbackLaunchTypeHasBeenSet() const
RecoveryInstanceFailback & WithFailbackClientID(const char *value)
const Aws::String & GetElapsedReplicationDuration() const
RecoveryInstanceFailback & WithAgentLastSeenByServiceDateTime(const Aws::String &value)
void SetFirstByteDateTime(const char *value)
void SetState(FailbackState &&value)
RecoveryInstanceFailback & WithFailbackLaunchType(FailbackLaunchType &&value)
RecoveryInstanceFailback & WithFailbackClientLastSeenByServiceDateTime(const Aws::String &value)
void SetFailbackInitiationTime(const char *value)
const FailbackLaunchType & GetFailbackLaunchType() const
const Aws::String & GetFailbackInitiationTime() const
bool FailbackJobIDHasBeenSet() const
void SetFailbackClientID(Aws::String &&value)
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)
const Aws::String & GetFailbackJobID() const
bool FailbackInitiationTimeHasBeenSet() const
void SetFailbackJobID(const Aws::String &value)
void SetFailbackLaunchType(const FailbackLaunchType &value)
void SetFailbackInitiationTime(const Aws::String &value)
AWS_DRS_API RecoveryInstanceFailback(Aws::Utils::Json::JsonView jsonValue)
bool AgentLastSeenByServiceDateTimeHasBeenSet() const
const FailbackState & GetState() const
const Aws::String & GetAgentLastSeenByServiceDateTime() const
RecoveryInstanceFailback & WithFailbackClientID(const Aws::String &value)
void SetAgentLastSeenByServiceDateTime(const char *value)
RecoveryInstanceFailback & WithElapsedReplicationDuration(const Aws::String &value)
void SetFailbackToOriginalServer(bool value)
void SetFirstByteDateTime(const Aws::String &value)
void SetElapsedReplicationDuration(const Aws::String &value)
void SetFailbackLaunchType(FailbackLaunchType &&value)
void SetElapsedReplicationDuration(const char *value)
RecoveryInstanceFailback & WithFirstByteDateTime(const char *value)
void SetFailbackClientID(const Aws::String &value)
bool StateHasBeenSet() const
void SetFailbackJobID(Aws::String &&value)
RecoveryInstanceFailback & WithElapsedReplicationDuration(Aws::String &&value)
void SetElapsedReplicationDuration(Aws::String &&value)
bool FailbackToOriginalServerHasBeenSet() const
bool FailbackClientLastSeenByServiceDateTimeHasBeenSet() const
void SetAgentLastSeenByServiceDateTime(Aws::String &&value)
bool FirstByteDateTimeHasBeenSet() const
RecoveryInstanceFailback & WithElapsedReplicationDuration(const char *value)
RecoveryInstanceFailback & WithFailbackClientLastSeenByServiceDateTime(const char *value)
RecoveryInstanceFailback & WithFailbackInitiationTime(const char *value)
void SetAgentLastSeenByServiceDateTime(const Aws::String &value)
const Aws::String & GetFirstByteDateTime() const
RecoveryInstanceFailback & WithFirstByteDateTime(const Aws::String &value)
bool FailbackClientIDHasBeenSet() const
void SetFirstByteDateTime(Aws::String &&value)
AWS_DRS_API RecoveryInstanceFailback()
const Aws::String & GetFailbackClientID() const
RecoveryInstanceFailback & WithFailbackClientID(Aws::String &&value)
RecoveryInstanceFailback & WithFirstByteDateTime(Aws::String &&value)
RecoveryInstanceFailback & WithFailbackInitiationTime(Aws::String &&value)
bool GetFailbackToOriginalServer() const
void SetFailbackClientID(const char *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