AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateCoipPoolRequest.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:
26 AWS_EC2_API CreateCoipPoolRequest();
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 "CreateCoipPool"; }
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& GetLocalGatewayRouteTableId() const{ return m_localGatewayRouteTableId; }
46 inline bool LocalGatewayRouteTableIdHasBeenSet() const { return m_localGatewayRouteTableIdHasBeenSet; }
47 inline void SetLocalGatewayRouteTableId(const Aws::String& value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId = value; }
48 inline void SetLocalGatewayRouteTableId(Aws::String&& value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId = std::move(value); }
49 inline void SetLocalGatewayRouteTableId(const char* value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId.assign(value); }
52 inline CreateCoipPoolRequest& WithLocalGatewayRouteTableId(const char* value) { SetLocalGatewayRouteTableId(value); return *this;}
54
56
59 inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const{ return m_tagSpecifications; }
60 inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
61 inline void SetTagSpecifications(const Aws::Vector<TagSpecification>& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = value; }
62 inline void SetTagSpecifications(Aws::Vector<TagSpecification>&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::move(value); }
65 inline CreateCoipPoolRequest& AddTagSpecifications(const TagSpecification& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(value); return *this; }
66 inline CreateCoipPoolRequest& AddTagSpecifications(TagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; }
68
70
76 inline bool GetDryRun() const{ return m_dryRun; }
77 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
78 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
79 inline CreateCoipPoolRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
81 private:
82
83 Aws::String m_localGatewayRouteTableId;
84 bool m_localGatewayRouteTableIdHasBeenSet = false;
85
86 Aws::Vector<TagSpecification> m_tagSpecifications;
87 bool m_tagSpecificationsHasBeenSet = false;
88
89 bool m_dryRun;
90 bool m_dryRunHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace EC2
95} // namespace Aws
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetLocalGatewayRouteTableId(Aws::String &&value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateCoipPoolRequest & AddTagSpecifications(TagSpecification &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreateCoipPoolRequest & AddTagSpecifications(const TagSpecification &value)
CreateCoipPoolRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateCoipPoolRequest & WithLocalGatewayRouteTableId(const char *value)
void SetLocalGatewayRouteTableId(const Aws::String &value)
void SetLocalGatewayRouteTableId(const char *value)
CreateCoipPoolRequest & WithLocalGatewayRouteTableId(const Aws::String &value)
CreateCoipPoolRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateCoipPoolRequest & WithLocalGatewayRouteTableId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetLocalGatewayRouteTableId() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateCoipPoolRequest & WithDryRun(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector