AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateTransitGatewayPolicyTableRequest.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 <aws/ec2/model/TagSpecification.h>
12#include <utility>
13
14namespace Aws
15{
16namespace EC2
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateTransitGatewayPolicyTable"; }
33
34 AWS_EC2_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
45 inline const Aws::String& GetTransitGatewayId() const{ return m_transitGatewayId; }
46 inline bool TransitGatewayIdHasBeenSet() const { return m_transitGatewayIdHasBeenSet; }
47 inline void SetTransitGatewayId(const Aws::String& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = value; }
48 inline void SetTransitGatewayId(Aws::String&& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = std::move(value); }
49 inline void SetTransitGatewayId(const char* value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId.assign(value); }
52 inline CreateTransitGatewayPolicyTableRequest& WithTransitGatewayId(const char* value) { SetTransitGatewayId(value); return *this;}
54
56
60 inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const{ return m_tagSpecifications; }
61 inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
62 inline void SetTagSpecifications(const Aws::Vector<TagSpecification>& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = value; }
63 inline void SetTagSpecifications(Aws::Vector<TagSpecification>&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::move(value); }
66 inline CreateTransitGatewayPolicyTableRequest& AddTagSpecifications(const TagSpecification& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(value); return *this; }
67 inline CreateTransitGatewayPolicyTableRequest& AddTagSpecifications(TagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; }
69
71
77 inline bool GetDryRun() const{ return m_dryRun; }
78 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
79 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
80 inline CreateTransitGatewayPolicyTableRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
82 private:
83
84 Aws::String m_transitGatewayId;
85 bool m_transitGatewayIdHasBeenSet = false;
86
87 Aws::Vector<TagSpecification> m_tagSpecifications;
88 bool m_tagSpecificationsHasBeenSet = false;
89
90 bool m_dryRun;
91 bool m_dryRunHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace EC2
96} // namespace Aws
CreateTransitGatewayPolicyTableRequest & AddTagSpecifications(const TagSpecification &value)
CreateTransitGatewayPolicyTableRequest & WithDryRun(bool value)
AWS_EC2_API Aws::String SerializePayload() const override
CreateTransitGatewayPolicyTableRequest & AddTagSpecifications(TagSpecification &&value)
CreateTransitGatewayPolicyTableRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateTransitGatewayPolicyTableRequest & WithTransitGatewayId(Aws::String &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateTransitGatewayPolicyTableRequest & WithTransitGatewayId(const char *value)
CreateTransitGatewayPolicyTableRequest & WithTransitGatewayId(const Aws::String &value)
CreateTransitGatewayPolicyTableRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector