AWS SDK for C++  1.9.70
AWS SDK for C++
TransitGatewayMulticastDomainOptions.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace EC2
24 {
25 namespace Model
26 {
27 
35  {
36  public:
40 
41  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42  void OutputToStream(Aws::OStream& oStream, const char* location) const;
43 
44 
49  inline const Igmpv2SupportValue& GetIgmpv2Support() const{ return m_igmpv2Support; }
50 
55  inline bool Igmpv2SupportHasBeenSet() const { return m_igmpv2SupportHasBeenSet; }
56 
61  inline void SetIgmpv2Support(const Igmpv2SupportValue& value) { m_igmpv2SupportHasBeenSet = true; m_igmpv2Support = value; }
62 
67  inline void SetIgmpv2Support(Igmpv2SupportValue&& value) { m_igmpv2SupportHasBeenSet = true; m_igmpv2Support = std::move(value); }
68 
73  inline TransitGatewayMulticastDomainOptions& WithIgmpv2Support(const Igmpv2SupportValue& value) { SetIgmpv2Support(value); return *this;}
74 
79  inline TransitGatewayMulticastDomainOptions& WithIgmpv2Support(Igmpv2SupportValue&& value) { SetIgmpv2Support(std::move(value)); return *this;}
80 
81 
86  inline const StaticSourcesSupportValue& GetStaticSourcesSupport() const{ return m_staticSourcesSupport; }
87 
92  inline bool StaticSourcesSupportHasBeenSet() const { return m_staticSourcesSupportHasBeenSet; }
93 
98  inline void SetStaticSourcesSupport(const StaticSourcesSupportValue& value) { m_staticSourcesSupportHasBeenSet = true; m_staticSourcesSupport = value; }
99 
104  inline void SetStaticSourcesSupport(StaticSourcesSupportValue&& value) { m_staticSourcesSupportHasBeenSet = true; m_staticSourcesSupport = std::move(value); }
105 
110  inline TransitGatewayMulticastDomainOptions& WithStaticSourcesSupport(const StaticSourcesSupportValue& value) { SetStaticSourcesSupport(value); return *this;}
111 
116  inline TransitGatewayMulticastDomainOptions& WithStaticSourcesSupport(StaticSourcesSupportValue&& value) { SetStaticSourcesSupport(std::move(value)); return *this;}
117 
118 
123  inline const AutoAcceptSharedAssociationsValue& GetAutoAcceptSharedAssociations() const{ return m_autoAcceptSharedAssociations; }
124 
129  inline bool AutoAcceptSharedAssociationsHasBeenSet() const { return m_autoAcceptSharedAssociationsHasBeenSet; }
130 
135  inline void SetAutoAcceptSharedAssociations(const AutoAcceptSharedAssociationsValue& value) { m_autoAcceptSharedAssociationsHasBeenSet = true; m_autoAcceptSharedAssociations = value; }
136 
141  inline void SetAutoAcceptSharedAssociations(AutoAcceptSharedAssociationsValue&& value) { m_autoAcceptSharedAssociationsHasBeenSet = true; m_autoAcceptSharedAssociations = std::move(value); }
142 
147  inline TransitGatewayMulticastDomainOptions& WithAutoAcceptSharedAssociations(const AutoAcceptSharedAssociationsValue& value) { SetAutoAcceptSharedAssociations(value); return *this;}
148 
153  inline TransitGatewayMulticastDomainOptions& WithAutoAcceptSharedAssociations(AutoAcceptSharedAssociationsValue&& value) { SetAutoAcceptSharedAssociations(std::move(value)); return *this;}
154 
155  private:
156 
157  Igmpv2SupportValue m_igmpv2Support;
158  bool m_igmpv2SupportHasBeenSet;
159 
160  StaticSourcesSupportValue m_staticSourcesSupport;
161  bool m_staticSourcesSupportHasBeenSet;
162 
163  AutoAcceptSharedAssociationsValue m_autoAcceptSharedAssociations;
164  bool m_autoAcceptSharedAssociationsHasBeenSet;
165  };
166 
167 } // namespace Model
168 } // namespace EC2
169 } // namespace Aws
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::TransitGatewayMulticastDomainOptions
TransitGatewayMulticastDomainOptions()
Aws::EC2::Model::TransitGatewayMulticastDomainOptions
Definition: TransitGatewayMulticastDomainOptions.h:35
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::SetAutoAcceptSharedAssociations
void SetAutoAcceptSharedAssociations(const AutoAcceptSharedAssociationsValue &value)
Definition: TransitGatewayMulticastDomainOptions.h:135
StaticSourcesSupportValue.h
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::WithIgmpv2Support
TransitGatewayMulticastDomainOptions & WithIgmpv2Support(const Igmpv2SupportValue &value)
Definition: TransitGatewayMulticastDomainOptions.h:73
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Igmpv2SupportValue.h
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::WithAutoAcceptSharedAssociations
TransitGatewayMulticastDomainOptions & WithAutoAcceptSharedAssociations(AutoAcceptSharedAssociationsValue &&value)
Definition: TransitGatewayMulticastDomainOptions.h:153
AWSStreamFwd.h
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::SetAutoAcceptSharedAssociations
void SetAutoAcceptSharedAssociations(AutoAcceptSharedAssociationsValue &&value)
Definition: TransitGatewayMulticastDomainOptions.h:141
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::GetIgmpv2Support
const Igmpv2SupportValue & GetIgmpv2Support() const
Definition: TransitGatewayMulticastDomainOptions.h:49
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::WithStaticSourcesSupport
TransitGatewayMulticastDomainOptions & WithStaticSourcesSupport(StaticSourcesSupportValue &&value)
Definition: TransitGatewayMulticastDomainOptions.h:116
Aws::EC2::Model::StaticSourcesSupportValue
StaticSourcesSupportValue
Definition: StaticSourcesSupportValue.h:17
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::SetStaticSourcesSupport
void SetStaticSourcesSupport(StaticSourcesSupportValue &&value)
Definition: TransitGatewayMulticastDomainOptions.h:104
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::SetStaticSourcesSupport
void SetStaticSourcesSupport(const StaticSourcesSupportValue &value)
Definition: TransitGatewayMulticastDomainOptions.h:98
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::WithIgmpv2Support
TransitGatewayMulticastDomainOptions & WithIgmpv2Support(Igmpv2SupportValue &&value)
Definition: TransitGatewayMulticastDomainOptions.h:79
Aws::EC2::Model::AutoAcceptSharedAssociationsValue
AutoAcceptSharedAssociationsValue
Definition: AutoAcceptSharedAssociationsValue.h:17
AutoAcceptSharedAssociationsValue.h
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::StaticSourcesSupportHasBeenSet
bool StaticSourcesSupportHasBeenSet() const
Definition: TransitGatewayMulticastDomainOptions.h:92
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::operator=
TransitGatewayMulticastDomainOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::GetStaticSourcesSupport
const StaticSourcesSupportValue & GetStaticSourcesSupport() const
Definition: TransitGatewayMulticastDomainOptions.h:86
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::WithStaticSourcesSupport
TransitGatewayMulticastDomainOptions & WithStaticSourcesSupport(const StaticSourcesSupportValue &value)
Definition: TransitGatewayMulticastDomainOptions.h:110
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::TransitGatewayMulticastDomainOptions
TransitGatewayMulticastDomainOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::Igmpv2SupportValue
Igmpv2SupportValue
Definition: Igmpv2SupportValue.h:17
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::SetIgmpv2Support
void SetIgmpv2Support(Igmpv2SupportValue &&value)
Definition: TransitGatewayMulticastDomainOptions.h:67
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::GetAutoAcceptSharedAssociations
const AutoAcceptSharedAssociationsValue & GetAutoAcceptSharedAssociations() const
Definition: TransitGatewayMulticastDomainOptions.h:123
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::WithAutoAcceptSharedAssociations
TransitGatewayMulticastDomainOptions & WithAutoAcceptSharedAssociations(const AutoAcceptSharedAssociationsValue &value)
Definition: TransitGatewayMulticastDomainOptions.h:147
EC2_EXPORTS.h
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::AutoAcceptSharedAssociationsHasBeenSet
bool AutoAcceptSharedAssociationsHasBeenSet() const
Definition: TransitGatewayMulticastDomainOptions.h:129
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::SetIgmpv2Support
void SetIgmpv2Support(const Igmpv2SupportValue &value)
Definition: TransitGatewayMulticastDomainOptions.h:61
Aws::EC2::Model::TransitGatewayMulticastDomainOptions::Igmpv2SupportHasBeenSet
bool Igmpv2SupportHasBeenSet() const
Definition: TransitGatewayMulticastDomainOptions.h:55