AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TransitGatewayMulticastDomain.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/TransitGatewayMulticastDomainOptions.h>
11#include <aws/ec2/model/TransitGatewayMulticastDomainState.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ec2/model/Tag.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Xml
22{
23 class XmlNode;
24} // namespace Xml
25} // namespace Utils
26namespace EC2
27{
28namespace Model
29{
30
37 {
38 public:
42
43 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
51 inline const Aws::String& GetTransitGatewayMulticastDomainId() const{ return m_transitGatewayMulticastDomainId; }
52 inline bool TransitGatewayMulticastDomainIdHasBeenSet() const { return m_transitGatewayMulticastDomainIdHasBeenSet; }
53 inline void SetTransitGatewayMulticastDomainId(const Aws::String& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = value; }
54 inline void SetTransitGatewayMulticastDomainId(Aws::String&& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = std::move(value); }
55 inline void SetTransitGatewayMulticastDomainId(const char* value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId.assign(value); }
60
62
65 inline const Aws::String& GetTransitGatewayId() const{ return m_transitGatewayId; }
66 inline bool TransitGatewayIdHasBeenSet() const { return m_transitGatewayIdHasBeenSet; }
67 inline void SetTransitGatewayId(const Aws::String& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = value; }
68 inline void SetTransitGatewayId(Aws::String&& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = std::move(value); }
69 inline void SetTransitGatewayId(const char* value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId.assign(value); }
71 inline TransitGatewayMulticastDomain& WithTransitGatewayId(Aws::String&& value) { SetTransitGatewayId(std::move(value)); return *this;}
72 inline TransitGatewayMulticastDomain& WithTransitGatewayId(const char* value) { SetTransitGatewayId(value); return *this;}
74
76
79 inline const Aws::String& GetTransitGatewayMulticastDomainArn() const{ return m_transitGatewayMulticastDomainArn; }
80 inline bool TransitGatewayMulticastDomainArnHasBeenSet() const { return m_transitGatewayMulticastDomainArnHasBeenSet; }
81 inline void SetTransitGatewayMulticastDomainArn(const Aws::String& value) { m_transitGatewayMulticastDomainArnHasBeenSet = true; m_transitGatewayMulticastDomainArn = value; }
82 inline void SetTransitGatewayMulticastDomainArn(Aws::String&& value) { m_transitGatewayMulticastDomainArnHasBeenSet = true; m_transitGatewayMulticastDomainArn = std::move(value); }
83 inline void SetTransitGatewayMulticastDomainArn(const char* value) { m_transitGatewayMulticastDomainArnHasBeenSet = true; m_transitGatewayMulticastDomainArn.assign(value); }
88
90
94 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
95 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
96 inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
97 inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
98 inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
99 inline TransitGatewayMulticastDomain& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
100 inline TransitGatewayMulticastDomain& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
101 inline TransitGatewayMulticastDomain& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
103
105
108 inline const TransitGatewayMulticastDomainOptions& GetOptions() const{ return m_options; }
109 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
110 inline void SetOptions(const TransitGatewayMulticastDomainOptions& value) { m_optionsHasBeenSet = true; m_options = value; }
111 inline void SetOptions(TransitGatewayMulticastDomainOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
115
117
120 inline const TransitGatewayMulticastDomainState& GetState() const{ return m_state; }
121 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
122 inline void SetState(const TransitGatewayMulticastDomainState& value) { m_stateHasBeenSet = true; m_state = value; }
123 inline void SetState(TransitGatewayMulticastDomainState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
125 inline TransitGatewayMulticastDomain& WithState(TransitGatewayMulticastDomainState&& value) { SetState(std::move(value)); return *this;}
127
129
132 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
133 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
134 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
135 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
137 inline TransitGatewayMulticastDomain& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
139
141
144 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
145 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
146 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
147 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
148 inline TransitGatewayMulticastDomain& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
149 inline TransitGatewayMulticastDomain& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
150 inline TransitGatewayMulticastDomain& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
151 inline TransitGatewayMulticastDomain& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
153 private:
154
155 Aws::String m_transitGatewayMulticastDomainId;
156 bool m_transitGatewayMulticastDomainIdHasBeenSet = false;
157
158 Aws::String m_transitGatewayId;
159 bool m_transitGatewayIdHasBeenSet = false;
160
161 Aws::String m_transitGatewayMulticastDomainArn;
162 bool m_transitGatewayMulticastDomainArnHasBeenSet = false;
163
164 Aws::String m_ownerId;
165 bool m_ownerIdHasBeenSet = false;
166
168 bool m_optionsHasBeenSet = false;
169
171 bool m_stateHasBeenSet = false;
172
173 Aws::Utils::DateTime m_creationTime;
174 bool m_creationTimeHasBeenSet = false;
175
176 Aws::Vector<Tag> m_tags;
177 bool m_tagsHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace EC2
182} // namespace Aws
TransitGatewayMulticastDomain & WithTransitGatewayMulticastDomainArn(Aws::String &&value)
TransitGatewayMulticastDomain & WithOwnerId(const char *value)
TransitGatewayMulticastDomain & WithOwnerId(Aws::String &&value)
void SetState(const TransitGatewayMulticastDomainState &value)
TransitGatewayMulticastDomain & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_EC2_API TransitGatewayMulticastDomain(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayMulticastDomain & WithState(const TransitGatewayMulticastDomainState &value)
TransitGatewayMulticastDomain & WithCreationTime(const Aws::Utils::DateTime &value)
TransitGatewayMulticastDomain & WithTags(Aws::Vector< Tag > &&value)
TransitGatewayMulticastDomain & AddTags(Tag &&value)
TransitGatewayMulticastDomain & WithTransitGatewayId(Aws::String &&value)
void SetOptions(TransitGatewayMulticastDomainOptions &&value)
const TransitGatewayMulticastDomainOptions & GetOptions() const
TransitGatewayMulticastDomain & WithTransitGatewayMulticastDomainId(const Aws::String &value)
TransitGatewayMulticastDomain & WithTransitGatewayId(const char *value)
TransitGatewayMulticastDomain & WithTags(const Aws::Vector< Tag > &value)
TransitGatewayMulticastDomain & WithOwnerId(const Aws::String &value)
const TransitGatewayMulticastDomainState & GetState() const
TransitGatewayMulticastDomain & WithTransitGatewayMulticastDomainArn(const Aws::String &value)
TransitGatewayMulticastDomain & WithTransitGatewayId(const Aws::String &value)
TransitGatewayMulticastDomain & WithTransitGatewayMulticastDomainId(Aws::String &&value)
TransitGatewayMulticastDomain & WithTransitGatewayMulticastDomainId(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
TransitGatewayMulticastDomain & WithTransitGatewayMulticastDomainArn(const char *value)
void SetState(TransitGatewayMulticastDomainState &&value)
void SetOptions(const TransitGatewayMulticastDomainOptions &value)
TransitGatewayMulticastDomain & AddTags(const Tag &value)
AWS_EC2_API TransitGatewayMulticastDomain & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
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
TransitGatewayMulticastDomain & WithOptions(TransitGatewayMulticastDomainOptions &&value)
TransitGatewayMulticastDomain & WithOptions(const TransitGatewayMulticastDomainOptions &value)
TransitGatewayMulticastDomain & WithState(TransitGatewayMulticastDomainState &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream