AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeCertificatesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <aws/docdb/model/Filter.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace DocDB
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "DescribeCertificates"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
48  inline const Aws::String& GetCertificateIdentifier() const{ return m_certificateIdentifier; }
49 
57  inline bool CertificateIdentifierHasBeenSet() const { return m_certificateIdentifierHasBeenSet; }
58 
66  inline void SetCertificateIdentifier(const Aws::String& value) { m_certificateIdentifierHasBeenSet = true; m_certificateIdentifier = value; }
67 
75  inline void SetCertificateIdentifier(Aws::String&& value) { m_certificateIdentifierHasBeenSet = true; m_certificateIdentifier = std::move(value); }
76 
84  inline void SetCertificateIdentifier(const char* value) { m_certificateIdentifierHasBeenSet = true; m_certificateIdentifier.assign(value); }
85 
93  inline DescribeCertificatesRequest& WithCertificateIdentifier(const Aws::String& value) { SetCertificateIdentifier(value); return *this;}
94 
102  inline DescribeCertificatesRequest& WithCertificateIdentifier(Aws::String&& value) { SetCertificateIdentifier(std::move(value)); return *this;}
103 
111  inline DescribeCertificatesRequest& WithCertificateIdentifier(const char* value) { SetCertificateIdentifier(value); return *this;}
112 
113 
117  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
118 
122  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
123 
127  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
128 
132  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
133 
137  inline DescribeCertificatesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
138 
142  inline DescribeCertificatesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
143 
147  inline DescribeCertificatesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
148 
152  inline DescribeCertificatesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
153 
154 
162  inline int GetMaxRecords() const{ return m_maxRecords; }
163 
171  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
172 
180  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
181 
189  inline DescribeCertificatesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
190 
191 
198  inline const Aws::String& GetMarker() const{ return m_marker; }
199 
206  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
207 
214  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
215 
222  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
223 
230  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
231 
238  inline DescribeCertificatesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
239 
246  inline DescribeCertificatesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
247 
254  inline DescribeCertificatesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
255 
256  private:
257 
258  Aws::String m_certificateIdentifier;
259  bool m_certificateIdentifierHasBeenSet;
260 
261  Aws::Vector<Filter> m_filters;
262  bool m_filtersHasBeenSet;
263 
264  int m_maxRecords;
265  bool m_maxRecordsHasBeenSet;
266 
267  Aws::String m_marker;
268  bool m_markerHasBeenSet;
269  };
270 
271 } // namespace Model
272 } // namespace DocDB
273 } // namespace Aws
DescribeCertificatesRequest & WithMarker(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
DescribeCertificatesRequest & WithMaxRecords(int value)
DescribeCertificatesRequest & WithMarker(const Aws::String &value)
DescribeCertificatesRequest & AddFilters(const Filter &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
DescribeCertificatesRequest & WithMarker(const char *value)
void SetFilters(const Aws::Vector< Filter > &value)
DescribeCertificatesRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeCertificatesRequest & WithCertificateIdentifier(Aws::String &&value)
DescribeCertificatesRequest & AddFilters(Filter &&value)
#define AWS_DOCDB_API
Definition: DocDB_EXPORTS.h:28
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeCertificatesRequest & WithCertificateIdentifier(const Aws::String &value)
DescribeCertificatesRequest & WithCertificateIdentifier(const char *value)
DescribeCertificatesRequest & WithFilters(const Aws::Vector< Filter > &value)