AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeClusterSnapshotsRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
21 
22 namespace Aws
23 {
24 namespace Redshift
25 {
26 namespace Model
27 {
28 
33  {
34  public:
36  Aws::String SerializePayload() const override;
37 
42  inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
43 
48  inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
49 
54  inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
55 
60  inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
61 
66  inline DescribeClusterSnapshotsRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
67 
72  inline DescribeClusterSnapshotsRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(value); return *this;}
73 
78  inline DescribeClusterSnapshotsRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
79 
84  inline const Aws::String& GetSnapshotIdentifier() const{ return m_snapshotIdentifier; }
85 
90  inline void SetSnapshotIdentifier(const Aws::String& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = value; }
91 
96  inline void SetSnapshotIdentifier(Aws::String&& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = value; }
97 
102  inline void SetSnapshotIdentifier(const char* value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier.assign(value); }
103 
108  inline DescribeClusterSnapshotsRequest& WithSnapshotIdentifier(const Aws::String& value) { SetSnapshotIdentifier(value); return *this;}
109 
114  inline DescribeClusterSnapshotsRequest& WithSnapshotIdentifier(Aws::String&& value) { SetSnapshotIdentifier(value); return *this;}
115 
120  inline DescribeClusterSnapshotsRequest& WithSnapshotIdentifier(const char* value) { SetSnapshotIdentifier(value); return *this;}
121 
127  inline const Aws::String& GetSnapshotType() const{ return m_snapshotType; }
128 
134  inline void SetSnapshotType(const Aws::String& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; }
135 
141  inline void SetSnapshotType(Aws::String&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; }
142 
148  inline void SetSnapshotType(const char* value) { m_snapshotTypeHasBeenSet = true; m_snapshotType.assign(value); }
149 
155  inline DescribeClusterSnapshotsRequest& WithSnapshotType(const Aws::String& value) { SetSnapshotType(value); return *this;}
156 
162  inline DescribeClusterSnapshotsRequest& WithSnapshotType(Aws::String&& value) { SetSnapshotType(value); return *this;}
163 
169  inline DescribeClusterSnapshotsRequest& WithSnapshotType(const char* value) { SetSnapshotType(value); return *this;}
170 
177  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
178 
185  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
186 
193  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
194 
201  inline DescribeClusterSnapshotsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
202 
209  inline DescribeClusterSnapshotsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(value); return *this;}
210 
217  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
218 
225  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
226 
233  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
234 
241  inline DescribeClusterSnapshotsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
242 
249  inline DescribeClusterSnapshotsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(value); return *this;}
250 
259  inline int GetMaxRecords() const{ return m_maxRecords; }
260 
269  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
270 
279  inline DescribeClusterSnapshotsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
280 
289  inline const Aws::String& GetMarker() const{ return m_marker; }
290 
299  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
300 
309  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
310 
319  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
320 
329  inline DescribeClusterSnapshotsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
330 
339  inline DescribeClusterSnapshotsRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
340 
349  inline DescribeClusterSnapshotsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
350 
357  inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
358 
365  inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
366 
373  inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
374 
381  inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
382 
389  inline DescribeClusterSnapshotsRequest& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
390 
397  inline DescribeClusterSnapshotsRequest& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(value); return *this;}
398 
405  inline DescribeClusterSnapshotsRequest& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
406 
415  inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
416 
425  inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
426 
435  inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
436 
445  inline DescribeClusterSnapshotsRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
446 
455  inline DescribeClusterSnapshotsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(value); return *this;}
456 
465  inline DescribeClusterSnapshotsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
466 
475  inline DescribeClusterSnapshotsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
476 
485  inline DescribeClusterSnapshotsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
486 
495  inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
496 
505  inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
506 
515  inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
516 
525  inline DescribeClusterSnapshotsRequest& WithTagValues(const Aws::Vector<Aws::String>& value) { SetTagValues(value); return *this;}
526 
535  inline DescribeClusterSnapshotsRequest& WithTagValues(Aws::Vector<Aws::String>&& value) { SetTagValues(value); return *this;}
536 
545  inline DescribeClusterSnapshotsRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
546 
555  inline DescribeClusterSnapshotsRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
556 
565  inline DescribeClusterSnapshotsRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
566 
567  private:
568  Aws::String m_clusterIdentifier;
569  bool m_clusterIdentifierHasBeenSet;
570  Aws::String m_snapshotIdentifier;
571  bool m_snapshotIdentifierHasBeenSet;
572  Aws::String m_snapshotType;
573  bool m_snapshotTypeHasBeenSet;
574  Aws::Utils::DateTime m_startTime;
575  bool m_startTimeHasBeenSet;
576  Aws::Utils::DateTime m_endTime;
577  bool m_endTimeHasBeenSet;
578  int m_maxRecords;
579  bool m_maxRecordsHasBeenSet;
580  Aws::String m_marker;
581  bool m_markerHasBeenSet;
582  Aws::String m_ownerAccount;
583  bool m_ownerAccountHasBeenSet;
584  Aws::Vector<Aws::String> m_tagKeys;
585  bool m_tagKeysHasBeenSet;
586  Aws::Vector<Aws::String> m_tagValues;
587  bool m_tagValuesHasBeenSet;
588  };
589 
590 } // namespace Model
591 } // namespace Redshift
592 } // namespace Aws
DescribeClusterSnapshotsRequest & WithStartTime(const Aws::Utils::DateTime &value)
DescribeClusterSnapshotsRequest & WithMaxRecords(int value)
DescribeClusterSnapshotsRequest & AddTagKeys(Aws::String &&value)
DescribeClusterSnapshotsRequest & AddTagKeys(const Aws::String &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeClusterSnapshotsRequest & WithSnapshotIdentifier(const char *value)
DescribeClusterSnapshotsRequest & WithSnapshotIdentifier(const Aws::String &value)
DescribeClusterSnapshotsRequest & WithOwnerAccount(Aws::String &&value)
DescribeClusterSnapshotsRequest & WithEndTime(Aws::Utils::DateTime &&value)
DescribeClusterSnapshotsRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
DescribeClusterSnapshotsRequest & WithEndTime(const Aws::Utils::DateTime &value)
DescribeClusterSnapshotsRequest & WithClusterIdentifier(const char *value)
DescribeClusterSnapshotsRequest & AddTagValues(const Aws::String &value)
#define AWS_REDSHIFT_API
DescribeClusterSnapshotsRequest & WithClusterIdentifier(const Aws::String &value)
void SetTagKeys(const Aws::Vector< Aws::String > &value)
DescribeClusterSnapshotsRequest & WithSnapshotType(Aws::String &&value)
DescribeClusterSnapshotsRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
DescribeClusterSnapshotsRequest & AddTagKeys(const char *value)
DescribeClusterSnapshotsRequest & WithSnapshotType(const char *value)
DescribeClusterSnapshotsRequest & WithSnapshotIdentifier(Aws::String &&value)
DescribeClusterSnapshotsRequest & WithMarker(const char *value)
DescribeClusterSnapshotsRequest & AddTagValues(const char *value)
DescribeClusterSnapshotsRequest & WithClusterIdentifier(Aws::String &&value)
DescribeClusterSnapshotsRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeClusterSnapshotsRequest & WithSnapshotType(const Aws::String &value)
DescribeClusterSnapshotsRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
DescribeClusterSnapshotsRequest & WithMarker(Aws::String &&value)
DescribeClusterSnapshotsRequest & WithOwnerAccount(const Aws::String &value)
DescribeClusterSnapshotsRequest & WithStartTime(Aws::Utils::DateTime &&value)
DescribeClusterSnapshotsRequest & WithOwnerAccount(const char *value)
DescribeClusterSnapshotsRequest & AddTagValues(Aws::String &&value)
void SetTagValues(const Aws::Vector< Aws::String > &value)
JSON (JavaScript Object Notation).
DescribeClusterSnapshotsRequest & WithMarker(const Aws::String &value)