AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeAccountAttributesResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace RDS
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
48  inline const Aws::Vector<AccountQuota>& GetAccountQuotas() const{ return m_accountQuotas; }
49 
55  inline void SetAccountQuotas(const Aws::Vector<AccountQuota>& value) { m_accountQuotas = value; }
56 
62  inline void SetAccountQuotas(Aws::Vector<AccountQuota>&& value) { m_accountQuotas = std::move(value); }
63 
69  inline DescribeAccountAttributesResult& WithAccountQuotas(const Aws::Vector<AccountQuota>& value) { SetAccountQuotas(value); return *this;}
70 
76  inline DescribeAccountAttributesResult& WithAccountQuotas(Aws::Vector<AccountQuota>&& value) { SetAccountQuotas(std::move(value)); return *this;}
77 
83  inline DescribeAccountAttributesResult& AddAccountQuotas(const AccountQuota& value) { m_accountQuotas.push_back(value); return *this; }
84 
90  inline DescribeAccountAttributesResult& AddAccountQuotas(AccountQuota&& value) { m_accountQuotas.push_back(std::move(value)); return *this; }
91 
92 
93 
94  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
95 
96 
97  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
98 
99 
100  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
101 
102 
103  inline DescribeAccountAttributesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
104 
105 
106  inline DescribeAccountAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
107 
108  private:
109 
110  Aws::Vector<AccountQuota> m_accountQuotas;
111 
112  ResponseMetadata m_responseMetadata;
113  };
114 
115 } // namespace Model
116 } // namespace RDS
117 } // namespace Aws
Aws::RDS::Model::DescribeAccountAttributesResult::GetAccountQuotas
const Aws::Vector< AccountQuota > & GetAccountQuotas() const
Definition: DescribeAccountAttributesResult.h:48
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::DescribeAccountAttributesResult::WithResponseMetadata
DescribeAccountAttributesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeAccountAttributesResult.h:103
Aws::RDS::Model::DescribeAccountAttributesResult::AddAccountQuotas
DescribeAccountAttributesResult & AddAccountQuotas(const AccountQuota &value)
Definition: DescribeAccountAttributesResult.h:83
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSVector.h
Aws::RDS::Model::DescribeAccountAttributesResult::AddAccountQuotas
DescribeAccountAttributesResult & AddAccountQuotas(AccountQuota &&value)
Definition: DescribeAccountAttributesResult.h:90
Aws::RDS::Model::DescribeAccountAttributesResult::operator=
DescribeAccountAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
RDS_EXPORTS.h
Aws::RDS::Model::DescribeAccountAttributesResult::SetAccountQuotas
void SetAccountQuotas(const Aws::Vector< AccountQuota > &value)
Definition: DescribeAccountAttributesResult.h:55
Aws::RDS::Model::DescribeAccountAttributesResult::DescribeAccountAttributesResult
DescribeAccountAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::DescribeAccountAttributesResult::WithAccountQuotas
DescribeAccountAttributesResult & WithAccountQuotas(Aws::Vector< AccountQuota > &&value)
Definition: DescribeAccountAttributesResult.h:76
Aws::RDS::Model::DescribeAccountAttributesResult::WithResponseMetadata
DescribeAccountAttributesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeAccountAttributesResult.h:106
Aws::RDS::Model::DescribeAccountAttributesResult::SetAccountQuotas
void SetAccountQuotas(Aws::Vector< AccountQuota > &&value)
Definition: DescribeAccountAttributesResult.h:62
Aws::RDS::Model::AccountQuota
Definition: AccountQuota.h:93
Aws::RDS::Model::DescribeAccountAttributesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeAccountAttributesResult.h:100
AccountQuota.h
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeAccountAttributesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeAccountAttributesResult.h:97
Aws::RDS::Model::DescribeAccountAttributesResult
Definition: DescribeAccountAttributesResult.h:36
Aws::RDS::Model::DescribeAccountAttributesResult::DescribeAccountAttributesResult
DescribeAccountAttributesResult()
Aws
Definition: AccessManagementClient.h:15
ResponseMetadata.h
Aws::RDS::Model::DescribeAccountAttributesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeAccountAttributesResult.h:94
Aws::RDS::Model::DescribeAccountAttributesResult::WithAccountQuotas
DescribeAccountAttributesResult & WithAccountQuotas(const Aws::Vector< AccountQuota > &value)
Definition: DescribeAccountAttributesResult.h:69