7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/model/HostRecovery.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/HostMaintenance.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ec2/model/AutoPlacement.h>
71 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
90 inline void SetInstanceFamily(
const char* value) { m_instanceFamilyHasBeenSet =
true; m_instanceFamily.assign(value); }
140 bool m_hostRecoveryHasBeenSet =
false;
143 bool m_instanceTypeHasBeenSet =
false;
146 bool m_instanceFamilyHasBeenSet =
false;
149 bool m_hostMaintenanceHasBeenSet =
false;
152 bool m_hostIdsHasBeenSet =
false;
155 bool m_autoPlacementHasBeenSet =
false;
void SetHostRecovery(HostRecovery &&value)
bool HostMaintenanceHasBeenSet() const
void SetInstanceFamily(const char *value)
const Aws::String & GetInstanceFamily() const
void SetHostMaintenance(HostMaintenance &&value)
virtual const char * GetServiceRequestName() const override
void SetInstanceFamily(const Aws::String &value)
bool InstanceFamilyHasBeenSet() const
const AutoPlacement & GetAutoPlacement() const
bool InstanceTypeHasBeenSet() const
void SetHostIds(const Aws::Vector< Aws::String > &value)
AWS_EC2_API Aws::String SerializePayload() const override
AWS_EC2_API ModifyHostsRequest()
ModifyHostsRequest & WithInstanceFamily(Aws::String &&value)
ModifyHostsRequest & WithHostMaintenance(const HostMaintenance &value)
ModifyHostsRequest & WithHostRecovery(HostRecovery &&value)
void SetInstanceType(Aws::String &&value)
void SetAutoPlacement(const AutoPlacement &value)
ModifyHostsRequest & WithHostIds(const Aws::Vector< Aws::String > &value)
const HostMaintenance & GetHostMaintenance() const
void SetInstanceFamily(Aws::String &&value)
bool HostRecoveryHasBeenSet() const
bool AutoPlacementHasBeenSet() const
ModifyHostsRequest & WithHostRecovery(const HostRecovery &value)
void SetInstanceType(const Aws::String &value)
ModifyHostsRequest & WithInstanceFamily(const char *value)
ModifyHostsRequest & WithAutoPlacement(const AutoPlacement &value)
ModifyHostsRequest & WithHostMaintenance(HostMaintenance &&value)
ModifyHostsRequest & AddHostIds(Aws::String &&value)
const HostRecovery & GetHostRecovery() const
void SetHostMaintenance(const HostMaintenance &value)
void SetHostIds(Aws::Vector< Aws::String > &&value)
ModifyHostsRequest & WithInstanceType(Aws::String &&value)
ModifyHostsRequest & AddHostIds(const char *value)
ModifyHostsRequest & WithInstanceType(const Aws::String &value)
ModifyHostsRequest & WithAutoPlacement(AutoPlacement &&value)
const Aws::String & GetInstanceType() const
void SetHostRecovery(const HostRecovery &value)
const Aws::Vector< Aws::String > & GetHostIds() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetInstanceType(const char *value)
bool HostIdsHasBeenSet() const
ModifyHostsRequest & AddHostIds(const Aws::String &value)
ModifyHostsRequest & WithInstanceFamily(const Aws::String &value)
ModifyHostsRequest & WithHostIds(Aws::Vector< Aws::String > &&value)
ModifyHostsRequest & WithInstanceType(const char *value)
void SetAutoPlacement(AutoPlacement &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector