7#include <aws/backup-gateway/BackupGateway_EXPORTS.h>
8#include <aws/backup-gateway/model/VmwareTag.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace BackupGateway {
44 template <
typename HostNameT = Aws::String>
46 m_hostNameHasBeenSet =
true;
47 m_hostName = std::forward<HostNameT>(value);
49 template <
typename HostNameT = Aws::String>
62 template <
typename HypervisorIdT = Aws::String>
64 m_hypervisorIdHasBeenSet =
true;
65 m_hypervisorId = std::forward<HypervisorIdT>(value);
67 template <
typename HypervisorIdT = Aws::String>
81 template <
typename LastBackupDateT = Aws::Utils::DateTime>
83 m_lastBackupDateHasBeenSet =
true;
84 m_lastBackupDate = std::forward<LastBackupDateT>(value);
86 template <
typename LastBackupDateT = Aws::Utils::DateTime>
99 template <
typename NameT = Aws::String>
101 m_nameHasBeenSet =
true;
102 m_name = std::forward<NameT>(value);
104 template <
typename NameT = Aws::String>
106 SetName(std::forward<NameT>(value));
117 template <
typename PathT = Aws::String>
119 m_pathHasBeenSet =
true;
120 m_path = std::forward<PathT>(value);
122 template <
typename PathT = Aws::String>
124 SetPath(std::forward<PathT>(value));
136 template <
typename ResourceArnT = Aws::String>
138 m_resourceArnHasBeenSet =
true;
139 m_resourceArn = std::forward<ResourceArnT>(value);
141 template <
typename ResourceArnT = Aws::String>
155 template <
typename VmwareTagsT = Aws::Vector<VmwareTag>>
157 m_vmwareTagsHasBeenSet =
true;
158 m_vmwareTags = std::forward<VmwareTagsT>(value);
160 template <
typename VmwareTagsT = Aws::Vector<VmwareTag>>
165 template <
typename VmwareTagsT = VmwareTag>
167 m_vmwareTagsHasBeenSet =
true;
168 m_vmwareTags.emplace_back(std::forward<VmwareTagsT>(value));
186 bool m_hostNameHasBeenSet =
false;
187 bool m_hypervisorIdHasBeenSet =
false;
188 bool m_lastBackupDateHasBeenSet =
false;
189 bool m_nameHasBeenSet =
false;
190 bool m_pathHasBeenSet =
false;
191 bool m_resourceArnHasBeenSet =
false;
192 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