AWS SDK for C++  1.9.69
AWS SDK for C++
CreateTransitGatewayMulticastDomainRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
8 #include <aws/ec2/EC2Request.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace EC2
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateTransitGatewayMulticastDomain"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
45  inline const Aws::String& GetTransitGatewayId() const{ return m_transitGatewayId; }
46 
50  inline bool TransitGatewayIdHasBeenSet() const { return m_transitGatewayIdHasBeenSet; }
51 
55  inline void SetTransitGatewayId(const Aws::String& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = value; }
56 
60  inline void SetTransitGatewayId(Aws::String&& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = std::move(value); }
61 
65  inline void SetTransitGatewayId(const char* value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId.assign(value); }
66 
70  inline CreateTransitGatewayMulticastDomainRequest& WithTransitGatewayId(const Aws::String& value) { SetTransitGatewayId(value); return *this;}
71 
75  inline CreateTransitGatewayMulticastDomainRequest& WithTransitGatewayId(Aws::String&& value) { SetTransitGatewayId(std::move(value)); return *this;}
76 
80  inline CreateTransitGatewayMulticastDomainRequest& WithTransitGatewayId(const char* value) { SetTransitGatewayId(value); return *this;}
81 
82 
86  inline const CreateTransitGatewayMulticastDomainRequestOptions& GetOptions() const{ return m_options; }
87 
91  inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
92 
96  inline void SetOptions(const CreateTransitGatewayMulticastDomainRequestOptions& value) { m_optionsHasBeenSet = true; m_options = value; }
97 
101  inline void SetOptions(CreateTransitGatewayMulticastDomainRequestOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
102 
107 
112 
113 
117  inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const{ return m_tagSpecifications; }
118 
122  inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
123 
127  inline void SetTagSpecifications(const Aws::Vector<TagSpecification>& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = value; }
128 
132  inline void SetTagSpecifications(Aws::Vector<TagSpecification>&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::move(value); }
133 
137  inline CreateTransitGatewayMulticastDomainRequest& WithTagSpecifications(const Aws::Vector<TagSpecification>& value) { SetTagSpecifications(value); return *this;}
138 
142  inline CreateTransitGatewayMulticastDomainRequest& WithTagSpecifications(Aws::Vector<TagSpecification>&& value) { SetTagSpecifications(std::move(value)); return *this;}
143 
147  inline CreateTransitGatewayMulticastDomainRequest& AddTagSpecifications(const TagSpecification& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(value); return *this; }
148 
152  inline CreateTransitGatewayMulticastDomainRequest& AddTagSpecifications(TagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; }
153 
154 
161  inline bool GetDryRun() const{ return m_dryRun; }
162 
169  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
170 
177  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
178 
185  inline CreateTransitGatewayMulticastDomainRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
186 
187  private:
188 
189  Aws::String m_transitGatewayId;
190  bool m_transitGatewayIdHasBeenSet;
191 
193  bool m_optionsHasBeenSet;
194 
195  Aws::Vector<TagSpecification> m_tagSpecifications;
196  bool m_tagSpecificationsHasBeenSet;
197 
198  bool m_dryRun;
199  bool m_dryRunHasBeenSet;
200  };
201 
202 } // namespace Model
203 } // namespace EC2
204 } // namespace Aws
TagSpecification.h
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::WithTransitGatewayId
CreateTransitGatewayMulticastDomainRequest & WithTransitGatewayId(Aws::String &&value)
Definition: CreateTransitGatewayMulticastDomainRequest.h:75
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::WithTagSpecifications
CreateTransitGatewayMulticastDomainRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
Definition: CreateTransitGatewayMulticastDomainRequest.h:137
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequestOptions
Definition: CreateTransitGatewayMulticastDomainRequestOptions.h:35
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateTransitGatewayMulticastDomainRequest.h:33
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::WithOptions
CreateTransitGatewayMulticastDomainRequest & WithOptions(const CreateTransitGatewayMulticastDomainRequestOptions &value)
Definition: CreateTransitGatewayMulticastDomainRequest.h:106
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::SetOptions
void SetOptions(CreateTransitGatewayMulticastDomainRequestOptions &&value)
Definition: CreateTransitGatewayMulticastDomainRequest.h:101
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::AddTagSpecifications
CreateTransitGatewayMulticastDomainRequest & AddTagSpecifications(TagSpecification &&value)
Definition: CreateTransitGatewayMulticastDomainRequest.h:152
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::AddTagSpecifications
CreateTransitGatewayMulticastDomainRequest & AddTagSpecifications(const TagSpecification &value)
Definition: CreateTransitGatewayMulticastDomainRequest.h:147
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::GetOptions
const CreateTransitGatewayMulticastDomainRequestOptions & GetOptions() const
Definition: CreateTransitGatewayMulticastDomainRequest.h:86
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: CreateTransitGatewayMulticastDomainRequest.h:169
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::SetTransitGatewayId
void SetTransitGatewayId(Aws::String &&value)
Definition: CreateTransitGatewayMulticastDomainRequest.h:60
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::TagSpecificationsHasBeenSet
bool TagSpecificationsHasBeenSet() const
Definition: CreateTransitGatewayMulticastDomainRequest.h:122
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::GetTagSpecifications
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
Definition: CreateTransitGatewayMulticastDomainRequest.h:117
AWSVector.h
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::SetTransitGatewayId
void SetTransitGatewayId(const Aws::String &value)
Definition: CreateTransitGatewayMulticastDomainRequest.h:55
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::SetTagSpecifications
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
Definition: CreateTransitGatewayMulticastDomainRequest.h:127
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest
Definition: CreateTransitGatewayMulticastDomainRequest.h:25
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::WithTagSpecifications
CreateTransitGatewayMulticastDomainRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
Definition: CreateTransitGatewayMulticastDomainRequest.h:142
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::WithOptions
CreateTransitGatewayMulticastDomainRequest & WithOptions(CreateTransitGatewayMulticastDomainRequestOptions &&value)
Definition: CreateTransitGatewayMulticastDomainRequest.h:111
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::TransitGatewayIdHasBeenSet
bool TransitGatewayIdHasBeenSet() const
Definition: CreateTransitGatewayMulticastDomainRequest.h:50
EC2Request.h
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::SetTransitGatewayId
void SetTransitGatewayId(const char *value)
Definition: CreateTransitGatewayMulticastDomainRequest.h:65
AWSString.h
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::WithTransitGatewayId
CreateTransitGatewayMulticastDomainRequest & WithTransitGatewayId(const Aws::String &value)
Definition: CreateTransitGatewayMulticastDomainRequest.h:70
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::WithDryRun
CreateTransitGatewayMulticastDomainRequest & WithDryRun(bool value)
Definition: CreateTransitGatewayMulticastDomainRequest.h:185
CreateTransitGatewayMulticastDomainRequestOptions.h
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::SetTagSpecifications
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
Definition: CreateTransitGatewayMulticastDomainRequest.h:132
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::OptionsHasBeenSet
bool OptionsHasBeenSet() const
Definition: CreateTransitGatewayMulticastDomainRequest.h:91
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::SetOptions
void SetOptions(const CreateTransitGatewayMulticastDomainRequestOptions &value)
Definition: CreateTransitGatewayMulticastDomainRequest.h:96
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::SetDryRun
void SetDryRun(bool value)
Definition: CreateTransitGatewayMulticastDomainRequest.h:177
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::WithTransitGatewayId
CreateTransitGatewayMulticastDomainRequest & WithTransitGatewayId(const char *value)
Definition: CreateTransitGatewayMulticastDomainRequest.h:80
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::GetTransitGatewayId
const Aws::String & GetTransitGatewayId() const
Definition: CreateTransitGatewayMulticastDomainRequest.h:45
Aws::EC2::Model::TagSpecification
Definition: TagSpecification.h:35
EC2_EXPORTS.h
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::GetDryRun
bool GetDryRun() const
Definition: CreateTransitGatewayMulticastDomainRequest.h:161
Aws::EC2::Model::CreateTransitGatewayMulticastDomainRequest::CreateTransitGatewayMulticastDomainRequest
CreateTransitGatewayMulticastDomainRequest()