AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccountQuota.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace RDS
22{
23namespace Model
24{
25
93 {
94 public:
95 AWS_RDS_API AccountQuota();
96 AWS_RDS_API AccountQuota(const Aws::Utils::Xml::XmlNode& xmlNode);
97 AWS_RDS_API AccountQuota& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
98
99 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
100 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
101
102
104
107 inline const Aws::String& GetAccountQuotaName() const{ return m_accountQuotaName; }
108 inline bool AccountQuotaNameHasBeenSet() const { return m_accountQuotaNameHasBeenSet; }
109 inline void SetAccountQuotaName(const Aws::String& value) { m_accountQuotaNameHasBeenSet = true; m_accountQuotaName = value; }
110 inline void SetAccountQuotaName(Aws::String&& value) { m_accountQuotaNameHasBeenSet = true; m_accountQuotaName = std::move(value); }
111 inline void SetAccountQuotaName(const char* value) { m_accountQuotaNameHasBeenSet = true; m_accountQuotaName.assign(value); }
112 inline AccountQuota& WithAccountQuotaName(const Aws::String& value) { SetAccountQuotaName(value); return *this;}
113 inline AccountQuota& WithAccountQuotaName(Aws::String&& value) { SetAccountQuotaName(std::move(value)); return *this;}
114 inline AccountQuota& WithAccountQuotaName(const char* value) { SetAccountQuotaName(value); return *this;}
116
118
121 inline long long GetUsed() const{ return m_used; }
122 inline bool UsedHasBeenSet() const { return m_usedHasBeenSet; }
123 inline void SetUsed(long long value) { m_usedHasBeenSet = true; m_used = value; }
124 inline AccountQuota& WithUsed(long long value) { SetUsed(value); return *this;}
126
128
131 inline long long GetMax() const{ return m_max; }
132 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
133 inline void SetMax(long long value) { m_maxHasBeenSet = true; m_max = value; }
134 inline AccountQuota& WithMax(long long value) { SetMax(value); return *this;}
136 private:
137
138 Aws::String m_accountQuotaName;
139 bool m_accountQuotaNameHasBeenSet = false;
140
141 long long m_used;
142 bool m_usedHasBeenSet = false;
143
144 long long m_max;
145 bool m_maxHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace RDS
150} // namespace Aws
void SetAccountQuotaName(const char *value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AccountQuota & WithUsed(long long value)
void SetAccountQuotaName(Aws::String &&value)
void SetMax(long long value)
void SetUsed(long long value)
AWS_RDS_API AccountQuota & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API AccountQuota(const Aws::Utils::Xml::XmlNode &xmlNode)
AccountQuota & WithAccountQuotaName(const char *value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetAccountQuotaName(const Aws::String &value)
AccountQuota & WithAccountQuotaName(const Aws::String &value)
bool AccountQuotaNameHasBeenSet() const
const Aws::String & GetAccountQuotaName() const
AccountQuota & WithMax(long long value)
AccountQuota & WithAccountQuotaName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream