AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeSnapshotSchedulesRequest.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 <utility>
12
13namespace Aws
14{
15namespace Redshift
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_REDSHIFT_API DescribeSnapshotSchedulesRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeSnapshotSchedules"; }
32
33 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
45 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
46 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
47 template<typename ClusterIdentifierT = Aws::String>
48 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
49 template<typename ClusterIdentifierT = Aws::String>
50 DescribeSnapshotSchedulesRequest& WithClusterIdentifier(ClusterIdentifierT&& value) { SetClusterIdentifier(std::forward<ClusterIdentifierT>(value)); return *this;}
52
54
57 inline const Aws::String& GetScheduleIdentifier() const { return m_scheduleIdentifier; }
58 inline bool ScheduleIdentifierHasBeenSet() const { return m_scheduleIdentifierHasBeenSet; }
59 template<typename ScheduleIdentifierT = Aws::String>
60 void SetScheduleIdentifier(ScheduleIdentifierT&& value) { m_scheduleIdentifierHasBeenSet = true; m_scheduleIdentifier = std::forward<ScheduleIdentifierT>(value); }
61 template<typename ScheduleIdentifierT = Aws::String>
62 DescribeSnapshotSchedulesRequest& WithScheduleIdentifier(ScheduleIdentifierT&& value) { SetScheduleIdentifier(std::forward<ScheduleIdentifierT>(value)); return *this;}
64
66
69 inline const Aws::Vector<Aws::String>& GetTagKeys() const { return m_tagKeys; }
70 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
71 template<typename TagKeysT = Aws::Vector<Aws::String>>
72 void SetTagKeys(TagKeysT&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::forward<TagKeysT>(value); }
73 template<typename TagKeysT = Aws::Vector<Aws::String>>
74 DescribeSnapshotSchedulesRequest& WithTagKeys(TagKeysT&& value) { SetTagKeys(std::forward<TagKeysT>(value)); return *this;}
75 template<typename TagKeysT = Aws::String>
76 DescribeSnapshotSchedulesRequest& AddTagKeys(TagKeysT&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.emplace_back(std::forward<TagKeysT>(value)); return *this; }
78
80
83 inline const Aws::Vector<Aws::String>& GetTagValues() const { return m_tagValues; }
84 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
85 template<typename TagValuesT = Aws::Vector<Aws::String>>
86 void SetTagValues(TagValuesT&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::forward<TagValuesT>(value); }
87 template<typename TagValuesT = Aws::Vector<Aws::String>>
88 DescribeSnapshotSchedulesRequest& WithTagValues(TagValuesT&& value) { SetTagValues(std::forward<TagValuesT>(value)); return *this;}
89 template<typename TagValuesT = Aws::String>
90 DescribeSnapshotSchedulesRequest& AddTagValues(TagValuesT&& value) { m_tagValuesHasBeenSet = true; m_tagValues.emplace_back(std::forward<TagValuesT>(value)); return *this; }
92
94
102 inline const Aws::String& GetMarker() const { return m_marker; }
103 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
104 template<typename MarkerT = Aws::String>
105 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
106 template<typename MarkerT = Aws::String>
107 DescribeSnapshotSchedulesRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
109
111
118 inline int GetMaxRecords() const { return m_maxRecords; }
119 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
120 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
121 inline DescribeSnapshotSchedulesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
123 private:
124
125 Aws::String m_clusterIdentifier;
126 bool m_clusterIdentifierHasBeenSet = false;
127
128 Aws::String m_scheduleIdentifier;
129 bool m_scheduleIdentifierHasBeenSet = false;
130
131 Aws::Vector<Aws::String> m_tagKeys;
132 bool m_tagKeysHasBeenSet = false;
133
134 Aws::Vector<Aws::String> m_tagValues;
135 bool m_tagValuesHasBeenSet = false;
136
137 Aws::String m_marker;
138 bool m_markerHasBeenSet = false;
139
140 int m_maxRecords{0};
141 bool m_maxRecordsHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace Redshift
146} // namespace Aws
DescribeSnapshotSchedulesRequest & WithScheduleIdentifier(ScheduleIdentifierT &&value)
DescribeSnapshotSchedulesRequest & WithTagKeys(TagKeysT &&value)
DescribeSnapshotSchedulesRequest & WithTagValues(TagValuesT &&value)
DescribeSnapshotSchedulesRequest & AddTagValues(TagValuesT &&value)
DescribeSnapshotSchedulesRequest & WithMarker(MarkerT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeSnapshotSchedulesRequest & AddTagKeys(TagKeysT &&value)
AWS_REDSHIFT_API DescribeSnapshotSchedulesRequest()=default
DescribeSnapshotSchedulesRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector