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/TransitGatewayAttachmentResourceType.h>
11#include <aws/ec2/model/TransitGatewayPropagationState.h>
52 inline void SetTransitGatewayAttachmentId(
const char* value) { m_transitGatewayAttachmentIdHasBeenSet =
true; m_transitGatewayAttachmentId.assign(value); }
66 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
93 inline void SetTransitGatewayRouteTableId(
const char* value) { m_transitGatewayRouteTableIdHasBeenSet =
true; m_transitGatewayRouteTableId.assign(value); }
127 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
130 bool m_resourceIdHasBeenSet =
false;
133 bool m_resourceTypeHasBeenSet =
false;
136 bool m_transitGatewayRouteTableIdHasBeenSet =
false;
139 bool m_stateHasBeenSet =
false;
141 Aws::String m_transitGatewayRouteTableAnnouncementId;
142 bool m_transitGatewayRouteTableAnnouncementIdHasBeenSet =
false;
TransitGatewayPropagation & WithTransitGatewayAttachmentId(const char *value)
bool ResourceIdHasBeenSet() const
const Aws::String & GetResourceId() const
const TransitGatewayAttachmentResourceType & GetResourceType() const
void SetTransitGatewayRouteTableId(const Aws::String &value)
void SetTransitGatewayAttachmentId(Aws::String &&value)
TransitGatewayPropagation & WithTransitGatewayRouteTableId(const Aws::String &value)
TransitGatewayPropagation & WithTransitGatewayRouteTableAnnouncementId(const char *value)
void SetResourceId(const Aws::String &value)
TransitGatewayPropagation & WithTransitGatewayAttachmentId(const Aws::String &value)
void SetResourceId(const char *value)
AWS_EC2_API TransitGatewayPropagation(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayPropagation & WithTransitGatewayRouteTableId(Aws::String &&value)
void SetTransitGatewayRouteTableId(const char *value)
const Aws::String & GetTransitGatewayRouteTableId() const
TransitGatewayPropagation & WithResourceId(const Aws::String &value)
bool TransitGatewayAttachmentIdHasBeenSet() const
bool TransitGatewayRouteTableAnnouncementIdHasBeenSet() const
void SetState(TransitGatewayPropagationState &&value)
TransitGatewayPropagation & WithState(const TransitGatewayPropagationState &value)
const TransitGatewayPropagationState & GetState() const
TransitGatewayPropagation & WithResourceType(const TransitGatewayAttachmentResourceType &value)
TransitGatewayPropagation & WithTransitGatewayRouteTableAnnouncementId(const Aws::String &value)
TransitGatewayPropagation & WithTransitGatewayRouteTableAnnouncementId(Aws::String &&value)
bool TransitGatewayRouteTableIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTransitGatewayRouteTableId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetState(const TransitGatewayPropagationState &value)
bool ResourceTypeHasBeenSet() const
TransitGatewayPropagation & WithResourceId(Aws::String &&value)
TransitGatewayPropagation & WithTransitGatewayRouteTableId(const char *value)
void SetTransitGatewayRouteTableAnnouncementId(Aws::String &&value)
void SetResourceType(TransitGatewayAttachmentResourceType &&value)
const Aws::String & GetTransitGatewayAttachmentId() const
TransitGatewayPropagation & WithTransitGatewayAttachmentId(Aws::String &&value)
AWS_EC2_API TransitGatewayPropagation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayPropagation & WithResourceType(TransitGatewayAttachmentResourceType &&value)
void SetTransitGatewayAttachmentId(const char *value)
void SetTransitGatewayAttachmentId(const Aws::String &value)
void SetTransitGatewayRouteTableAnnouncementId(const Aws::String &value)
AWS_EC2_API TransitGatewayPropagation()
void SetTransitGatewayRouteTableAnnouncementId(const char *value)
const Aws::String & GetTransitGatewayRouteTableAnnouncementId() const
TransitGatewayPropagation & WithResourceId(const char *value)
void SetResourceType(const TransitGatewayAttachmentResourceType &value)
void SetResourceId(Aws::String &&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