AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateEndpointAccessRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.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 Redshift
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_REDSHIFT_API CreateEndpointAccessRequest();
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 "CreateEndpointAccess"; }
32
33 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
44 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
45 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
46 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
47 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
48 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
50 inline CreateEndpointAccessRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
51 inline CreateEndpointAccessRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
53
55
59 inline const Aws::String& GetResourceOwner() const{ return m_resourceOwner; }
60 inline bool ResourceOwnerHasBeenSet() const { return m_resourceOwnerHasBeenSet; }
61 inline void SetResourceOwner(const Aws::String& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = value; }
62 inline void SetResourceOwner(Aws::String&& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = std::move(value); }
63 inline void SetResourceOwner(const char* value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner.assign(value); }
64 inline CreateEndpointAccessRequest& WithResourceOwner(const Aws::String& value) { SetResourceOwner(value); return *this;}
65 inline CreateEndpointAccessRequest& WithResourceOwner(Aws::String&& value) { SetResourceOwner(std::move(value)); return *this;}
66 inline CreateEndpointAccessRequest& WithResourceOwner(const char* value) { SetResourceOwner(value); return *this;}
68
70
76 inline const Aws::String& GetEndpointName() const{ return m_endpointName; }
77 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
78 inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; }
79 inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); }
80 inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); }
81 inline CreateEndpointAccessRequest& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;}
82 inline CreateEndpointAccessRequest& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
83 inline CreateEndpointAccessRequest& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
85
87
91 inline const Aws::String& GetSubnetGroupName() const{ return m_subnetGroupName; }
92 inline bool SubnetGroupNameHasBeenSet() const { return m_subnetGroupNameHasBeenSet; }
93 inline void SetSubnetGroupName(const Aws::String& value) { m_subnetGroupNameHasBeenSet = true; m_subnetGroupName = value; }
94 inline void SetSubnetGroupName(Aws::String&& value) { m_subnetGroupNameHasBeenSet = true; m_subnetGroupName = std::move(value); }
95 inline void SetSubnetGroupName(const char* value) { m_subnetGroupNameHasBeenSet = true; m_subnetGroupName.assign(value); }
97 inline CreateEndpointAccessRequest& WithSubnetGroupName(Aws::String&& value) { SetSubnetGroupName(std::move(value)); return *this;}
98 inline CreateEndpointAccessRequest& WithSubnetGroupName(const char* value) { SetSubnetGroupName(value); return *this;}
100
102
106 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; }
107 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
108 inline void SetVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; }
109 inline void SetVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); }
112 inline CreateEndpointAccessRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
113 inline CreateEndpointAccessRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; }
114 inline CreateEndpointAccessRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
116 private:
117
118 Aws::String m_clusterIdentifier;
119 bool m_clusterIdentifierHasBeenSet = false;
120
121 Aws::String m_resourceOwner;
122 bool m_resourceOwnerHasBeenSet = false;
123
124 Aws::String m_endpointName;
125 bool m_endpointNameHasBeenSet = false;
126
127 Aws::String m_subnetGroupName;
128 bool m_subnetGroupNameHasBeenSet = false;
129
130 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
131 bool m_vpcSecurityGroupIdsHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace Redshift
136} // namespace Aws
CreateEndpointAccessRequest & WithResourceOwner(Aws::String &&value)
CreateEndpointAccessRequest & WithSubnetGroupName(Aws::String &&value)
CreateEndpointAccessRequest & AddVpcSecurityGroupIds(const char *value)
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateEndpointAccessRequest & AddVpcSecurityGroupIds(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateEndpointAccessRequest & WithEndpointName(const Aws::String &value)
CreateEndpointAccessRequest & WithEndpointName(Aws::String &&value)
CreateEndpointAccessRequest & WithClusterIdentifier(Aws::String &&value)
CreateEndpointAccessRequest & WithSubnetGroupName(const Aws::String &value)
CreateEndpointAccessRequest & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
CreateEndpointAccessRequest & WithClusterIdentifier(const Aws::String &value)
CreateEndpointAccessRequest & WithSubnetGroupName(const char *value)
CreateEndpointAccessRequest & WithClusterIdentifier(const char *value)
CreateEndpointAccessRequest & WithEndpointName(const char *value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
CreateEndpointAccessRequest & AddVpcSecurityGroupIds(Aws::String &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
CreateEndpointAccessRequest & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateEndpointAccessRequest & WithResourceOwner(const char *value)
CreateEndpointAccessRequest & WithResourceOwner(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector