AWS SDK for C++

AWS SDK for C++ Version 1.11.715

Loading...
Searching...
No Matches
ListRecommendationsRequest.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 ListRecommendationsRequest() = 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 "ListRecommendations"; }
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
42 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
43 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
44 template <typename ClusterIdentifierT = Aws::String>
45 void SetClusterIdentifier(ClusterIdentifierT&& value) {
46 m_clusterIdentifierHasBeenSet = true;
47 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
48 }
49 template <typename ClusterIdentifierT = Aws::String>
51 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
52 return *this;
53 }
55
57
63 inline const Aws::String& GetNamespaceArn() const { return m_namespaceArn; }
64 inline bool NamespaceArnHasBeenSet() const { return m_namespaceArnHasBeenSet; }
65 template <typename NamespaceArnT = Aws::String>
66 void SetNamespaceArn(NamespaceArnT&& value) {
67 m_namespaceArnHasBeenSet = true;
68 m_namespaceArn = std::forward<NamespaceArnT>(value);
69 }
70 template <typename NamespaceArnT = Aws::String>
72 SetNamespaceArn(std::forward<NamespaceArnT>(value));
73 return *this;
74 }
76
78
84 inline int GetMaxRecords() const { return m_maxRecords; }
85 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
86 inline void SetMaxRecords(int value) {
87 m_maxRecordsHasBeenSet = true;
88 m_maxRecords = value;
89 }
91 SetMaxRecords(value);
92 return *this;
93 }
95
97
104 inline const Aws::String& GetMarker() const { return m_marker; }
105 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
106 template <typename MarkerT = Aws::String>
107 void SetMarker(MarkerT&& value) {
108 m_markerHasBeenSet = true;
109 m_marker = std::forward<MarkerT>(value);
110 }
111 template <typename MarkerT = Aws::String>
113 SetMarker(std::forward<MarkerT>(value));
114 return *this;
115 }
117 private:
118 Aws::String m_clusterIdentifier;
119
120 Aws::String m_namespaceArn;
121
122 int m_maxRecords{0};
123
124 Aws::String m_marker;
125 bool m_clusterIdentifierHasBeenSet = false;
126 bool m_namespaceArnHasBeenSet = false;
127 bool m_maxRecordsHasBeenSet = false;
128 bool m_markerHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace Redshift
133} // namespace Aws
AWS_REDSHIFT_API ListRecommendationsRequest()=default
ListRecommendationsRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
ListRecommendationsRequest & WithMarker(MarkerT &&value)
virtual const char * GetServiceRequestName() const override
ListRecommendationsRequest & WithMaxRecords(int value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
ListRecommendationsRequest & WithNamespaceArn(NamespaceArnT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String