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
50 template<
typename HostNameT = Aws::String>
51 void SetHostName(HostNameT&& value) { m_hostNameHasBeenSet =
true; m_hostName = std::forward<HostNameT>(value); }
52 template<
typename HostNameT = Aws::String>
62 template<
typename HypervisorIdT = Aws::String>
63 void SetHypervisorId(HypervisorIdT&& value) { m_hypervisorIdHasBeenSet =
true; m_hypervisorId = std::forward<HypervisorIdT>(value); }
64 template<
typename HypervisorIdT = Aws::String>
75 template<
typename LastBackupDateT = Aws::Utils::DateTime>
76 void SetLastBackupDate(LastBackupDateT&& value) { m_lastBackupDateHasBeenSet =
true; m_lastBackupDate = std::forward<LastBackupDateT>(value); }
77 template<
typename LastBackupDateT = Aws::Utils::DateTime>
87 template<
typename NameT = Aws::String>
88 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
89 template<
typename NameT = Aws::String>
99 template<
typename PathT = Aws::String>
100 void SetPath(PathT&& value) { m_pathHasBeenSet =
true; m_path = std::forward<PathT>(value); }
101 template<
typename PathT = Aws::String>
112 template<
typename ResourceArnT = Aws::String>
113 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
114 template<
typename ResourceArnT = Aws::String>
125 template<
typename VmwareTagsT = Aws::Vector<VmwareTag>>
126 void SetVmwareTags(VmwareTagsT&& value) { m_vmwareTagsHasBeenSet =
true; m_vmwareTags = std::forward<VmwareTagsT>(value); }
127 template<
typename VmwareTagsT = Aws::Vector<VmwareTag>>
129 template<
typename VmwareTagsT = VmwareTag>
135 bool m_hostNameHasBeenSet =
false;
138 bool m_hypervisorIdHasBeenSet =
false;
141 bool m_lastBackupDateHasBeenSet =
false;
144 bool m_nameHasBeenSet =
false;
147 bool m_pathHasBeenSet =
false;
150 bool m_resourceArnHasBeenSet =
false;
153 bool m_vmwareTagsHasBeenSet =
false;
VirtualMachineDetails & WithVmwareTags(VmwareTagsT &&value)
void SetName(NameT &&value)
VirtualMachineDetails & AddVmwareTags(VmwareTagsT &&value)
bool NameHasBeenSet() const
AWS_BACKUPGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BACKUPGATEWAY_API VirtualMachineDetails()=default
void SetHypervisorId(HypervisorIdT &&value)
VirtualMachineDetails & WithName(NameT &&value)
bool ResourceArnHasBeenSet() const
const Aws::String & GetPath() const
const Aws::Utils::DateTime & GetLastBackupDate() const
const Aws::String & GetHostName() const
VirtualMachineDetails & WithHostName(HostNameT &&value)
AWS_BACKUPGATEWAY_API VirtualMachineDetails(Aws::Utils::Json::JsonView jsonValue)
bool VmwareTagsHasBeenSet() const
void SetPath(PathT &&value)
VirtualMachineDetails & WithHypervisorId(HypervisorIdT &&value)
VirtualMachineDetails & WithPath(PathT &&value)
const Aws::Vector< VmwareTag > & GetVmwareTags() const
VirtualMachineDetails & WithResourceArn(ResourceArnT &&value)
VirtualMachineDetails & WithLastBackupDate(LastBackupDateT &&value)
bool PathHasBeenSet() const
const Aws::String & GetHypervisorId() const
void SetVmwareTags(VmwareTagsT &&value)
void SetResourceArn(ResourceArnT &&value)
bool LastBackupDateHasBeenSet() const
void SetHostName(HostNameT &&value)
AWS_BACKUPGATEWAY_API VirtualMachineDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool HostNameHasBeenSet() const
const Aws::String & GetResourceArn() const
void SetLastBackupDate(LastBackupDateT &&value)
const Aws::String & GetName() const
bool HypervisorIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue