AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeSnapshotCopyGrantsRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace Redshift
16{
17namespace Model
18{
19
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DescribeSnapshotCopyGrants"; }
36
38
39 protected:
40 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
47 inline const Aws::String& GetSnapshotCopyGrantName() const{ return m_snapshotCopyGrantName; }
48
52 inline bool SnapshotCopyGrantNameHasBeenSet() const { return m_snapshotCopyGrantNameHasBeenSet; }
53
57 inline void SetSnapshotCopyGrantName(const Aws::String& value) { m_snapshotCopyGrantNameHasBeenSet = true; m_snapshotCopyGrantName = value; }
58
62 inline void SetSnapshotCopyGrantName(Aws::String&& value) { m_snapshotCopyGrantNameHasBeenSet = true; m_snapshotCopyGrantName = std::move(value); }
63
67 inline void SetSnapshotCopyGrantName(const char* value) { m_snapshotCopyGrantNameHasBeenSet = true; m_snapshotCopyGrantName.assign(value); }
68
73
78
83
84
93 inline int GetMaxRecords() const{ return m_maxRecords; }
94
103 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
104
113 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
114
123 inline DescribeSnapshotCopyGrantsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
124
125
136 inline const Aws::String& GetMarker() const{ return m_marker; }
137
148 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
149
160 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
161
172 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
173
184 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
185
196 inline DescribeSnapshotCopyGrantsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
197
208 inline DescribeSnapshotCopyGrantsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
209
220 inline DescribeSnapshotCopyGrantsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
221
222
231 inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
232
241 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
242
251 inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
252
261 inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
262
272
281 inline DescribeSnapshotCopyGrantsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
282
291 inline DescribeSnapshotCopyGrantsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
292
301 inline DescribeSnapshotCopyGrantsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
302
311 inline DescribeSnapshotCopyGrantsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
312
313
322 inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
323
332 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
333
342 inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
343
352 inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::move(value); }
353
363
373
382 inline DescribeSnapshotCopyGrantsRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
383
392 inline DescribeSnapshotCopyGrantsRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(std::move(value)); return *this; }
393
402 inline DescribeSnapshotCopyGrantsRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
403
404 private:
405
406 Aws::String m_snapshotCopyGrantName;
407 bool m_snapshotCopyGrantNameHasBeenSet = false;
408
409 int m_maxRecords;
410 bool m_maxRecordsHasBeenSet = false;
411
412 Aws::String m_marker;
413 bool m_markerHasBeenSet = false;
414
415 Aws::Vector<Aws::String> m_tagKeys;
416 bool m_tagKeysHasBeenSet = false;
417
418 Aws::Vector<Aws::String> m_tagValues;
419 bool m_tagValuesHasBeenSet = false;
420 };
421
422} // namespace Model
423} // namespace Redshift
424} // namespace Aws
#define AWS_REDSHIFT_API
DescribeSnapshotCopyGrantsRequest & AddTagValues(const char *value)
DescribeSnapshotCopyGrantsRequest & WithTagKeys(const Aws::Vector< Aws::String > &value)
DescribeSnapshotCopyGrantsRequest & WithTagValues(const Aws::Vector< Aws::String > &value)
DescribeSnapshotCopyGrantsRequest & WithTagKeys(Aws::Vector< Aws::String > &&value)
DescribeSnapshotCopyGrantsRequest & AddTagKeys(const char *value)
DescribeSnapshotCopyGrantsRequest & WithMarker(const char *value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeSnapshotCopyGrantsRequest & WithSnapshotCopyGrantName(const char *value)
DescribeSnapshotCopyGrantsRequest & WithSnapshotCopyGrantName(const Aws::String &value)
DescribeSnapshotCopyGrantsRequest & AddTagKeys(const Aws::String &value)
DescribeSnapshotCopyGrantsRequest & WithMarker(Aws::String &&value)
DescribeSnapshotCopyGrantsRequest & AddTagValues(const Aws::String &value)
DescribeSnapshotCopyGrantsRequest & AddTagKeys(Aws::String &&value)
DescribeSnapshotCopyGrantsRequest & WithMarker(const Aws::String &value)
DescribeSnapshotCopyGrantsRequest & WithTagValues(Aws::Vector< Aws::String > &&value)
DescribeSnapshotCopyGrantsRequest & WithSnapshotCopyGrantName(Aws::String &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
DescribeSnapshotCopyGrantsRequest & AddTagValues(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector