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/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DatabaseMigrationService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DATABASEMIGRATIONSERVICE_API AccountQuota();
36 AWS_DATABASEMIGRATIONSERVICE_API AccountQuota(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATABASEMIGRATIONSERVICE_API AccountQuota& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAccountQuotaName() const{ return m_accountQuotaName; }
46 inline bool AccountQuotaNameHasBeenSet() const { return m_accountQuotaNameHasBeenSet; }
47 inline void SetAccountQuotaName(const Aws::String& value) { m_accountQuotaNameHasBeenSet = true; m_accountQuotaName = value; }
48 inline void SetAccountQuotaName(Aws::String&& value) { m_accountQuotaNameHasBeenSet = true; m_accountQuotaName = std::move(value); }
49 inline void SetAccountQuotaName(const char* value) { m_accountQuotaNameHasBeenSet = true; m_accountQuotaName.assign(value); }
50 inline AccountQuota& WithAccountQuotaName(const Aws::String& value) { SetAccountQuotaName(value); return *this;}
51 inline AccountQuota& WithAccountQuotaName(Aws::String&& value) { SetAccountQuotaName(std::move(value)); return *this;}
52 inline AccountQuota& WithAccountQuotaName(const char* value) { SetAccountQuotaName(value); return *this;}
54
56
59 inline long long GetUsed() const{ return m_used; }
60 inline bool UsedHasBeenSet() const { return m_usedHasBeenSet; }
61 inline void SetUsed(long long value) { m_usedHasBeenSet = true; m_used = value; }
62 inline AccountQuota& WithUsed(long long value) { SetUsed(value); return *this;}
64
66
69 inline long long GetMax() const{ return m_max; }
70 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
71 inline void SetMax(long long value) { m_maxHasBeenSet = true; m_max = value; }
72 inline AccountQuota& WithMax(long long value) { SetMax(value); return *this;}
74 private:
75
76 Aws::String m_accountQuotaName;
77 bool m_accountQuotaNameHasBeenSet = false;
78
79 long long m_used;
80 bool m_usedHasBeenSet = false;
81
82 long long m_max;
83 bool m_maxHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace DatabaseMigrationService
88} // namespace Aws
void SetAccountQuotaName(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API AccountQuota(Aws::Utils::Json::JsonView jsonValue)
AccountQuota & WithAccountQuotaName(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API AccountQuota()
AWS_DATABASEMIGRATIONSERVICE_API AccountQuota & operator=(Aws::Utils::Json::JsonView jsonValue)
AccountQuota & WithAccountQuotaName(const char *value)
AccountQuota & WithAccountQuotaName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue