AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
48 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
49 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
52 inline DescribeSnapshotSchedulesRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
54
56
59 inline const Aws::String& GetScheduleIdentifier() const{ return m_scheduleIdentifier; }
60 inline bool ScheduleIdentifierHasBeenSet() const { return m_scheduleIdentifierHasBeenSet; }
61 inline void SetScheduleIdentifier(const Aws::String& value) { m_scheduleIdentifierHasBeenSet = true; m_scheduleIdentifier = value; }
62 inline void SetScheduleIdentifier(Aws::String&& value) { m_scheduleIdentifierHasBeenSet = true; m_scheduleIdentifier = std::move(value); }
63 inline void SetScheduleIdentifier(const char* value) { m_scheduleIdentifierHasBeenSet = true; m_scheduleIdentifier.assign(value); }
66 inline DescribeSnapshotSchedulesRequest& WithScheduleIdentifier(const char* value) { SetScheduleIdentifier(value); return *this;}
68
70
73 inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
74 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
75 inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
76 inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
78 inline DescribeSnapshotSchedulesRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
79 inline DescribeSnapshotSchedulesRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
80 inline DescribeSnapshotSchedulesRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
81 inline DescribeSnapshotSchedulesRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
83
85
88 inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
89 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
90 inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
91 inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::move(value); }
93 inline DescribeSnapshotSchedulesRequest& WithTagValues(Aws::Vector<Aws::String>&& value) { SetTagValues(std::move(value)); return *this;}
94 inline DescribeSnapshotSchedulesRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
95 inline DescribeSnapshotSchedulesRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(std::move(value)); return *this; }
96 inline DescribeSnapshotSchedulesRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
98
100
108 inline const Aws::String& GetMarker() const{ return m_marker; }
109 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
110 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
111 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
112 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
113 inline DescribeSnapshotSchedulesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
114 inline DescribeSnapshotSchedulesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
115 inline DescribeSnapshotSchedulesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
117
119
126 inline int GetMaxRecords() const{ return m_maxRecords; }
127 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
128 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
129 inline DescribeSnapshotSchedulesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
131 private:
132
133 Aws::String m_clusterIdentifier;
134 bool m_clusterIdentifierHasBeenSet = false;
135
136 Aws::String m_scheduleIdentifier;
137 bool m_scheduleIdentifierHasBeenSet = false;
138
139 Aws::Vector<Aws::String> m_tagKeys;
140 bool m_tagKeysHasBeenSet = false;
141
142 Aws::Vector<Aws::String> m_tagValues;
143 bool m_tagValuesHasBeenSet = false;
144
145 Aws::String m_marker;
146 bool m_markerHasBeenSet = false;
147
148 int m_maxRecords;
149 bool m_maxRecordsHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace Redshift
154} // namespace Aws
DescribeSnapshotSchedulesRequest & AddTagKeys(const Aws::String &value)
DescribeSnapshotSchedulesRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
DescribeSnapshotSchedulesRequest & WithMarker(Aws::String &&value)
DescribeSnapshotSchedulesRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
DescribeSnapshotSchedulesRequest & WithClusterIdentifier(const char *value)
DescribeSnapshotSchedulesRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
DescribeSnapshotSchedulesRequest & WithMarker(const char *value)
DescribeSnapshotSchedulesRequest & WithClusterIdentifier(const Aws::String &value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeSnapshotSchedulesRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
DescribeSnapshotSchedulesRequest & WithScheduleIdentifier(Aws::String &&value)
DescribeSnapshotSchedulesRequest & AddTagValues(const char *value)
DescribeSnapshotSchedulesRequest & WithClusterIdentifier(Aws::String &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeSnapshotSchedulesRequest & AddTagKeys(Aws::String &&value)
DescribeSnapshotSchedulesRequest & WithScheduleIdentifier(const Aws::String &value)
DescribeSnapshotSchedulesRequest & WithScheduleIdentifier(const char *value)
DescribeSnapshotSchedulesRequest & WithMarker(const Aws::String &value)
DescribeSnapshotSchedulesRequest & AddTagValues(const Aws::String &value)
DescribeSnapshotSchedulesRequest & AddTagValues(Aws::String &&value)
DescribeSnapshotSchedulesRequest & AddTagKeys(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector