AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDBInstancesRequest.h
1
6#pragma once
7#include <aws/docdb/DocDB_EXPORTS.h>
8#include <aws/docdb/DocDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/docdb/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DocDB
17{
18namespace Model
19{
20
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "DescribeDBInstances"; }
37
38 AWS_DOCDB_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
46
52 inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
53 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
54 inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
55 inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
56 inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
59 inline DescribeDBInstancesRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
61
63
73 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
74 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
75 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
76 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
77 inline DescribeDBInstancesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
78 inline DescribeDBInstancesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
79 inline DescribeDBInstancesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
80 inline DescribeDBInstancesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
82
84
90 inline int GetMaxRecords() const{ return m_maxRecords; }
91 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
92 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
93 inline DescribeDBInstancesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
95
97
102 inline const Aws::String& GetMarker() const{ return m_marker; }
103 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
104 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
105 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
106 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
107 inline DescribeDBInstancesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
108 inline DescribeDBInstancesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
109 inline DescribeDBInstancesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
111 private:
112
113 Aws::String m_dBInstanceIdentifier;
114 bool m_dBInstanceIdentifierHasBeenSet = false;
115
116 Aws::Vector<Filter> m_filters;
117 bool m_filtersHasBeenSet = false;
118
119 int m_maxRecords;
120 bool m_maxRecordsHasBeenSet = false;
121
122 Aws::String m_marker;
123 bool m_markerHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace DocDB
128} // namespace Aws
DescribeDBInstancesRequest & WithDBInstanceIdentifier(const char *value)
DescribeDBInstancesRequest & WithDBInstanceIdentifier(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Filter > & GetFilters() const
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeDBInstancesRequest & AddFilters(Filter &&value)
DescribeDBInstancesRequest & WithMaxRecords(int value)
DescribeDBInstancesRequest & WithFilters(const Aws::Vector< Filter > &value)
void SetFilters(const Aws::Vector< Filter > &value)
DescribeDBInstancesRequest & WithMarker(const char *value)
DescribeDBInstancesRequest & WithMarker(Aws::String &&value)
AWS_DOCDB_API Aws::String SerializePayload() const override
DescribeDBInstancesRequest & WithMarker(const Aws::String &value)
DescribeDBInstancesRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeDBInstancesRequest & AddFilters(const Filter &value)
DescribeDBInstancesRequest & WithDBInstanceIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector