AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RejectVpcEndpointConnectionsRequest.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 "RejectVpcEndpointConnections"; }
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
47 inline bool GetDryRun() const{ return m_dryRun; }
48 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
49 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
50 inline RejectVpcEndpointConnectionsRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
52
54
57 inline const Aws::String& GetServiceId() const{ return m_serviceId; }
58 inline bool ServiceIdHasBeenSet() const { return m_serviceIdHasBeenSet; }
59 inline void SetServiceId(const Aws::String& value) { m_serviceIdHasBeenSet = true; m_serviceId = value; }
60 inline void SetServiceId(Aws::String&& value) { m_serviceIdHasBeenSet = true; m_serviceId = std::move(value); }
61 inline void SetServiceId(const char* value) { m_serviceIdHasBeenSet = true; m_serviceId.assign(value); }
62 inline RejectVpcEndpointConnectionsRequest& WithServiceId(const Aws::String& value) { SetServiceId(value); return *this;}
63 inline RejectVpcEndpointConnectionsRequest& WithServiceId(Aws::String&& value) { SetServiceId(std::move(value)); return *this;}
64 inline RejectVpcEndpointConnectionsRequest& WithServiceId(const char* value) { SetServiceId(value); return *this;}
66
68
71 inline const Aws::Vector<Aws::String>& GetVpcEndpointIds() const{ return m_vpcEndpointIds; }
72 inline bool VpcEndpointIdsHasBeenSet() const { return m_vpcEndpointIdsHasBeenSet; }
73 inline void SetVpcEndpointIds(const Aws::Vector<Aws::String>& value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds = value; }
74 inline void SetVpcEndpointIds(Aws::Vector<Aws::String>&& value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds = std::move(value); }
77 inline RejectVpcEndpointConnectionsRequest& AddVpcEndpointIds(const Aws::String& value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds.push_back(value); return *this; }
78 inline RejectVpcEndpointConnectionsRequest& AddVpcEndpointIds(Aws::String&& value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds.push_back(std::move(value)); return *this; }
79 inline RejectVpcEndpointConnectionsRequest& AddVpcEndpointIds(const char* value) { m_vpcEndpointIdsHasBeenSet = true; m_vpcEndpointIds.push_back(value); return *this; }
81 private:
82
83 bool m_dryRun;
84 bool m_dryRunHasBeenSet = false;
85
86 Aws::String m_serviceId;
87 bool m_serviceIdHasBeenSet = false;
88
89 Aws::Vector<Aws::String> m_vpcEndpointIds;
90 bool m_vpcEndpointIdsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace EC2
95} // namespace Aws
RejectVpcEndpointConnectionsRequest & WithDryRun(bool value)
void SetVpcEndpointIds(const Aws::Vector< Aws::String > &value)
RejectVpcEndpointConnectionsRequest & AddVpcEndpointIds(Aws::String &&value)
RejectVpcEndpointConnectionsRequest & WithServiceId(const Aws::String &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
RejectVpcEndpointConnectionsRequest & WithVpcEndpointIds(const Aws::Vector< Aws::String > &value)
RejectVpcEndpointConnectionsRequest & AddVpcEndpointIds(const char *value)
RejectVpcEndpointConnectionsRequest & AddVpcEndpointIds(const Aws::String &value)
RejectVpcEndpointConnectionsRequest & WithServiceId(const char *value)
RejectVpcEndpointConnectionsRequest & WithVpcEndpointIds(Aws::Vector< Aws::String > &&value)
RejectVpcEndpointConnectionsRequest & WithServiceId(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector