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/AttachmentStatus.h>
52 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
72 bool m_vpcIdHasBeenSet =
false;
75 bool m_stateHasBeenSet =
false;
void SetVpcId(const Aws::String &value)
VpcAttachment & WithVpcId(const char *value)
VpcAttachment & WithVpcId(Aws::String &&value)
VpcAttachment & WithVpcId(const Aws::String &value)
void SetVpcId(const char *value)
AWS_EC2_API VpcAttachment()
void SetState(AttachmentStatus &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetVpcId(Aws::String &&value)
AWS_EC2_API VpcAttachment & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool StateHasBeenSet() const
const Aws::String & GetVpcId() const
AWS_EC2_API VpcAttachment(const Aws::Utils::Xml::XmlNode &xmlNode)
VpcAttachment & WithState(const AttachmentStatus &value)
void SetState(const AttachmentStatus &value)
VpcAttachment & WithState(AttachmentStatus &&value)
bool VpcIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const AttachmentStatus & GetState() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream