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); }
113 bool m_transitGatewayAttachmentIdHasBeenSet =
false;
116 bool m_resourceIdHasBeenSet =
false;
119 bool m_resourceTypeHasBeenSet =
false;
122 bool m_stateHasBeenSet =
false;
124 Aws::String m_transitGatewayRouteTableAnnouncementId;
125 bool m_transitGatewayRouteTableAnnouncementIdHasBeenSet =
false;
TransitGatewayRouteTablePropagation & WithResourceId(Aws::String &&value)
TransitGatewayRouteTablePropagation & WithTransitGatewayAttachmentId(const Aws::String &value)
TransitGatewayRouteTablePropagation & WithResourceType(const TransitGatewayAttachmentResourceType &value)
TransitGatewayRouteTablePropagation & WithTransitGatewayAttachmentId(Aws::String &&value)
void SetTransitGatewayRouteTableAnnouncementId(Aws::String &&value)
void SetTransitGatewayAttachmentId(const char *value)
bool TransitGatewayRouteTableAnnouncementIdHasBeenSet() const
TransitGatewayRouteTablePropagation & WithState(const TransitGatewayPropagationState &value)
void SetState(const TransitGatewayPropagationState &value)
const Aws::String & GetTransitGatewayAttachmentId() const
TransitGatewayRouteTablePropagation & WithTransitGatewayRouteTableAnnouncementId(Aws::String &&value)
const TransitGatewayAttachmentResourceType & GetResourceType() const
bool ResourceIdHasBeenSet() const
const Aws::String & GetResourceId() const
TransitGatewayRouteTablePropagation & WithResourceId(const char *value)
const Aws::String & GetTransitGatewayRouteTableAnnouncementId() const
void SetResourceType(TransitGatewayAttachmentResourceType &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool StateHasBeenSet() const
void SetTransitGatewayAttachmentId(const Aws::String &value)
void SetResourceId(const char *value)
bool ResourceTypeHasBeenSet() const
void SetResourceType(const TransitGatewayAttachmentResourceType &value)
TransitGatewayRouteTablePropagation & WithTransitGatewayAttachmentId(const char *value)
AWS_EC2_API TransitGatewayRouteTablePropagation(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayRouteTablePropagation & WithTransitGatewayRouteTableAnnouncementId(const Aws::String &value)
const TransitGatewayPropagationState & GetState() const
void SetTransitGatewayRouteTableAnnouncementId(const char *value)
TransitGatewayRouteTablePropagation & WithResourceId(const Aws::String &value)
void SetResourceId(Aws::String &&value)
void SetResourceId(const Aws::String &value)
bool TransitGatewayAttachmentIdHasBeenSet() const
AWS_EC2_API TransitGatewayRouteTablePropagation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayRouteTablePropagation & WithState(TransitGatewayPropagationState &&value)
void SetTransitGatewayRouteTableAnnouncementId(const Aws::String &value)
void SetState(TransitGatewayPropagationState &&value)
AWS_EC2_API TransitGatewayRouteTablePropagation()
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
TransitGatewayRouteTablePropagation & WithTransitGatewayRouteTableAnnouncementId(const char *value)
void SetTransitGatewayAttachmentId(Aws::String &&value)
TransitGatewayRouteTablePropagation & WithResourceType(TransitGatewayAttachmentResourceType &&value)
TransitGatewayPropagationState
TransitGatewayAttachmentResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream