AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
TransitGatewayMulticastDomainOptions.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9#include <aws/ec2/model/AutoAcceptSharedAssociationsValue.h>
10#include <aws/ec2/model/Igmpv2SupportValue.h>
11#include <aws/ec2/model/StaticSourcesSupportValue.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Xml {
18class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace EC2 {
22namespace Model {
23
31 public:
32 AWS_EC2_API TransitGatewayMulticastDomainOptions() = default;
35
36 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
37 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
38
40
44 inline Igmpv2SupportValue GetIgmpv2Support() const { return m_igmpv2Support; }
45 inline bool Igmpv2SupportHasBeenSet() const { return m_igmpv2SupportHasBeenSet; }
47 m_igmpv2SupportHasBeenSet = true;
48 m_igmpv2Support = value;
49 }
51 SetIgmpv2Support(value);
52 return *this;
53 }
55
57
61 inline StaticSourcesSupportValue GetStaticSourcesSupport() const { return m_staticSourcesSupport; }
62 inline bool StaticSourcesSupportHasBeenSet() const { return m_staticSourcesSupportHasBeenSet; }
64 m_staticSourcesSupportHasBeenSet = true;
65 m_staticSourcesSupport = value;
66 }
69 return *this;
70 }
72
74
78 inline AutoAcceptSharedAssociationsValue GetAutoAcceptSharedAssociations() const { return m_autoAcceptSharedAssociations; }
79 inline bool AutoAcceptSharedAssociationsHasBeenSet() const { return m_autoAcceptSharedAssociationsHasBeenSet; }
81 m_autoAcceptSharedAssociationsHasBeenSet = true;
82 m_autoAcceptSharedAssociations = value;
83 }
86 return *this;
87 }
89 private:
91
93
95 bool m_igmpv2SupportHasBeenSet = false;
96 bool m_staticSourcesSupportHasBeenSet = false;
97 bool m_autoAcceptSharedAssociationsHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace EC2
102} // namespace Aws
TransitGatewayMulticastDomainOptions & WithAutoAcceptSharedAssociations(AutoAcceptSharedAssociationsValue value)
void SetAutoAcceptSharedAssociations(AutoAcceptSharedAssociationsValue value)
AWS_EC2_API TransitGatewayMulticastDomainOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API TransitGatewayMulticastDomainOptions & 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
TransitGatewayMulticastDomainOptions & WithStaticSourcesSupport(StaticSourcesSupportValue value)
TransitGatewayMulticastDomainOptions & WithIgmpv2Support(Igmpv2SupportValue value)
std::basic_ostream< char, std::char_traits< char > > OStream