AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeTenantDatabasesRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace RDS
17{
18namespace 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 "DescribeTenantDatabases"; }
33
34 AWS_RDS_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
47 inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
48 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
49 inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
50 inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
51 inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
54 inline DescribeTenantDatabasesRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
56
58
63 inline const Aws::String& GetTenantDBName() const{ return m_tenantDBName; }
64 inline bool TenantDBNameHasBeenSet() const { return m_tenantDBNameHasBeenSet; }
65 inline void SetTenantDBName(const Aws::String& value) { m_tenantDBNameHasBeenSet = true; m_tenantDBName = value; }
66 inline void SetTenantDBName(Aws::String&& value) { m_tenantDBNameHasBeenSet = true; m_tenantDBName = std::move(value); }
67 inline void SetTenantDBName(const char* value) { m_tenantDBNameHasBeenSet = true; m_tenantDBName.assign(value); }
68 inline DescribeTenantDatabasesRequest& WithTenantDBName(const Aws::String& value) { SetTenantDBName(value); return *this;}
69 inline DescribeTenantDatabasesRequest& WithTenantDBName(Aws::String&& value) { SetTenantDBName(std::move(value)); return *this;}
70 inline DescribeTenantDatabasesRequest& WithTenantDBName(const char* value) { SetTenantDBName(value); return *this;}
72
74
85 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
86 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
87 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
88 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
89 inline DescribeTenantDatabasesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
90 inline DescribeTenantDatabasesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
91 inline DescribeTenantDatabasesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
92 inline DescribeTenantDatabasesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
94
96
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 DescribeTenantDatabasesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
108 inline DescribeTenantDatabasesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
109 inline DescribeTenantDatabasesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
111
113
119 inline int GetMaxRecords() const{ return m_maxRecords; }
120 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
121 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
122 inline DescribeTenantDatabasesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
124 private:
125
126 Aws::String m_dBInstanceIdentifier;
127 bool m_dBInstanceIdentifierHasBeenSet = false;
128
129 Aws::String m_tenantDBName;
130 bool m_tenantDBNameHasBeenSet = false;
131
132 Aws::Vector<Filter> m_filters;
133 bool m_filtersHasBeenSet = false;
134
135 Aws::String m_marker;
136 bool m_markerHasBeenSet = false;
137
138 int m_maxRecords;
139 bool m_maxRecordsHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace RDS
144} // namespace Aws
DescribeTenantDatabasesRequest & WithTenantDBName(const Aws::String &value)
DescribeTenantDatabasesRequest & WithFilters(const Aws::Vector< Filter > &value)
DescribeTenantDatabasesRequest & WithMarker(Aws::String &&value)
DescribeTenantDatabasesRequest & WithDBInstanceIdentifier(const Aws::String &value)
DescribeTenantDatabasesRequest & WithTenantDBName(const char *value)
DescribeTenantDatabasesRequest & AddFilters(Filter &&value)
DescribeTenantDatabasesRequest & WithMarker(const char *value)
DescribeTenantDatabasesRequest & WithMarker(const Aws::String &value)
DescribeTenantDatabasesRequest & WithDBInstanceIdentifier(Aws::String &&value)
DescribeTenantDatabasesRequest & WithMaxRecords(int value)
AWS_RDS_API Aws::String SerializePayload() const override
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
DescribeTenantDatabasesRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeTenantDatabasesRequest & AddFilters(const Filter &value)
DescribeTenantDatabasesRequest & WithDBInstanceIdentifier(const char *value)
DescribeTenantDatabasesRequest & WithTenantDBName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector