AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeEndpointAccessRequest.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 <utility>
11
12namespace Aws
13{
14namespace Redshift
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeEndpointAccess"; }
31
32 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
43 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
44 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
45 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
46 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
47 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
49 inline DescribeEndpointAccessRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
50 inline DescribeEndpointAccessRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
52
54
57 inline const Aws::String& GetResourceOwner() const{ return m_resourceOwner; }
58 inline bool ResourceOwnerHasBeenSet() const { return m_resourceOwnerHasBeenSet; }
59 inline void SetResourceOwner(const Aws::String& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = value; }
60 inline void SetResourceOwner(Aws::String&& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = std::move(value); }
61 inline void SetResourceOwner(const char* value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner.assign(value); }
62 inline DescribeEndpointAccessRequest& WithResourceOwner(const Aws::String& value) { SetResourceOwner(value); return *this;}
63 inline DescribeEndpointAccessRequest& WithResourceOwner(Aws::String&& value) { SetResourceOwner(std::move(value)); return *this;}
64 inline DescribeEndpointAccessRequest& WithResourceOwner(const char* value) { SetResourceOwner(value); return *this;}
66
68
71 inline const Aws::String& GetEndpointName() const{ return m_endpointName; }
72 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
73 inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; }
74 inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); }
75 inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); }
76 inline DescribeEndpointAccessRequest& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;}
77 inline DescribeEndpointAccessRequest& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
78 inline DescribeEndpointAccessRequest& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
80
82
85 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
86 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
87 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
88 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
89 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
90 inline DescribeEndpointAccessRequest& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
91 inline DescribeEndpointAccessRequest& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
92 inline DescribeEndpointAccessRequest& WithVpcId(const char* value) { SetVpcId(value); return *this;}
94
96
102 inline int GetMaxRecords() const{ return m_maxRecords; }
103 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
104 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
105 inline DescribeEndpointAccessRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
107
109
115 inline const Aws::String& GetMarker() const{ return m_marker; }
116 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
117 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
118 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
119 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
120 inline DescribeEndpointAccessRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
121 inline DescribeEndpointAccessRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
122 inline DescribeEndpointAccessRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
124 private:
125
126 Aws::String m_clusterIdentifier;
127 bool m_clusterIdentifierHasBeenSet = false;
128
129 Aws::String m_resourceOwner;
130 bool m_resourceOwnerHasBeenSet = false;
131
132 Aws::String m_endpointName;
133 bool m_endpointNameHasBeenSet = false;
134
135 Aws::String m_vpcId;
136 bool m_vpcIdHasBeenSet = false;
137
138 int m_maxRecords;
139 bool m_maxRecordsHasBeenSet = false;
140
141 Aws::String m_marker;
142 bool m_markerHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace Redshift
147} // namespace Aws
DescribeEndpointAccessRequest & WithClusterIdentifier(Aws::String &&value)
DescribeEndpointAccessRequest & WithMarker(Aws::String &&value)
DescribeEndpointAccessRequest & WithEndpointName(Aws::String &&value)
DescribeEndpointAccessRequest & WithResourceOwner(const char *value)
DescribeEndpointAccessRequest & WithClusterIdentifier(const Aws::String &value)
DescribeEndpointAccessRequest & WithResourceOwner(Aws::String &&value)
DescribeEndpointAccessRequest & WithVpcId(const char *value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeEndpointAccessRequest & WithEndpointName(const char *value)
DescribeEndpointAccessRequest & WithVpcId(const Aws::String &value)
DescribeEndpointAccessRequest & WithVpcId(Aws::String &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeEndpointAccessRequest & WithMaxRecords(int value)
DescribeEndpointAccessRequest & WithEndpointName(const Aws::String &value)
DescribeEndpointAccessRequest & WithMarker(const char *value)
DescribeEndpointAccessRequest & WithMarker(const Aws::String &value)
DescribeEndpointAccessRequest & WithClusterIdentifier(const char *value)
DescribeEndpointAccessRequest & WithResourceOwner(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String