7#include <aws/backup-gateway/BackupGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/backup-gateway/model/HypervisorState.h>
22namespace BackupGateway
53 inline void SetHost(
const char* value) { m_hostHasBeenSet =
true; m_host.assign(value); }
67 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); }
96 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
116 bool m_hostHasBeenSet =
false;
119 bool m_hypervisorArnHasBeenSet =
false;
122 bool m_kmsKeyArnHasBeenSet =
false;
125 bool m_nameHasBeenSet =
false;
128 bool m_stateHasBeenSet =
false;
Hypervisor & WithKmsKeyArn(const char *value)
Hypervisor & WithHost(const Aws::String &value)
void SetKmsKeyArn(const char *value)
bool KmsKeyArnHasBeenSet() const
bool NameHasBeenSet() const
Hypervisor & WithHost(Aws::String &&value)
void SetState(const HypervisorState &value)
AWS_BACKUPGATEWAY_API Hypervisor(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetHypervisorArn() const
void SetHypervisorArn(const char *value)
Hypervisor & WithKmsKeyArn(const Aws::String &value)
Hypervisor & WithName(const char *value)
void SetKmsKeyArn(const Aws::String &value)
bool HostHasBeenSet() const
Hypervisor & WithHypervisorArn(Aws::String &&value)
Hypervisor & WithState(const HypervisorState &value)
const Aws::String & GetHost() const
Hypervisor & WithKmsKeyArn(Aws::String &&value)
void SetHost(const char *value)
void SetHypervisorArn(Aws::String &&value)
void SetHost(Aws::String &&value)
const HypervisorState & GetState() const
Hypervisor & WithState(HypervisorState &&value)
Hypervisor & WithName(const Aws::String &value)
Hypervisor & WithName(Aws::String &&value)
AWS_BACKUPGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKmsKeyArn(Aws::String &&value)
void SetHypervisorArn(const Aws::String &value)
const Aws::String & GetName() const
Hypervisor & WithHypervisorArn(const Aws::String &value)
void SetHost(const Aws::String &value)
void SetName(const Aws::String &value)
AWS_BACKUPGATEWAY_API Hypervisor & operator=(Aws::Utils::Json::JsonView jsonValue)
bool HypervisorArnHasBeenSet() const
void SetName(const char *value)
void SetName(Aws::String &&value)
Hypervisor & WithHost(const char *value)
void SetState(HypervisorState &&value)
const Aws::String & GetKmsKeyArn() const
Hypervisor & WithHypervisorArn(const char *value)
AWS_BACKUPGATEWAY_API Hypervisor()
bool StateHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue