AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AssociateTransitGatewayMulticastDomainRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.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 EC2
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "AssociateTransitGatewayMulticastDomain"; }
32
33 AWS_EC2_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
44 inline const Aws::String& GetTransitGatewayMulticastDomainId() const { return m_transitGatewayMulticastDomainId; }
45 inline bool TransitGatewayMulticastDomainIdHasBeenSet() const { return m_transitGatewayMulticastDomainIdHasBeenSet; }
46 template<typename TransitGatewayMulticastDomainIdT = Aws::String>
47 void SetTransitGatewayMulticastDomainId(TransitGatewayMulticastDomainIdT&& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = std::forward<TransitGatewayMulticastDomainIdT>(value); }
48 template<typename TransitGatewayMulticastDomainIdT = Aws::String>
49 AssociateTransitGatewayMulticastDomainRequest& WithTransitGatewayMulticastDomainId(TransitGatewayMulticastDomainIdT&& value) { SetTransitGatewayMulticastDomainId(std::forward<TransitGatewayMulticastDomainIdT>(value)); return *this;}
51
53
57 inline const Aws::String& GetTransitGatewayAttachmentId() const { return m_transitGatewayAttachmentId; }
58 inline bool TransitGatewayAttachmentIdHasBeenSet() const { return m_transitGatewayAttachmentIdHasBeenSet; }
59 template<typename TransitGatewayAttachmentIdT = Aws::String>
60 void SetTransitGatewayAttachmentId(TransitGatewayAttachmentIdT&& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = std::forward<TransitGatewayAttachmentIdT>(value); }
61 template<typename TransitGatewayAttachmentIdT = Aws::String>
62 AssociateTransitGatewayMulticastDomainRequest& WithTransitGatewayAttachmentId(TransitGatewayAttachmentIdT&& value) { SetTransitGatewayAttachmentId(std::forward<TransitGatewayAttachmentIdT>(value)); return *this;}
64
66
70 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
71 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
72 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
73 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
74 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
75 AssociateTransitGatewayMulticastDomainRequest& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
76 template<typename SubnetIdsT = Aws::String>
77 AssociateTransitGatewayMulticastDomainRequest& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
79
81
87 inline bool GetDryRun() const { return m_dryRun; }
88 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
89 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
90 inline AssociateTransitGatewayMulticastDomainRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
92 private:
93
94 Aws::String m_transitGatewayMulticastDomainId;
95 bool m_transitGatewayMulticastDomainIdHasBeenSet = false;
96
97 Aws::String m_transitGatewayAttachmentId;
98 bool m_transitGatewayAttachmentIdHasBeenSet = false;
99
100 Aws::Vector<Aws::String> m_subnetIds;
101 bool m_subnetIdsHasBeenSet = false;
102
103 bool m_dryRun{false};
104 bool m_dryRunHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace EC2
109} // namespace Aws
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_EC2_API Aws::String SerializePayload() const override
AssociateTransitGatewayMulticastDomainRequest & WithSubnetIds(SubnetIdsT &&value)
AssociateTransitGatewayMulticastDomainRequest & WithTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
AssociateTransitGatewayMulticastDomainRequest & AddSubnetIds(SubnetIdsT &&value)
AssociateTransitGatewayMulticastDomainRequest & WithTransitGatewayMulticastDomainId(TransitGatewayMulticastDomainIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector