AWS SDK for C++  1.9.159
AWS SDK for C++
DescribeDBInstancesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Neptune
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 "DescribeDBInstances"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
47  inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
48 
55  inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
56 
63  inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
64 
71  inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
72 
79  inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
80 
87  inline DescribeDBInstancesRequest& WithDBInstanceIdentifier(const Aws::String& value) { SetDBInstanceIdentifier(value); return *this;}
88 
95  inline DescribeDBInstancesRequest& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;}
96 
103  inline DescribeDBInstancesRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
104 
105 
117  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
118 
130  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
131 
143  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
144 
156  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
157 
169  inline DescribeDBInstancesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
170 
182  inline DescribeDBInstancesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
183 
195  inline DescribeDBInstancesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
196 
208  inline DescribeDBInstancesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
209 
210 
217  inline int GetMaxRecords() const{ return m_maxRecords; }
218 
225  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
226 
233  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
234 
241  inline DescribeDBInstancesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
242 
243 
250  inline const Aws::String& GetMarker() const{ return m_marker; }
251 
258  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
259 
266  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
267 
274  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
275 
282  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
283 
290  inline DescribeDBInstancesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
291 
298  inline DescribeDBInstancesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
299 
306  inline DescribeDBInstancesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
307 
308  private:
309 
310  Aws::String m_dBInstanceIdentifier;
311  bool m_dBInstanceIdentifierHasBeenSet;
312 
313  Aws::Vector<Filter> m_filters;
314  bool m_filtersHasBeenSet;
315 
316  int m_maxRecords;
317  bool m_maxRecordsHasBeenSet;
318 
319  Aws::String m_marker;
320  bool m_markerHasBeenSet;
321  };
322 
323 } // namespace Model
324 } // namespace Neptune
325 } // namespace Aws
Aws::Neptune::Model::DescribeDBInstancesRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeDBInstancesRequest.h:233
Aws::Neptune::Model::Filter
Definition: Filter.h:33
Aws::Neptune::Model::DescribeDBInstancesRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeDBInstancesRequest.h:130
Aws::Http::URI
Definition: URI.h:32
Neptune_EXPORTS.h
Filter.h
Aws::Neptune::Model::DescribeDBInstancesRequest::WithDBInstanceIdentifier
DescribeDBInstancesRequest & WithDBInstanceIdentifier(const char *value)
Definition: DescribeDBInstancesRequest.h:103
AWS_NEPTUNE_API
#define AWS_NEPTUNE_API
Definition: Neptune_EXPORTS.h:28
Aws::Neptune::Model::DescribeDBInstancesRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeDBInstancesRequest.h:117
Aws::Neptune::Model::DescribeDBInstancesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Neptune::Model::DescribeDBInstancesRequest::WithDBInstanceIdentifier
DescribeDBInstancesRequest & WithDBInstanceIdentifier(const Aws::String &value)
Definition: DescribeDBInstancesRequest.h:87
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Neptune::Model::DescribeDBInstancesRequest::SetDBInstanceIdentifier
void SetDBInstanceIdentifier(const Aws::String &value)
Definition: DescribeDBInstancesRequest.h:63
Aws::Neptune::Model::DescribeDBInstancesRequest::WithFilters
DescribeDBInstancesRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBInstancesRequest.h:182
Aws::Neptune::Model::DescribeDBInstancesRequest::SetDBInstanceIdentifier
void SetDBInstanceIdentifier(Aws::String &&value)
Definition: DescribeDBInstancesRequest.h:71
Aws::Neptune::Model::DescribeDBInstancesRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeDBInstancesRequest.h:250
AWSVector.h
Aws::Neptune::Model::DescribeDBInstancesRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBInstancesRequest.h:143
Aws::Neptune::Model::DescribeDBInstancesRequest::GetDBInstanceIdentifier
const Aws::String & GetDBInstanceIdentifier() const
Definition: DescribeDBInstancesRequest.h:47
Aws::Neptune::NeptuneRequest
Definition: NeptuneRequest.h:17
Aws::Neptune::Model::DescribeDBInstancesRequest::WithDBInstanceIdentifier
DescribeDBInstancesRequest & WithDBInstanceIdentifier(Aws::String &&value)
Definition: DescribeDBInstancesRequest.h:95
Aws::Neptune::Model::DescribeDBInstancesRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeDBInstancesRequest.h:217
Aws::Neptune::Model::DescribeDBInstancesRequest::WithMaxRecords
DescribeDBInstancesRequest & WithMaxRecords(int value)
Definition: DescribeDBInstancesRequest.h:241
Aws::Neptune::Model::DescribeDBInstancesRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeDBInstancesRequest.h:266
Aws::Neptune::Model::DescribeDBInstancesRequest::DescribeDBInstancesRequest
DescribeDBInstancesRequest()
Aws::Neptune::Model::DescribeDBInstancesRequest::WithMarker
DescribeDBInstancesRequest & WithMarker(Aws::String &&value)
Definition: DescribeDBInstancesRequest.h:298
Aws::Neptune::Model::DescribeDBInstancesRequest::WithFilters
DescribeDBInstancesRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeDBInstancesRequest.h:169
Aws::Neptune::Model::DescribeDBInstancesRequest::SetDBInstanceIdentifier
void SetDBInstanceIdentifier(const char *value)
Definition: DescribeDBInstancesRequest.h:79
AWSString.h
Aws::Neptune::Model::DescribeDBInstancesRequest::DBInstanceIdentifierHasBeenSet
bool DBInstanceIdentifierHasBeenSet() const
Definition: DescribeDBInstancesRequest.h:55
Aws::Neptune::Model::DescribeDBInstancesRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeDBInstancesRequest.h:282
Aws::Neptune::Model::DescribeDBInstancesRequest::AddFilters
DescribeDBInstancesRequest & AddFilters(const Filter &value)
Definition: DescribeDBInstancesRequest.h:195
Aws::Neptune::Model::DescribeDBInstancesRequest::WithMarker
DescribeDBInstancesRequest & WithMarker(const Aws::String &value)
Definition: DescribeDBInstancesRequest.h:290
Aws::Neptune::Model::DescribeDBInstancesRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeDBInstancesRequest.h:274
NeptuneRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::Neptune::Model::DescribeDBInstancesRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeDBInstancesRequest.h:225
Aws::Neptune::Model::DescribeDBInstancesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDBInstancesRequest.h:32
Aws::Neptune::Model::DescribeDBInstancesRequest
Definition: DescribeDBInstancesRequest.h:24
Aws::Neptune::Model::DescribeDBInstancesRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeDBInstancesRequest.h:258
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Neptune::Model::DescribeDBInstancesRequest::WithMarker
DescribeDBInstancesRequest & WithMarker(const char *value)
Definition: DescribeDBInstancesRequest.h:306
Aws::Neptune::Model::DescribeDBInstancesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Neptune::Model::DescribeDBInstancesRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeDBInstancesRequest.h:156
Aws::Neptune::Model::DescribeDBInstancesRequest::AddFilters
DescribeDBInstancesRequest & AddFilters(Filter &&value)
Definition: DescribeDBInstancesRequest.h:208