AWS SDK for C++  1.9.107
AWS SDK for C++
CreateTransitGatewayMulticastDomainRequestOptions.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 CreateTransitGatewayMulticastDomainRequestOptions& WithIgmpv2Support(const Igmpv2SupportValue& value) { SetIgmpv2Support(value); return *this;}
74 
79  inline CreateTransitGatewayMulticastDomainRequestOptions& 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 CreateTransitGatewayMulticastDomainRequestOptions& WithStaticSourcesSupport(const StaticSourcesSupportValue& value) { SetStaticSourcesSupport(value); return *this;}
111 
116  inline CreateTransitGatewayMulticastDomainRequestOptions& 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 CreateTransitGatewayMulticastDomainRequestOptions& WithAutoAcceptSharedAssociations(const AutoAcceptSharedAssociationsValue& value) { SetAutoAcceptSharedAssociations(value); return *this;}
148 
153  inline CreateTransitGatewayMulticastDomainRequestOptions& 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::CreateTransitGatewayMulticastDomainRequestOptions::operator=
CreateTransitGatewayMulticastDomainRequestOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions
Definition: CreateTransitGatewayMulticastDomainRequestOptions.h:35
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::SetStaticSourcesSupport
void SetStaticSourcesSupport(const StaticSourcesSupportValue &value)
Definition: CreateTransitGatewayMulticastDomainRequestOptions.h:98
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::SetStaticSourcesSupport
void SetStaticSourcesSupport(StaticSourcesSupportValue &&value)
Definition: CreateTransitGatewayMulticastDomainRequestOptions.h:104
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::StaticSourcesSupportHasBeenSet
bool StaticSourcesSupportHasBeenSet() const
Definition: CreateTransitGatewayMulticastDomainRequestOptions.h:92
StaticSourcesSupportValue.h
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::WithIgmpv2Support
CreateTransitGatewayMulticastDomainRequestOptions & WithIgmpv2Support(const Igmpv2SupportValue &value)
Definition: CreateTransitGatewayMulticastDomainRequestOptions.h:73
Igmpv2SupportValue.h
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::CreateTransitGatewayMulticastDomainRequestOptions
CreateTransitGatewayMulticastDomainRequestOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::AutoAcceptSharedAssociationsHasBeenSet
bool AutoAcceptSharedAssociationsHasBeenSet() const
Definition: CreateTransitGatewayMulticastDomainRequestOptions.h:129
AWSStreamFwd.h
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::WithStaticSourcesSupport
CreateTransitGatewayMulticastDomainRequestOptions & WithStaticSourcesSupport(StaticSourcesSupportValue &&value)
Definition: CreateTransitGatewayMulticastDomainRequestOptions.h:116
Aws::EC2::Model::StaticSourcesSupportValue
StaticSourcesSupportValue
Definition: StaticSourcesSupportValue.h:17
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::Igmpv2SupportHasBeenSet
bool Igmpv2SupportHasBeenSet() const
Definition: CreateTransitGatewayMulticastDomainRequestOptions.h:55
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::GetIgmpv2Support
const Igmpv2SupportValue & GetIgmpv2Support() const
Definition: CreateTransitGatewayMulticastDomainRequestOptions.h:49
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::CreateTransitGatewayMulticastDomainRequestOptions
CreateTransitGatewayMulticastDomainRequestOptions()
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::SetIgmpv2Support
void SetIgmpv2Support(const Igmpv2SupportValue &value)
Definition: CreateTransitGatewayMulticastDomainRequestOptions.h:61
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::WithAutoAcceptSharedAssociations
CreateTransitGatewayMulticastDomainRequestOptions & WithAutoAcceptSharedAssociations(const AutoAcceptSharedAssociationsValue &value)
Definition: CreateTransitGatewayMulticastDomainRequestOptions.h:147
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::WithIgmpv2Support
CreateTransitGatewayMulticastDomainRequestOptions & WithIgmpv2Support(Igmpv2SupportValue &&value)
Definition: CreateTransitGatewayMulticastDomainRequestOptions.h:79
Aws::EC2::Model::AutoAcceptSharedAssociationsValue
AutoAcceptSharedAssociationsValue
Definition: AutoAcceptSharedAssociationsValue.h:17
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::SetAutoAcceptSharedAssociations
void SetAutoAcceptSharedAssociations(const AutoAcceptSharedAssociationsValue &value)
Definition: CreateTransitGatewayMulticastDomainRequestOptions.h:135
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::WithAutoAcceptSharedAssociations
CreateTransitGatewayMulticastDomainRequestOptions & WithAutoAcceptSharedAssociations(AutoAcceptSharedAssociationsValue &&value)
Definition: CreateTransitGatewayMulticastDomainRequestOptions.h:153
AutoAcceptSharedAssociationsValue.h
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::GetAutoAcceptSharedAssociations
const AutoAcceptSharedAssociationsValue & GetAutoAcceptSharedAssociations() const
Definition: CreateTransitGatewayMulticastDomainRequestOptions.h:123
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::WithStaticSourcesSupport
CreateTransitGatewayMulticastDomainRequestOptions & WithStaticSourcesSupport(const StaticSourcesSupportValue &value)
Definition: CreateTransitGatewayMulticastDomainRequestOptions.h:110
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::GetStaticSourcesSupport
const StaticSourcesSupportValue & GetStaticSourcesSupport() const
Definition: CreateTransitGatewayMulticastDomainRequestOptions.h:86
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::Igmpv2SupportValue
Igmpv2SupportValue
Definition: Igmpv2SupportValue.h:17
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::SetAutoAcceptSharedAssociations
void SetAutoAcceptSharedAssociations(AutoAcceptSharedAssociationsValue &&value)
Definition: CreateTransitGatewayMulticastDomainRequestOptions.h:141
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions::SetIgmpv2Support
void SetIgmpv2Support(Igmpv2SupportValue &&value)
Definition: CreateTransitGatewayMulticastDomainRequestOptions.h:67
EC2_EXPORTS.h