7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/TransitGatewayAttachmentResourceType.h>
11#include <aws/ec2/model/TransitGatewayPropagationState.h>
44 template <
typename TransitGatewayAttachmentIdT = Aws::String>
46 m_transitGatewayAttachmentIdHasBeenSet =
true;
47 m_transitGatewayAttachmentId = std::forward<TransitGatewayAttachmentIdT>(value);
49 template <
typename TransitGatewayAttachmentIdT = Aws::String>
62 template <
typename ResourceIdT = Aws::String>
64 m_resourceIdHasBeenSet =
true;
65 m_resourceId = std::forward<ResourceIdT>(value);
67 template <
typename ResourceIdT = Aws::String>
82 m_resourceTypeHasBeenSet =
true;
83 m_resourceType = value;
97 template <
typename TransitGatewayRouteTableIdT = Aws::String>
99 m_transitGatewayRouteTableIdHasBeenSet =
true;
100 m_transitGatewayRouteTableId = std::forward<TransitGatewayRouteTableIdT>(value);
102 template <
typename TransitGatewayRouteTableIdT = Aws::String>
116 m_stateHasBeenSet =
true;
131 template <
typename TransitGatewayRouteTableAnnouncementIdT = Aws::String>
133 m_transitGatewayRouteTableAnnouncementIdHasBeenSet =
true;
134 m_transitGatewayRouteTableAnnouncementId = std::forward<TransitGatewayRouteTableAnnouncementIdT>(value);
136 template <
typename TransitGatewayRouteTableAnnouncementIdT = Aws::String>
153 Aws::String m_transitGatewayRouteTableAnnouncementId;
154 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
155 bool m_resourceIdHasBeenSet =
false;
156 bool m_resourceTypeHasBeenSet =
false;
157 bool m_transitGatewayRouteTableIdHasBeenSet =
false;
158 bool m_stateHasBeenSet =
false;
159 bool m_transitGatewayRouteTableAnnouncementIdHasBeenSet =
false;
bool ResourceIdHasBeenSet() const
const Aws::String & GetResourceId() const
TransitGatewayPropagation & WithResourceType(TransitGatewayAttachmentResourceType value)
AWS_EC2_API TransitGatewayPropagation(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayPropagation & WithResourceId(ResourceIdT &&value)
const Aws::String & GetTransitGatewayRouteTableId() const
void SetResourceType(TransitGatewayAttachmentResourceType value)
void SetState(TransitGatewayPropagationState value)
TransitGatewayPropagationState GetState() const
bool TransitGatewayAttachmentIdHasBeenSet() const
TransitGatewayPropagation & WithTransitGatewayRouteTableId(TransitGatewayRouteTableIdT &&value)
bool TransitGatewayRouteTableAnnouncementIdHasBeenSet() const
void SetTransitGatewayRouteTableAnnouncementId(TransitGatewayRouteTableAnnouncementIdT &&value)
bool TransitGatewayRouteTableIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool ResourceTypeHasBeenSet() const
const Aws::String & GetTransitGatewayAttachmentId() const
TransitGatewayPropagation & WithTransitGatewayRouteTableAnnouncementId(TransitGatewayRouteTableAnnouncementIdT &&value)
AWS_EC2_API TransitGatewayPropagation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API TransitGatewayPropagation()=default
const Aws::String & GetTransitGatewayRouteTableAnnouncementId() const
TransitGatewayAttachmentResourceType GetResourceType() const
void SetTransitGatewayRouteTableId(TransitGatewayRouteTableIdT &&value)
TransitGatewayPropagation & WithTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
void SetTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
void SetResourceId(ResourceIdT &&value)
TransitGatewayPropagation & WithState(TransitGatewayPropagationState value)
bool StateHasBeenSet() const
TransitGatewayPropagationState
TransitGatewayAttachmentResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream