AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TransitGatewayPropagation.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace EC2
24{
25namespace Model
26{
27
34 {
35 public:
39
40 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetTransitGatewayAttachmentId() const{ return m_transitGatewayAttachmentId; }
49 inline bool TransitGatewayAttachmentIdHasBeenSet() const { return m_transitGatewayAttachmentIdHasBeenSet; }
50 inline void SetTransitGatewayAttachmentId(const Aws::String& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = value; }
51 inline void SetTransitGatewayAttachmentId(Aws::String&& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = std::move(value); }
52 inline void SetTransitGatewayAttachmentId(const char* value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId.assign(value); }
57
59
62 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
63 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
64 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
65 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
66 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
67 inline TransitGatewayPropagation& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
68 inline TransitGatewayPropagation& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
69 inline TransitGatewayPropagation& WithResourceId(const char* value) { SetResourceId(value); return *this;}
71
73
77 inline const TransitGatewayAttachmentResourceType& GetResourceType() const{ return m_resourceType; }
78 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
79 inline void SetResourceType(const TransitGatewayAttachmentResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
80 inline void SetResourceType(TransitGatewayAttachmentResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
84
86
89 inline const Aws::String& GetTransitGatewayRouteTableId() const{ return m_transitGatewayRouteTableId; }
90 inline bool TransitGatewayRouteTableIdHasBeenSet() const { return m_transitGatewayRouteTableIdHasBeenSet; }
91 inline void SetTransitGatewayRouteTableId(const Aws::String& value) { m_transitGatewayRouteTableIdHasBeenSet = true; m_transitGatewayRouteTableId = value; }
92 inline void SetTransitGatewayRouteTableId(Aws::String&& value) { m_transitGatewayRouteTableIdHasBeenSet = true; m_transitGatewayRouteTableId = std::move(value); }
93 inline void SetTransitGatewayRouteTableId(const char* value) { m_transitGatewayRouteTableIdHasBeenSet = true; m_transitGatewayRouteTableId.assign(value); }
98
100
103 inline const TransitGatewayPropagationState& GetState() const{ return m_state; }
104 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
105 inline void SetState(const TransitGatewayPropagationState& value) { m_stateHasBeenSet = true; m_state = value; }
106 inline void SetState(TransitGatewayPropagationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
107 inline TransitGatewayPropagation& WithState(const TransitGatewayPropagationState& value) { SetState(value); return *this;}
108 inline TransitGatewayPropagation& WithState(TransitGatewayPropagationState&& value) { SetState(std::move(value)); return *this;}
110
112
115 inline const Aws::String& GetTransitGatewayRouteTableAnnouncementId() const{ return m_transitGatewayRouteTableAnnouncementId; }
116 inline bool TransitGatewayRouteTableAnnouncementIdHasBeenSet() const { return m_transitGatewayRouteTableAnnouncementIdHasBeenSet; }
117 inline void SetTransitGatewayRouteTableAnnouncementId(const Aws::String& value) { m_transitGatewayRouteTableAnnouncementIdHasBeenSet = true; m_transitGatewayRouteTableAnnouncementId = value; }
118 inline void SetTransitGatewayRouteTableAnnouncementId(Aws::String&& value) { m_transitGatewayRouteTableAnnouncementIdHasBeenSet = true; m_transitGatewayRouteTableAnnouncementId = std::move(value); }
119 inline void SetTransitGatewayRouteTableAnnouncementId(const char* value) { m_transitGatewayRouteTableAnnouncementIdHasBeenSet = true; m_transitGatewayRouteTableAnnouncementId.assign(value); }
124 private:
125
126 Aws::String m_transitGatewayAttachmentId;
127 bool m_transitGatewayAttachmentIdHasBeenSet = false;
128
129 Aws::String m_resourceId;
130 bool m_resourceIdHasBeenSet = false;
131
133 bool m_resourceTypeHasBeenSet = false;
134
135 Aws::String m_transitGatewayRouteTableId;
136 bool m_transitGatewayRouteTableIdHasBeenSet = false;
137
139 bool m_stateHasBeenSet = false;
140
141 Aws::String m_transitGatewayRouteTableAnnouncementId;
142 bool m_transitGatewayRouteTableAnnouncementIdHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace EC2
147} // namespace Aws
TransitGatewayPropagation & WithTransitGatewayAttachmentId(const char *value)
const TransitGatewayAttachmentResourceType & GetResourceType() const
void SetTransitGatewayRouteTableId(const Aws::String &value)
TransitGatewayPropagation & WithTransitGatewayRouteTableId(const Aws::String &value)
TransitGatewayPropagation & WithTransitGatewayRouteTableAnnouncementId(const char *value)
TransitGatewayPropagation & WithTransitGatewayAttachmentId(const Aws::String &value)
AWS_EC2_API TransitGatewayPropagation(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayPropagation & WithTransitGatewayRouteTableId(Aws::String &&value)
TransitGatewayPropagation & WithResourceId(const Aws::String &value)
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)
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
void SetState(const TransitGatewayPropagationState &value)
TransitGatewayPropagation & WithResourceId(Aws::String &&value)
TransitGatewayPropagation & WithTransitGatewayRouteTableId(const char *value)
void SetTransitGatewayRouteTableAnnouncementId(Aws::String &&value)
void SetResourceType(TransitGatewayAttachmentResourceType &&value)
TransitGatewayPropagation & WithTransitGatewayAttachmentId(Aws::String &&value)
AWS_EC2_API TransitGatewayPropagation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayPropagation & WithResourceType(TransitGatewayAttachmentResourceType &&value)
void SetTransitGatewayAttachmentId(const Aws::String &value)
void SetTransitGatewayRouteTableAnnouncementId(const Aws::String &value)
const Aws::String & GetTransitGatewayRouteTableAnnouncementId() const
TransitGatewayPropagation & WithResourceId(const char *value)
void SetResourceType(const TransitGatewayAttachmentResourceType &value)
TransitGatewayPropagation & WithState(TransitGatewayPropagationState &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream