7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/InternetGatewayAttachment.h>
12#include <aws/ec2/model/Tag.h>
67 inline void SetInternetGatewayId(
const char* value) { m_internetGatewayIdHasBeenSet =
true; m_internetGatewayId.assign(value); }
81 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
103 bool m_attachmentsHasBeenSet =
false;
106 bool m_internetGatewayIdHasBeenSet =
false;
109 bool m_ownerIdHasBeenSet =
false;
112 bool m_tagsHasBeenSet =
false;
void SetOwnerId(Aws::String &&value)
void SetOwnerId(const char *value)
InternetGateway & AddTags(const Tag &value)
InternetGateway & AddAttachments(InternetGatewayAttachment &&value)
bool InternetGatewayIdHasBeenSet() const
bool AttachmentsHasBeenSet() const
void SetAttachments(const Aws::Vector< InternetGatewayAttachment > &value)
InternetGateway & WithOwnerId(const char *value)
void SetInternetGatewayId(const Aws::String &value)
const Aws::String & GetInternetGatewayId() const
InternetGateway & WithOwnerId(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API InternetGateway()
InternetGateway & WithTags(const Aws::Vector< Tag > &value)
InternetGateway & WithOwnerId(const Aws::String &value)
void SetInternetGatewayId(Aws::String &&value)
InternetGateway & AddAttachments(const InternetGatewayAttachment &value)
void SetAttachments(Aws::Vector< InternetGatewayAttachment > &&value)
void SetTags(Aws::Vector< Tag > &&value)
AWS_EC2_API InternetGateway(const Aws::Utils::Xml::XmlNode &xmlNode)
InternetGateway & AddTags(Tag &&value)
AWS_EC2_API InternetGateway & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
InternetGateway & WithAttachments(Aws::Vector< InternetGatewayAttachment > &&value)
void SetOwnerId(const Aws::String &value)
const Aws::Vector< InternetGatewayAttachment > & GetAttachments() const
bool OwnerIdHasBeenSet() const
const Aws::String & GetOwnerId() const
InternetGateway & WithInternetGatewayId(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
bool TagsHasBeenSet() const
void SetInternetGatewayId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
InternetGateway & WithInternetGatewayId(const Aws::String &value)
InternetGateway & WithInternetGatewayId(Aws::String &&value)
InternetGateway & WithTags(Aws::Vector< Tag > &&value)
InternetGateway & WithAttachments(const Aws::Vector< InternetGatewayAttachment > &value)
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