AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TransitGatewayMulticastRegisteredGroupSources.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/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace EC2
23{
24namespace Model
25{
26
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& GetTransitGatewayMulticastDomainId() const { return m_transitGatewayMulticastDomainId; }
49 inline bool TransitGatewayMulticastDomainIdHasBeenSet() const { return m_transitGatewayMulticastDomainIdHasBeenSet; }
50 template<typename TransitGatewayMulticastDomainIdT = Aws::String>
51 void SetTransitGatewayMulticastDomainId(TransitGatewayMulticastDomainIdT&& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = std::forward<TransitGatewayMulticastDomainIdT>(value); }
52 template<typename TransitGatewayMulticastDomainIdT = Aws::String>
53 TransitGatewayMulticastRegisteredGroupSources& WithTransitGatewayMulticastDomainId(TransitGatewayMulticastDomainIdT&& value) { SetTransitGatewayMulticastDomainId(std::forward<TransitGatewayMulticastDomainIdT>(value)); return *this;}
55
57
61 inline const Aws::Vector<Aws::String>& GetRegisteredNetworkInterfaceIds() const { return m_registeredNetworkInterfaceIds; }
62 inline bool RegisteredNetworkInterfaceIdsHasBeenSet() const { return m_registeredNetworkInterfaceIdsHasBeenSet; }
63 template<typename RegisteredNetworkInterfaceIdsT = Aws::Vector<Aws::String>>
64 void SetRegisteredNetworkInterfaceIds(RegisteredNetworkInterfaceIdsT&& value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds = std::forward<RegisteredNetworkInterfaceIdsT>(value); }
65 template<typename RegisteredNetworkInterfaceIdsT = Aws::Vector<Aws::String>>
66 TransitGatewayMulticastRegisteredGroupSources& WithRegisteredNetworkInterfaceIds(RegisteredNetworkInterfaceIdsT&& value) { SetRegisteredNetworkInterfaceIds(std::forward<RegisteredNetworkInterfaceIdsT>(value)); return *this;}
67 template<typename RegisteredNetworkInterfaceIdsT = Aws::String>
68 TransitGatewayMulticastRegisteredGroupSources& AddRegisteredNetworkInterfaceIds(RegisteredNetworkInterfaceIdsT&& value) { m_registeredNetworkInterfaceIdsHasBeenSet = true; m_registeredNetworkInterfaceIds.emplace_back(std::forward<RegisteredNetworkInterfaceIdsT>(value)); return *this; }
70
72
75 inline const Aws::String& GetGroupIpAddress() const { return m_groupIpAddress; }
76 inline bool GroupIpAddressHasBeenSet() const { return m_groupIpAddressHasBeenSet; }
77 template<typename GroupIpAddressT = Aws::String>
78 void SetGroupIpAddress(GroupIpAddressT&& value) { m_groupIpAddressHasBeenSet = true; m_groupIpAddress = std::forward<GroupIpAddressT>(value); }
79 template<typename GroupIpAddressT = Aws::String>
80 TransitGatewayMulticastRegisteredGroupSources& WithGroupIpAddress(GroupIpAddressT&& value) { SetGroupIpAddress(std::forward<GroupIpAddressT>(value)); return *this;}
82 private:
83
84 Aws::String m_transitGatewayMulticastDomainId;
85 bool m_transitGatewayMulticastDomainIdHasBeenSet = false;
86
87 Aws::Vector<Aws::String> m_registeredNetworkInterfaceIds;
88 bool m_registeredNetworkInterfaceIdsHasBeenSet = false;
89
90 Aws::String m_groupIpAddress;
91 bool m_groupIpAddressHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace EC2
96} // namespace Aws
TransitGatewayMulticastRegisteredGroupSources & WithGroupIpAddress(GroupIpAddressT &&value)
TransitGatewayMulticastRegisteredGroupSources & AddRegisteredNetworkInterfaceIds(RegisteredNetworkInterfaceIdsT &&value)
AWS_EC2_API TransitGatewayMulticastRegisteredGroupSources(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API TransitGatewayMulticastRegisteredGroupSources & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TransitGatewayMulticastRegisteredGroupSources & WithTransitGatewayMulticastDomainId(TransitGatewayMulticastDomainIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
TransitGatewayMulticastRegisteredGroupSources & WithRegisteredNetworkInterfaceIds(RegisteredNetworkInterfaceIdsT &&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