7#include <aws/backup-gateway/BackupGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/backup-gateway/model/SyncMetadataStatus.h>
11#include <aws/backup-gateway/model/HypervisorState.h>
24namespace BackupGateway
54 inline void SetHost(
const char* value) { m_hostHasBeenSet =
true; m_host.assign(value); }
68 inline void SetHypervisorArn(
const char* value) { m_hypervisorArnHasBeenSet =
true; m_hypervisorArn.assign(value); }
82 inline void SetKmsKeyArn(
const char* value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn.assign(value); }
136 inline void SetLogGroupArn(
const char* value) { m_logGroupArnHasBeenSet =
true; m_logGroupArn.assign(value); }
150 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
172 bool m_hostHasBeenSet =
false;
175 bool m_hypervisorArnHasBeenSet =
false;
178 bool m_kmsKeyArnHasBeenSet =
false;
181 bool m_lastSuccessfulMetadataSyncTimeHasBeenSet =
false;
184 bool m_latestMetadataSyncStatusHasBeenSet =
false;
187 bool m_latestMetadataSyncStatusMessageHasBeenSet =
false;
190 bool m_logGroupArnHasBeenSet =
false;
193 bool m_nameHasBeenSet =
false;
196 bool m_stateHasBeenSet =
false;
bool LastSuccessfulMetadataSyncTimeHasBeenSet() const
void SetLogGroupArn(Aws::String &&value)
void SetLogGroupArn(const char *value)
HypervisorDetails & WithKmsKeyArn(Aws::String &&value)
const Aws::String & GetLogGroupArn() const
const SyncMetadataStatus & GetLatestMetadataSyncStatus() const
HypervisorDetails & WithLatestMetadataSyncStatus(const SyncMetadataStatus &value)
HypervisorDetails & WithName(const Aws::String &value)
void SetKmsKeyArn(const char *value)
HypervisorDetails & WithHost(const Aws::String &value)
HypervisorDetails & WithLatestMetadataSyncStatusMessage(const Aws::String &value)
HypervisorDetails & WithHypervisorArn(const char *value)
void SetName(Aws::String &&value)
const Aws::String & GetName() const
void SetHost(const Aws::String &value)
const Aws::String & GetLatestMetadataSyncStatusMessage() const
bool LogGroupArnHasBeenSet() const
AWS_BACKUPGATEWAY_API HypervisorDetails(Aws::Utils::Json::JsonView jsonValue)
void SetHypervisorArn(const Aws::String &value)
HypervisorDetails & WithHypervisorArn(Aws::String &&value)
HypervisorDetails & WithLogGroupArn(const Aws::String &value)
bool LatestMetadataSyncStatusMessageHasBeenSet() const
void SetState(HypervisorState &&value)
void SetLatestMetadataSyncStatus(SyncMetadataStatus &&value)
HypervisorDetails & WithKmsKeyArn(const Aws::String &value)
void SetHypervisorArn(const char *value)
void SetHypervisorArn(Aws::String &&value)
HypervisorDetails & WithKmsKeyArn(const char *value)
void SetName(const char *value)
void SetLastSuccessfulMetadataSyncTime(const Aws::Utils::DateTime &value)
bool KmsKeyArnHasBeenSet() const
HypervisorDetails & WithLatestMetadataSyncStatus(SyncMetadataStatus &&value)
void SetLatestMetadataSyncStatus(const SyncMetadataStatus &value)
const Aws::String & GetHost() const
bool LatestMetadataSyncStatusHasBeenSet() const
const HypervisorState & GetState() const
HypervisorDetails & WithHypervisorArn(const Aws::String &value)
AWS_BACKUPGATEWAY_API HypervisorDetails()
HypervisorDetails & WithLastSuccessfulMetadataSyncTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastSuccessfulMetadataSyncTime() const
HypervisorDetails & WithHost(Aws::String &&value)
void SetKmsKeyArn(Aws::String &&value)
void SetLatestMetadataSyncStatusMessage(Aws::String &&value)
bool StateHasBeenSet() const
HypervisorDetails & WithName(Aws::String &&value)
AWS_BACKUPGATEWAY_API HypervisorDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
HypervisorDetails & WithName(const char *value)
HypervisorDetails & WithLogGroupArn(const char *value)
HypervisorDetails & WithHost(const char *value)
HypervisorDetails & WithLatestMetadataSyncStatusMessage(const char *value)
void SetHost(Aws::String &&value)
const Aws::String & GetHypervisorArn() const
void SetState(const HypervisorState &value)
void SetLastSuccessfulMetadataSyncTime(Aws::Utils::DateTime &&value)
void SetLatestMetadataSyncStatusMessage(const char *value)
HypervisorDetails & WithState(const HypervisorState &value)
void SetKmsKeyArn(const Aws::String &value)
HypervisorDetails & WithLogGroupArn(Aws::String &&value)
bool HostHasBeenSet() const
HypervisorDetails & WithLatestMetadataSyncStatusMessage(Aws::String &&value)
void SetHost(const char *value)
const Aws::String & GetKmsKeyArn() const
void SetLatestMetadataSyncStatusMessage(const Aws::String &value)
void SetName(const Aws::String &value)
void SetLogGroupArn(const Aws::String &value)
HypervisorDetails & WithState(HypervisorState &&value)
bool NameHasBeenSet() const
bool HypervisorArnHasBeenSet() const
AWS_BACKUPGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
HypervisorDetails & WithLastSuccessfulMetadataSyncTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue