7#include <aws/backup-gateway/BackupGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
22namespace BackupGateway
49 inline void SetHostName(
const char* value) { m_hostNameHasBeenSet =
true; m_hostName.assign(value); }
63 inline void SetHypervisorId(
const char* value) { m_hypervisorIdHasBeenSet =
true; m_hypervisorId.assign(value); }
90 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
104 inline void SetPath(
const char* value) { m_pathHasBeenSet =
true; m_path.assign(value); }
119 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
127 bool m_hostNameHasBeenSet =
false;
130 bool m_hypervisorIdHasBeenSet =
false;
133 bool m_lastBackupDateHasBeenSet =
false;
136 bool m_nameHasBeenSet =
false;
139 bool m_pathHasBeenSet =
false;
142 bool m_resourceArnHasBeenSet =
false;
const Aws::Utils::DateTime & GetLastBackupDate() const
const Aws::String & GetPath() const
bool NameHasBeenSet() const
void SetPath(const Aws::String &value)
AWS_BACKUPGATEWAY_API VirtualMachine()
AWS_BACKUPGATEWAY_API VirtualMachine(Aws::Utils::Json::JsonView jsonValue)
bool ResourceArnHasBeenSet() const
void SetHostName(const char *value)
VirtualMachine & WithHostName(Aws::String &&value)
void SetName(Aws::String &&value)
VirtualMachine & WithResourceArn(const char *value)
VirtualMachine & WithName(const char *value)
void SetResourceArn(const char *value)
VirtualMachine & WithName(Aws::String &&value)
void SetLastBackupDate(const Aws::Utils::DateTime &value)
VirtualMachine & WithHypervisorId(const char *value)
AWS_BACKUPGATEWAY_API VirtualMachine & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LastBackupDateHasBeenSet() const
VirtualMachine & WithResourceArn(Aws::String &&value)
void SetPath(const char *value)
VirtualMachine & WithPath(Aws::String &&value)
void SetHostName(Aws::String &&value)
const Aws::String & GetName() const
void SetLastBackupDate(Aws::Utils::DateTime &&value)
void SetResourceArn(const Aws::String &value)
VirtualMachine & WithHostName(const char *value)
VirtualMachine & WithName(const Aws::String &value)
VirtualMachine & WithLastBackupDate(const Aws::Utils::DateTime &value)
VirtualMachine & WithLastBackupDate(Aws::Utils::DateTime &&value)
void SetResourceArn(Aws::String &&value)
AWS_BACKUPGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
bool PathHasBeenSet() const
bool HypervisorIdHasBeenSet() const
void SetHypervisorId(const char *value)
VirtualMachine & WithPath(const char *value)
VirtualMachine & WithHypervisorId(const Aws::String &value)
VirtualMachine & WithHypervisorId(Aws::String &&value)
void SetName(const Aws::String &value)
const Aws::String & GetResourceArn() const
void SetHostName(const Aws::String &value)
void SetHypervisorId(const Aws::String &value)
const Aws::String & GetHostName() const
void SetName(const char *value)
VirtualMachine & WithHostName(const Aws::String &value)
bool HostNameHasBeenSet() const
void SetPath(Aws::String &&value)
VirtualMachine & WithResourceArn(const Aws::String &value)
void SetHypervisorId(Aws::String &&value)
const Aws::String & GetHypervisorId() const
VirtualMachine & WithPath(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue