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/core/utils/memory/stl/AWSVector.h>
11#include <aws/backup-gateway/model/VmwareTag.h>
24namespace BackupGateway
52 inline void SetHostName(
const char* value) { m_hostNameHasBeenSet =
true; m_hostName.assign(value); }
66 inline void SetHypervisorId(
const char* value) { m_hypervisorIdHasBeenSet =
true; m_hypervisorId.assign(value); }
93 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
107 inline void SetPath(
const char* value) { m_pathHasBeenSet =
true; m_path.assign(value); }
122 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
145 bool m_hostNameHasBeenSet =
false;
148 bool m_hypervisorIdHasBeenSet =
false;
151 bool m_lastBackupDateHasBeenSet =
false;
154 bool m_nameHasBeenSet =
false;
157 bool m_pathHasBeenSet =
false;
160 bool m_resourceArnHasBeenSet =
false;
163 bool m_vmwareTagsHasBeenSet =
false;
VirtualMachineDetails & WithResourceArn(Aws::String &&value)
void SetLastBackupDate(const Aws::Utils::DateTime &value)
VirtualMachineDetails & WithName(const char *value)
void SetName(const char *value)
bool NameHasBeenSet() const
void SetVmwareTags(const Aws::Vector< VmwareTag > &value)
AWS_BACKUPGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(Aws::String &&value)
void SetVmwareTags(Aws::Vector< VmwareTag > &&value)
VirtualMachineDetails & WithResourceArn(const char *value)
void SetHypervisorId(const char *value)
VirtualMachineDetails & WithPath(const Aws::String &value)
bool ResourceArnHasBeenSet() const
const Aws::String & GetPath() const
const Aws::Utils::DateTime & GetLastBackupDate() const
const Aws::String & GetHostName() const
void SetHypervisorId(const Aws::String &value)
void SetName(const Aws::String &value)
void SetResourceArn(Aws::String &&value)
VirtualMachineDetails & WithHostName(const char *value)
void SetHostName(Aws::String &&value)
void SetLastBackupDate(Aws::Utils::DateTime &&value)
AWS_BACKUPGATEWAY_API VirtualMachineDetails(Aws::Utils::Json::JsonView jsonValue)
bool VmwareTagsHasBeenSet() const
VirtualMachineDetails & WithHostName(Aws::String &&value)
void SetResourceArn(const char *value)
VirtualMachineDetails & WithHypervisorId(const char *value)
const Aws::Vector< VmwareTag > & GetVmwareTags() const
void SetResourceArn(const Aws::String &value)
VirtualMachineDetails & WithVmwareTags(const Aws::Vector< VmwareTag > &value)
VirtualMachineDetails & WithResourceArn(const Aws::String &value)
VirtualMachineDetails & AddVmwareTags(VmwareTag &&value)
VirtualMachineDetails & WithVmwareTags(Aws::Vector< VmwareTag > &&value)
void SetPath(const Aws::String &value)
VirtualMachineDetails & WithPath(const char *value)
bool PathHasBeenSet() const
VirtualMachineDetails & WithName(const Aws::String &value)
VirtualMachineDetails & WithName(Aws::String &&value)
VirtualMachineDetails & WithLastBackupDate(Aws::Utils::DateTime &&value)
const Aws::String & GetHypervisorId() const
void SetPath(const char *value)
VirtualMachineDetails & AddVmwareTags(const VmwareTag &value)
VirtualMachineDetails & WithHypervisorId(Aws::String &&value)
VirtualMachineDetails & WithHostName(const Aws::String &value)
void SetHypervisorId(Aws::String &&value)
bool LastBackupDateHasBeenSet() const
AWS_BACKUPGATEWAY_API VirtualMachineDetails()
AWS_BACKUPGATEWAY_API VirtualMachineDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
VirtualMachineDetails & WithHypervisorId(const Aws::String &value)
void SetHostName(const Aws::String &value)
bool HostNameHasBeenSet() const
void SetHostName(const char *value)
const Aws::String & GetResourceArn() const
const Aws::String & GetName() const
void SetPath(Aws::String &&value)
VirtualMachineDetails & WithPath(Aws::String &&value)
bool HypervisorIdHasBeenSet() const
VirtualMachineDetails & WithLastBackupDate(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue