7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ElasticGpuHealth.h>
11#include <aws/ec2/model/ElasticGpuState.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ec2/model/Tag.h>
55 inline void SetElasticGpuId(
const char* value) { m_elasticGpuIdHasBeenSet =
true; m_elasticGpuId.assign(value); }
70 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
84 inline void SetElasticGpuType(
const char* value) { m_elasticGpuTypeHasBeenSet =
true; m_elasticGpuType.assign(value); }
123 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
140 inline ElasticGpus&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
145 bool m_elasticGpuIdHasBeenSet =
false;
148 bool m_availabilityZoneHasBeenSet =
false;
151 bool m_elasticGpuTypeHasBeenSet =
false;
154 bool m_elasticGpuHealthHasBeenSet =
false;
157 bool m_elasticGpuStateHasBeenSet =
false;
160 bool m_instanceIdHasBeenSet =
false;
163 bool m_tagsHasBeenSet =
false;
void SetInstanceId(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Vector< Tag > & GetTags() const
void SetElasticGpuId(const Aws::String &value)
ElasticGpus & AddTags(Tag &&value)
void SetElasticGpuType(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ElasticGpus & WithInstanceId(Aws::String &&value)
void SetInstanceId(Aws::String &&value)
ElasticGpus & WithElasticGpuType(const char *value)
ElasticGpus & WithAvailabilityZone(Aws::String &&value)
void SetElasticGpuType(Aws::String &&value)
ElasticGpus & WithInstanceId(const Aws::String &value)
ElasticGpus & WithElasticGpuState(ElasticGpuState &&value)
const Aws::String & GetAvailabilityZone() const
void SetTags(const Aws::Vector< Tag > &value)
ElasticGpus & WithTags(const Aws::Vector< Tag > &value)
void SetTags(Aws::Vector< Tag > &&value)
ElasticGpus & WithElasticGpuId(Aws::String &&value)
void SetElasticGpuId(const char *value)
void SetElasticGpuHealth(const ElasticGpuHealth &value)
const ElasticGpuHealth & GetElasticGpuHealth() const
void SetElasticGpuState(ElasticGpuState &&value)
void SetAvailabilityZone(const char *value)
void SetAvailabilityZone(Aws::String &&value)
bool ElasticGpuIdHasBeenSet() const
ElasticGpus & WithElasticGpuHealth(const ElasticGpuHealth &value)
void SetElasticGpuState(const ElasticGpuState &value)
void SetElasticGpuHealth(ElasticGpuHealth &&value)
ElasticGpus & WithElasticGpuType(Aws::String &&value)
const Aws::String & GetInstanceId() const
ElasticGpus & WithInstanceId(const char *value)
ElasticGpus & WithElasticGpuHealth(ElasticGpuHealth &&value)
void SetElasticGpuId(Aws::String &&value)
AWS_EC2_API ElasticGpus(const Aws::Utils::Xml::XmlNode &xmlNode)
bool AvailabilityZoneHasBeenSet() const
bool TagsHasBeenSet() const
ElasticGpus & AddTags(const Tag &value)
ElasticGpus & WithElasticGpuType(const Aws::String &value)
const Aws::String & GetElasticGpuType() const
ElasticGpus & WithAvailabilityZone(const char *value)
bool ElasticGpuStateHasBeenSet() const
AWS_EC2_API ElasticGpus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAvailabilityZone(const Aws::String &value)
ElasticGpus & WithElasticGpuId(const Aws::String &value)
void SetInstanceId(const char *value)
AWS_EC2_API ElasticGpus()
ElasticGpus & WithTags(Aws::Vector< Tag > &&value)
ElasticGpus & WithAvailabilityZone(const Aws::String &value)
void SetElasticGpuType(const Aws::String &value)
const ElasticGpuState & GetElasticGpuState() const
bool ElasticGpuTypeHasBeenSet() const
ElasticGpus & WithElasticGpuState(const ElasticGpuState &value)
bool ElasticGpuHealthHasBeenSet() const
ElasticGpus & WithElasticGpuId(const char *value)
bool InstanceIdHasBeenSet() const
const Aws::String & GetElasticGpuId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream