AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DescribeEndpointAccessRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Redshift {
15namespace Model {
16
20 public:
21 AWS_REDSHIFT_API DescribeEndpointAccessRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeEndpointAccess"; }
28
29 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
30
31 protected:
32 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
33
34 public:
36
39 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
40 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
41 template <typename ClusterIdentifierT = Aws::String>
42 void SetClusterIdentifier(ClusterIdentifierT&& value) {
43 m_clusterIdentifierHasBeenSet = true;
44 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
45 }
46 template <typename ClusterIdentifierT = Aws::String>
48 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetResourceOwner() const { return m_resourceOwner; }
58 inline bool ResourceOwnerHasBeenSet() const { return m_resourceOwnerHasBeenSet; }
59 template <typename ResourceOwnerT = Aws::String>
60 void SetResourceOwner(ResourceOwnerT&& value) {
61 m_resourceOwnerHasBeenSet = true;
62 m_resourceOwner = std::forward<ResourceOwnerT>(value);
63 }
64 template <typename ResourceOwnerT = Aws::String>
66 SetResourceOwner(std::forward<ResourceOwnerT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
76 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
77 template <typename EndpointNameT = Aws::String>
78 void SetEndpointName(EndpointNameT&& value) {
79 m_endpointNameHasBeenSet = true;
80 m_endpointName = std::forward<EndpointNameT>(value);
81 }
82 template <typename EndpointNameT = Aws::String>
84 SetEndpointName(std::forward<EndpointNameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetVpcId() const { return m_vpcId; }
94 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
95 template <typename VpcIdT = Aws::String>
96 void SetVpcId(VpcIdT&& value) {
97 m_vpcIdHasBeenSet = true;
98 m_vpcId = std::forward<VpcIdT>(value);
99 }
100 template <typename VpcIdT = Aws::String>
102 SetVpcId(std::forward<VpcIdT>(value));
103 return *this;
104 }
106
108
114 inline int GetMaxRecords() const { return m_maxRecords; }
115 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
116 inline void SetMaxRecords(int value) {
117 m_maxRecordsHasBeenSet = true;
118 m_maxRecords = value;
119 }
121 SetMaxRecords(value);
122 return *this;
123 }
125
127
133 inline const Aws::String& GetMarker() const { return m_marker; }
134 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
135 template <typename MarkerT = Aws::String>
136 void SetMarker(MarkerT&& value) {
137 m_markerHasBeenSet = true;
138 m_marker = std::forward<MarkerT>(value);
139 }
140 template <typename MarkerT = Aws::String>
142 SetMarker(std::forward<MarkerT>(value));
143 return *this;
144 }
146 private:
147 Aws::String m_clusterIdentifier;
148
149 Aws::String m_resourceOwner;
150
151 Aws::String m_endpointName;
152
153 Aws::String m_vpcId;
154
155 int m_maxRecords{0};
156
157 Aws::String m_marker;
158 bool m_clusterIdentifierHasBeenSet = false;
159 bool m_resourceOwnerHasBeenSet = false;
160 bool m_endpointNameHasBeenSet = false;
161 bool m_vpcIdHasBeenSet = false;
162 bool m_maxRecordsHasBeenSet = false;
163 bool m_markerHasBeenSet = false;
164};
165
166} // namespace Model
167} // namespace Redshift
168} // namespace Aws
DescribeEndpointAccessRequest & WithVpcId(VpcIdT &&value)
DescribeEndpointAccessRequest & WithResourceOwner(ResourceOwnerT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeEndpointAccessRequest & WithMaxRecords(int value)
DescribeEndpointAccessRequest & WithMarker(MarkerT &&value)
DescribeEndpointAccessRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
AWS_REDSHIFT_API DescribeEndpointAccessRequest()=default
DescribeEndpointAccessRequest & WithEndpointName(EndpointNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String