AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 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
59 inline const Aws::String& GetTransitGatewayAttachmentId() const{ return m_transitGatewayAttachmentId; }
60 inline bool TransitGatewayAttachmentIdHasBeenSet() const { return m_transitGatewayAttachmentIdHasBeenSet; }
61 inline void SetTransitGatewayAttachmentId(const Aws::String& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = value; }
62 inline void SetTransitGatewayAttachmentId(Aws::String&& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = std::move(value); }
63 inline void SetTransitGatewayAttachmentId(const char* value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId.assign(value); }
68
70
74 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
75 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
76 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
77 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
80 inline AssociateTransitGatewayMulticastDomainRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
81 inline AssociateTransitGatewayMulticastDomainRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
82 inline AssociateTransitGatewayMulticastDomainRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
84
86
92 inline bool GetDryRun() const{ return m_dryRun; }
93 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
94 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
95 inline AssociateTransitGatewayMulticastDomainRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
97 private:
98
99 Aws::String m_transitGatewayMulticastDomainId;
100 bool m_transitGatewayMulticastDomainIdHasBeenSet = false;
101
102 Aws::String m_transitGatewayAttachmentId;
103 bool m_transitGatewayAttachmentIdHasBeenSet = false;
104
105 Aws::Vector<Aws::String> m_subnetIds;
106 bool m_subnetIdsHasBeenSet = false;
107
108 bool m_dryRun;
109 bool m_dryRunHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace EC2
114} // namespace Aws
AssociateTransitGatewayMulticastDomainRequest & WithTransitGatewayMulticastDomainId(const Aws::String &value)
AssociateTransitGatewayMulticastDomainRequest & AddSubnetIds(const char *value)
AssociateTransitGatewayMulticastDomainRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_EC2_API Aws::String SerializePayload() const override
AssociateTransitGatewayMulticastDomainRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
AssociateTransitGatewayMulticastDomainRequest & WithTransitGatewayMulticastDomainId(const char *value)
AssociateTransitGatewayMulticastDomainRequest & WithTransitGatewayAttachmentId(const Aws::String &value)
AssociateTransitGatewayMulticastDomainRequest & WithTransitGatewayMulticastDomainId(Aws::String &&value)
AssociateTransitGatewayMulticastDomainRequest & WithTransitGatewayAttachmentId(const char *value)
AssociateTransitGatewayMulticastDomainRequest & WithTransitGatewayAttachmentId(Aws::String &&value)
AssociateTransitGatewayMulticastDomainRequest & AddSubnetIds(const Aws::String &value)
AssociateTransitGatewayMulticastDomainRequest & AddSubnetIds(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector