AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DisassociateTransitGatewayMulticastDomainRequest.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 "DisassociateTransitGatewayMulticastDomain"; }
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 DisassociateTransitGatewayMulticastDomainRequest& WithTransitGatewayMulticastDomainId(TransitGatewayMulticastDomainIdT&& value) { SetTransitGatewayMulticastDomainId(std::forward<TransitGatewayMulticastDomainIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetTransitGatewayAttachmentId() const { return m_transitGatewayAttachmentId; }
57 inline bool TransitGatewayAttachmentIdHasBeenSet() const { return m_transitGatewayAttachmentIdHasBeenSet; }
58 template<typename TransitGatewayAttachmentIdT = Aws::String>
59 void SetTransitGatewayAttachmentId(TransitGatewayAttachmentIdT&& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = std::forward<TransitGatewayAttachmentIdT>(value); }
60 template<typename TransitGatewayAttachmentIdT = Aws::String>
61 DisassociateTransitGatewayMulticastDomainRequest& WithTransitGatewayAttachmentId(TransitGatewayAttachmentIdT&& value) { SetTransitGatewayAttachmentId(std::forward<TransitGatewayAttachmentIdT>(value)); return *this;}
63
65
68 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
69 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
70 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
71 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
72 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
73 DisassociateTransitGatewayMulticastDomainRequest& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
74 template<typename SubnetIdsT = Aws::String>
75 DisassociateTransitGatewayMulticastDomainRequest& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
77
79
85 inline bool GetDryRun() const { return m_dryRun; }
86 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
87 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
88 inline DisassociateTransitGatewayMulticastDomainRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
90 private:
91
92 Aws::String m_transitGatewayMulticastDomainId;
93 bool m_transitGatewayMulticastDomainIdHasBeenSet = false;
94
95 Aws::String m_transitGatewayAttachmentId;
96 bool m_transitGatewayAttachmentIdHasBeenSet = false;
97
98 Aws::Vector<Aws::String> m_subnetIds;
99 bool m_subnetIdsHasBeenSet = false;
100
101 bool m_dryRun{false};
102 bool m_dryRunHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace EC2
107} // namespace Aws
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DisassociateTransitGatewayMulticastDomainRequest & WithTransitGatewayMulticastDomainId(TransitGatewayMulticastDomainIdT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
DisassociateTransitGatewayMulticastDomainRequest & AddSubnetIds(SubnetIdsT &&value)
DisassociateTransitGatewayMulticastDomainRequest & WithSubnetIds(SubnetIdsT &&value)
DisassociateTransitGatewayMulticastDomainRequest & WithTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector