AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
24 AWS_REDSHIFT_API DescribeEndpointAccessRequest() = default;
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 template<typename ClusterIdentifierT = Aws::String>
46 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
47 template<typename ClusterIdentifierT = Aws::String>
48 DescribeEndpointAccessRequest& WithClusterIdentifier(ClusterIdentifierT&& value) { SetClusterIdentifier(std::forward<ClusterIdentifierT>(value)); return *this;}
50
52
55 inline const Aws::String& GetResourceOwner() const { return m_resourceOwner; }
56 inline bool ResourceOwnerHasBeenSet() const { return m_resourceOwnerHasBeenSet; }
57 template<typename ResourceOwnerT = Aws::String>
58 void SetResourceOwner(ResourceOwnerT&& value) { m_resourceOwnerHasBeenSet = true; m_resourceOwner = std::forward<ResourceOwnerT>(value); }
59 template<typename ResourceOwnerT = Aws::String>
60 DescribeEndpointAccessRequest& WithResourceOwner(ResourceOwnerT&& value) { SetResourceOwner(std::forward<ResourceOwnerT>(value)); return *this;}
62
64
67 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
68 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
69 template<typename EndpointNameT = Aws::String>
70 void SetEndpointName(EndpointNameT&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::forward<EndpointNameT>(value); }
71 template<typename EndpointNameT = Aws::String>
72 DescribeEndpointAccessRequest& WithEndpointName(EndpointNameT&& value) { SetEndpointName(std::forward<EndpointNameT>(value)); return *this;}
74
76
79 inline const Aws::String& GetVpcId() const { return m_vpcId; }
80 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
81 template<typename VpcIdT = Aws::String>
82 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
83 template<typename VpcIdT = Aws::String>
84 DescribeEndpointAccessRequest& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
86
88
94 inline int GetMaxRecords() const { return m_maxRecords; }
95 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
96 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
97 inline DescribeEndpointAccessRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
99
101
107 inline const Aws::String& GetMarker() const { return m_marker; }
108 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
109 template<typename MarkerT = Aws::String>
110 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
111 template<typename MarkerT = Aws::String>
112 DescribeEndpointAccessRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
114 private:
115
116 Aws::String m_clusterIdentifier;
117 bool m_clusterIdentifierHasBeenSet = false;
118
119 Aws::String m_resourceOwner;
120 bool m_resourceOwnerHasBeenSet = false;
121
122 Aws::String m_endpointName;
123 bool m_endpointNameHasBeenSet = false;
124
125 Aws::String m_vpcId;
126 bool m_vpcIdHasBeenSet = false;
127
128 int m_maxRecords{0};
129 bool m_maxRecordsHasBeenSet = false;
130
131 Aws::String m_marker;
132 bool m_markerHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace Redshift
137} // 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