AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 inline void SetTransitGatewayMulticastDomainId(const Aws::String& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = value; }
47 inline void SetTransitGatewayMulticastDomainId(Aws::String&& value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId = std::move(value); }
48 inline void SetTransitGatewayMulticastDomainId(const char* value) { m_transitGatewayMulticastDomainIdHasBeenSet = true; m_transitGatewayMulticastDomainId.assign(value); }
53
55
58 inline const Aws::String& GetTransitGatewayAttachmentId() const{ return m_transitGatewayAttachmentId; }
59 inline bool TransitGatewayAttachmentIdHasBeenSet() const { return m_transitGatewayAttachmentIdHasBeenSet; }
60 inline void SetTransitGatewayAttachmentId(const Aws::String& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = value; }
61 inline void SetTransitGatewayAttachmentId(Aws::String&& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = std::move(value); }
62 inline void SetTransitGatewayAttachmentId(const char* value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId.assign(value); }
67
69
72 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
73 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
74 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
75 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
78 inline DisassociateTransitGatewayMulticastDomainRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
79 inline DisassociateTransitGatewayMulticastDomainRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
80 inline DisassociateTransitGatewayMulticastDomainRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
82
84
90 inline bool GetDryRun() const{ return m_dryRun; }
91 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
92 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
93 inline DisassociateTransitGatewayMulticastDomainRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
95 private:
96
97 Aws::String m_transitGatewayMulticastDomainId;
98 bool m_transitGatewayMulticastDomainIdHasBeenSet = false;
99
100 Aws::String m_transitGatewayAttachmentId;
101 bool m_transitGatewayAttachmentIdHasBeenSet = false;
102
103 Aws::Vector<Aws::String> m_subnetIds;
104 bool m_subnetIdsHasBeenSet = false;
105
106 bool m_dryRun;
107 bool m_dryRunHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace EC2
112} // namespace Aws
DisassociateTransitGatewayMulticastDomainRequest & WithTransitGatewayMulticastDomainId(const char *value)
DisassociateTransitGatewayMulticastDomainRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
DisassociateTransitGatewayMulticastDomainRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
DisassociateTransitGatewayMulticastDomainRequest & AddSubnetIds(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_EC2_API Aws::String SerializePayload() const override
DisassociateTransitGatewayMulticastDomainRequest & AddSubnetIds(Aws::String &&value)
DisassociateTransitGatewayMulticastDomainRequest & WithTransitGatewayMulticastDomainId(Aws::String &&value)
DisassociateTransitGatewayMulticastDomainRequest & WithTransitGatewayAttachmentId(const char *value)
DisassociateTransitGatewayMulticastDomainRequest & AddSubnetIds(const Aws::String &value)
DisassociateTransitGatewayMulticastDomainRequest & WithTransitGatewayAttachmentId(const Aws::String &value)
DisassociateTransitGatewayMulticastDomainRequest & WithTransitGatewayAttachmentId(Aws::String &&value)
DisassociateTransitGatewayMulticastDomainRequest & WithTransitGatewayMulticastDomainId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector