AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
DescribeIntegrationsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift/RedshiftRequest.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11#include <aws/redshift/model/DescribeIntegrationsFilter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Redshift {
17namespace Model {
18
22 public:
23 AWS_REDSHIFT_API DescribeIntegrationsRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeIntegrations"; }
30
31 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
32
33 protected:
34 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
35
36 public:
38
41 inline const Aws::String& GetIntegrationArn() const { return m_integrationArn; }
42 inline bool IntegrationArnHasBeenSet() const { return m_integrationArnHasBeenSet; }
43 template <typename IntegrationArnT = Aws::String>
44 void SetIntegrationArn(IntegrationArnT&& value) {
45 m_integrationArnHasBeenSet = true;
46 m_integrationArn = std::forward<IntegrationArnT>(value);
47 }
48 template <typename IntegrationArnT = Aws::String>
50 SetIntegrationArn(std::forward<IntegrationArnT>(value));
51 return *this;
52 }
54
56
64 inline int GetMaxRecords() const { return m_maxRecords; }
65 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
66 inline void SetMaxRecords(int value) {
67 m_maxRecordsHasBeenSet = true;
68 m_maxRecords = value;
69 }
71 SetMaxRecords(value);
72 return *this;
73 }
75
77
83 inline const Aws::String& GetMarker() const { return m_marker; }
84 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
85 template <typename MarkerT = Aws::String>
86 void SetMarker(MarkerT&& value) {
87 m_markerHasBeenSet = true;
88 m_marker = std::forward<MarkerT>(value);
89 }
90 template <typename MarkerT = Aws::String>
92 SetMarker(std::forward<MarkerT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::Vector<DescribeIntegrationsFilter>& GetFilters() const { return m_filters; }
102 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
103 template <typename FiltersT = Aws::Vector<DescribeIntegrationsFilter>>
104 void SetFilters(FiltersT&& value) {
105 m_filtersHasBeenSet = true;
106 m_filters = std::forward<FiltersT>(value);
107 }
108 template <typename FiltersT = Aws::Vector<DescribeIntegrationsFilter>>
110 SetFilters(std::forward<FiltersT>(value));
111 return *this;
112 }
113 template <typename FiltersT = DescribeIntegrationsFilter>
115 m_filtersHasBeenSet = true;
116 m_filters.emplace_back(std::forward<FiltersT>(value));
117 return *this;
118 }
120 private:
121 Aws::String m_integrationArn;
122
123 int m_maxRecords{0};
124
125 Aws::String m_marker;
126
128 bool m_integrationArnHasBeenSet = false;
129 bool m_maxRecordsHasBeenSet = false;
130 bool m_markerHasBeenSet = false;
131 bool m_filtersHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace Redshift
136} // namespace Aws
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::Vector< DescribeIntegrationsFilter > & GetFilters() const
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeIntegrationsRequest & WithMaxRecords(int value)
DescribeIntegrationsRequest & WithFilters(FiltersT &&value)
virtual const char * GetServiceRequestName() const override
DescribeIntegrationsRequest & WithMarker(MarkerT &&value)
DescribeIntegrationsRequest & WithIntegrationArn(IntegrationArnT &&value)
DescribeIntegrationsRequest & AddFilters(FiltersT &&value)
AWS_REDSHIFT_API DescribeIntegrationsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector