AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeIntegrationsRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/model/DescribeIntegrationsFilter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Redshift
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_REDSHIFT_API DescribeIntegrationsRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeIntegrations"; }
33
34 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
45 inline const Aws::String& GetIntegrationArn() const{ return m_integrationArn; }
46 inline bool IntegrationArnHasBeenSet() const { return m_integrationArnHasBeenSet; }
47 inline void SetIntegrationArn(const Aws::String& value) { m_integrationArnHasBeenSet = true; m_integrationArn = value; }
48 inline void SetIntegrationArn(Aws::String&& value) { m_integrationArnHasBeenSet = true; m_integrationArn = std::move(value); }
49 inline void SetIntegrationArn(const char* value) { m_integrationArnHasBeenSet = true; m_integrationArn.assign(value); }
50 inline DescribeIntegrationsRequest& WithIntegrationArn(const Aws::String& value) { SetIntegrationArn(value); return *this;}
51 inline DescribeIntegrationsRequest& WithIntegrationArn(Aws::String&& value) { SetIntegrationArn(std::move(value)); return *this;}
52 inline DescribeIntegrationsRequest& WithIntegrationArn(const char* value) { SetIntegrationArn(value); return *this;}
54
56
64 inline int GetMaxRecords() const{ return m_maxRecords; }
65 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
66 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
67 inline DescribeIntegrationsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
69
71
77 inline const Aws::String& GetMarker() const{ return m_marker; }
78 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
79 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
80 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
81 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
82 inline DescribeIntegrationsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
83 inline DescribeIntegrationsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
84 inline DescribeIntegrationsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
86
88
91 inline const Aws::Vector<DescribeIntegrationsFilter>& GetFilters() const{ return m_filters; }
92 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
93 inline void SetFilters(const Aws::Vector<DescribeIntegrationsFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
94 inline void SetFilters(Aws::Vector<DescribeIntegrationsFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
97 inline DescribeIntegrationsRequest& AddFilters(const DescribeIntegrationsFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
98 inline DescribeIntegrationsRequest& AddFilters(DescribeIntegrationsFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
100 private:
101
102 Aws::String m_integrationArn;
103 bool m_integrationArnHasBeenSet = false;
104
105 int m_maxRecords;
106 bool m_maxRecordsHasBeenSet = false;
107
108 Aws::String m_marker;
109 bool m_markerHasBeenSet = false;
110
112 bool m_filtersHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Redshift
117} // namespace Aws
DescribeIntegrationsRequest & WithFilters(Aws::Vector< DescribeIntegrationsFilter > &&value)
DescribeIntegrationsRequest & WithIntegrationArn(const char *value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeIntegrationsRequest & AddFilters(DescribeIntegrationsFilter &&value)
DescribeIntegrationsRequest & WithIntegrationArn(const Aws::String &value)
DescribeIntegrationsRequest & WithMarker(const char *value)
const Aws::Vector< DescribeIntegrationsFilter > & GetFilters() const
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeIntegrationsRequest & WithFilters(const Aws::Vector< DescribeIntegrationsFilter > &value)
DescribeIntegrationsRequest & WithMaxRecords(int value)
void SetFilters(const Aws::Vector< DescribeIntegrationsFilter > &value)
void SetFilters(Aws::Vector< DescribeIntegrationsFilter > &&value)
DescribeIntegrationsRequest & WithIntegrationArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
DescribeIntegrationsRequest & WithMarker(Aws::String &&value)
DescribeIntegrationsRequest & AddFilters(const DescribeIntegrationsFilter &value)
DescribeIntegrationsRequest & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector