AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeSnapshotCopyGrantsRequest.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
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
37 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
48 inline const Aws::String& GetSnapshotCopyGrantName() const{ return m_snapshotCopyGrantName; }
49 inline bool SnapshotCopyGrantNameHasBeenSet() const { return m_snapshotCopyGrantNameHasBeenSet; }
50 inline void SetSnapshotCopyGrantName(const Aws::String& value) { m_snapshotCopyGrantNameHasBeenSet = true; m_snapshotCopyGrantName = value; }
51 inline void SetSnapshotCopyGrantName(Aws::String&& value) { m_snapshotCopyGrantNameHasBeenSet = true; m_snapshotCopyGrantName = std::move(value); }
52 inline void SetSnapshotCopyGrantName(const char* value) { m_snapshotCopyGrantNameHasBeenSet = true; m_snapshotCopyGrantName.assign(value); }
57
59
67 inline int GetMaxRecords() const{ return m_maxRecords; }
68 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
69 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
70 inline DescribeSnapshotCopyGrantsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
72
74
84 inline const Aws::String& GetMarker() const{ return m_marker; }
85 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
86 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
87 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
88 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
89 inline DescribeSnapshotCopyGrantsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
90 inline DescribeSnapshotCopyGrantsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
91 inline DescribeSnapshotCopyGrantsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
93
95
103 inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
104 inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
105 inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
106 inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
108 inline DescribeSnapshotCopyGrantsRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
109 inline DescribeSnapshotCopyGrantsRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
110 inline DescribeSnapshotCopyGrantsRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
111 inline DescribeSnapshotCopyGrantsRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
113
115
123 inline const Aws::Vector<Aws::String>& GetTagValues() const{ return m_tagValues; }
124 inline bool TagValuesHasBeenSet() const { return m_tagValuesHasBeenSet; }
125 inline void SetTagValues(const Aws::Vector<Aws::String>& value) { m_tagValuesHasBeenSet = true; m_tagValues = value; }
126 inline void SetTagValues(Aws::Vector<Aws::String>&& value) { m_tagValuesHasBeenSet = true; m_tagValues = std::move(value); }
129 inline DescribeSnapshotCopyGrantsRequest& AddTagValues(const Aws::String& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
130 inline DescribeSnapshotCopyGrantsRequest& AddTagValues(Aws::String&& value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(std::move(value)); return *this; }
131 inline DescribeSnapshotCopyGrantsRequest& AddTagValues(const char* value) { m_tagValuesHasBeenSet = true; m_tagValues.push_back(value); return *this; }
133 private:
134
135 Aws::String m_snapshotCopyGrantName;
136 bool m_snapshotCopyGrantNameHasBeenSet = false;
137
138 int m_maxRecords;
139 bool m_maxRecordsHasBeenSet = false;
140
141 Aws::String m_marker;
142 bool m_markerHasBeenSet = false;
143
144 Aws::Vector<Aws::String> m_tagKeys;
145 bool m_tagKeysHasBeenSet = false;
146
147 Aws::Vector<Aws::String> m_tagValues;
148 bool m_tagValuesHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace Redshift
153} // namespace Aws
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