AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeReservedDBInstancesResult.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rds/model/ResponseMetadata.h>
11#include <aws/rds/model/ReservedDBInstance.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace RDS
27{
28namespace Model
29{
37 {
38 public:
42
43
45
50 inline const Aws::String& GetMarker() const{ return m_marker; }
51 inline void SetMarker(const Aws::String& value) { m_marker = value; }
52 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
53 inline void SetMarker(const char* value) { m_marker.assign(value); }
54 inline DescribeReservedDBInstancesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
55 inline DescribeReservedDBInstancesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
56 inline DescribeReservedDBInstancesResult& WithMarker(const char* value) { SetMarker(value); return *this;}
58
60
63 inline const Aws::Vector<ReservedDBInstance>& GetReservedDBInstances() const{ return m_reservedDBInstances; }
64 inline void SetReservedDBInstances(const Aws::Vector<ReservedDBInstance>& value) { m_reservedDBInstances = value; }
65 inline void SetReservedDBInstances(Aws::Vector<ReservedDBInstance>&& value) { m_reservedDBInstances = std::move(value); }
68 inline DescribeReservedDBInstancesResult& AddReservedDBInstances(const ReservedDBInstance& value) { m_reservedDBInstances.push_back(value); return *this; }
69 inline DescribeReservedDBInstancesResult& AddReservedDBInstances(ReservedDBInstance&& value) { m_reservedDBInstances.push_back(std::move(value)); return *this; }
71
73
74 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
75 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
76 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
80 private:
81
82 Aws::String m_marker;
83
84 Aws::Vector<ReservedDBInstance> m_reservedDBInstances;
85
86 ResponseMetadata m_responseMetadata;
87 };
88
89} // namespace Model
90} // namespace RDS
91} // namespace Aws
DescribeReservedDBInstancesResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeReservedDBInstancesResult & WithReservedDBInstances(Aws::Vector< ReservedDBInstance > &&value)
DescribeReservedDBInstancesResult & WithReservedDBInstances(const Aws::Vector< ReservedDBInstance > &value)
void SetReservedDBInstances(const Aws::Vector< ReservedDBInstance > &value)
void SetReservedDBInstances(Aws::Vector< ReservedDBInstance > &&value)
DescribeReservedDBInstancesResult & WithMarker(Aws::String &&value)
const Aws::Vector< ReservedDBInstance > & GetReservedDBInstances() const
AWS_RDS_API DescribeReservedDBInstancesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeReservedDBInstancesResult & WithMarker(const char *value)
DescribeReservedDBInstancesResult & AddReservedDBInstances(const ReservedDBInstance &value)
AWS_RDS_API DescribeReservedDBInstancesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeReservedDBInstancesResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeReservedDBInstancesResult & AddReservedDBInstances(ReservedDBInstance &&value)
DescribeReservedDBInstancesResult & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument