/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an internet gateway.See Also:
AWS
* API Reference
Any VPCs attached to the internet gateway.
*/ inline const Aws::VectorAny VPCs attached to the internet gateway.
*/ inline bool AttachmentsHasBeenSet() const { return m_attachmentsHasBeenSet; } /** *Any VPCs attached to the internet gateway.
*/ inline void SetAttachments(const Aws::VectorAny VPCs attached to the internet gateway.
*/ inline void SetAttachments(Aws::VectorAny VPCs attached to the internet gateway.
*/ inline InternetGateway& WithAttachments(const Aws::VectorAny VPCs attached to the internet gateway.
*/ inline InternetGateway& WithAttachments(Aws::VectorAny VPCs attached to the internet gateway.
*/ inline InternetGateway& AddAttachments(const InternetGatewayAttachment& value) { m_attachmentsHasBeenSet = true; m_attachments.push_back(value); return *this; } /** *Any VPCs attached to the internet gateway.
*/ inline InternetGateway& AddAttachments(InternetGatewayAttachment&& value) { m_attachmentsHasBeenSet = true; m_attachments.push_back(std::move(value)); return *this; } /** *The ID of the internet gateway.
*/ inline const Aws::String& GetInternetGatewayId() const{ return m_internetGatewayId; } /** *The ID of the internet gateway.
*/ inline bool InternetGatewayIdHasBeenSet() const { return m_internetGatewayIdHasBeenSet; } /** *The ID of the internet gateway.
*/ inline void SetInternetGatewayId(const Aws::String& value) { m_internetGatewayIdHasBeenSet = true; m_internetGatewayId = value; } /** *The ID of the internet gateway.
*/ inline void SetInternetGatewayId(Aws::String&& value) { m_internetGatewayIdHasBeenSet = true; m_internetGatewayId = std::move(value); } /** *The ID of the internet gateway.
*/ inline void SetInternetGatewayId(const char* value) { m_internetGatewayIdHasBeenSet = true; m_internetGatewayId.assign(value); } /** *The ID of the internet gateway.
*/ inline InternetGateway& WithInternetGatewayId(const Aws::String& value) { SetInternetGatewayId(value); return *this;} /** *The ID of the internet gateway.
*/ inline InternetGateway& WithInternetGatewayId(Aws::String&& value) { SetInternetGatewayId(std::move(value)); return *this;} /** *The ID of the internet gateway.
*/ inline InternetGateway& WithInternetGatewayId(const char* value) { SetInternetGatewayId(value); return *this;} /** *The ID of the Amazon Web Services account that owns the internet gateway.
*/ inline const Aws::String& GetOwnerId() const{ return m_ownerId; } /** *The ID of the Amazon Web Services account that owns the internet gateway.
*/ inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; } /** *The ID of the Amazon Web Services account that owns the internet gateway.
*/ inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; } /** *The ID of the Amazon Web Services account that owns the internet gateway.
*/ inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); } /** *The ID of the Amazon Web Services account that owns the internet gateway.
*/ inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); } /** *The ID of the Amazon Web Services account that owns the internet gateway.
*/ inline InternetGateway& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *The ID of the Amazon Web Services account that owns the internet gateway.
*/ inline InternetGateway& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that owns the internet gateway.
*/ inline InternetGateway& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} /** *Any tags assigned to the internet gateway.
*/ inline const Aws::VectorAny tags assigned to the internet gateway.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Any tags assigned to the internet gateway.
*/ inline void SetTags(const Aws::VectorAny tags assigned to the internet gateway.
*/ inline void SetTags(Aws::VectorAny tags assigned to the internet gateway.
*/ inline InternetGateway& WithTags(const Aws::VectorAny tags assigned to the internet gateway.
*/ inline InternetGateway& WithTags(Aws::VectorAny tags assigned to the internet gateway.
*/ inline InternetGateway& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *Any tags assigned to the internet gateway.
*/ inline InternetGateway& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::Vector