7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/AttachmentStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
66 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
74 bool m_stateHasBeenSet =
false;
77 bool m_vpcIdHasBeenSet =
false;
InternetGatewayAttachment & WithState(AttachmentStatus &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetVpcId() const
InternetGatewayAttachment & WithVpcId(Aws::String &&value)
AWS_EC2_API InternetGatewayAttachment()
const AttachmentStatus & GetState() const
bool StateHasBeenSet() const
InternetGatewayAttachment & WithVpcId(const char *value)
void SetVpcId(Aws::String &&value)
InternetGatewayAttachment & WithState(const AttachmentStatus &value)
InternetGatewayAttachment & WithVpcId(const Aws::String &value)
bool VpcIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API InternetGatewayAttachment(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API InternetGatewayAttachment & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetState(const AttachmentStatus &value)
void SetState(AttachmentStatus &&value)
void SetVpcId(const Aws::String &value)
void SetVpcId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream