AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeAccountAttributesResult.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dms/model/AccountQuota.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DatabaseMigrationService
26{
27namespace Model
28{
35 {
36 public:
37 AWS_DATABASEMIGRATIONSERVICE_API DescribeAccountAttributesResult() = default;
40
41
43
46 inline const Aws::Vector<AccountQuota>& GetAccountQuotas() const { return m_accountQuotas; }
47 template<typename AccountQuotasT = Aws::Vector<AccountQuota>>
48 void SetAccountQuotas(AccountQuotasT&& value) { m_accountQuotasHasBeenSet = true; m_accountQuotas = std::forward<AccountQuotasT>(value); }
49 template<typename AccountQuotasT = Aws::Vector<AccountQuota>>
50 DescribeAccountAttributesResult& WithAccountQuotas(AccountQuotasT&& value) { SetAccountQuotas(std::forward<AccountQuotasT>(value)); return *this;}
51 template<typename AccountQuotasT = AccountQuota>
52 DescribeAccountAttributesResult& AddAccountQuotas(AccountQuotasT&& value) { m_accountQuotasHasBeenSet = true; m_accountQuotas.emplace_back(std::forward<AccountQuotasT>(value)); return *this; }
54
56
69 inline const Aws::String& GetUniqueAccountIdentifier() const { return m_uniqueAccountIdentifier; }
70 template<typename UniqueAccountIdentifierT = Aws::String>
71 void SetUniqueAccountIdentifier(UniqueAccountIdentifierT&& value) { m_uniqueAccountIdentifierHasBeenSet = true; m_uniqueAccountIdentifier = std::forward<UniqueAccountIdentifierT>(value); }
72 template<typename UniqueAccountIdentifierT = Aws::String>
73 DescribeAccountAttributesResult& WithUniqueAccountIdentifier(UniqueAccountIdentifierT&& value) { SetUniqueAccountIdentifier(std::forward<UniqueAccountIdentifierT>(value)); return *this;}
75
77
78 inline const Aws::String& GetRequestId() const { return m_requestId; }
79 template<typename RequestIdT = Aws::String>
80 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
81 template<typename RequestIdT = Aws::String>
82 DescribeAccountAttributesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
84 private:
85
86 Aws::Vector<AccountQuota> m_accountQuotas;
87 bool m_accountQuotasHasBeenSet = false;
88
89 Aws::String m_uniqueAccountIdentifier;
90 bool m_uniqueAccountIdentifierHasBeenSet = false;
91
92 Aws::String m_requestId;
93 bool m_requestIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace DatabaseMigrationService
98} // namespace Aws
DescribeAccountAttributesResult & WithAccountQuotas(AccountQuotasT &&value)
DescribeAccountAttributesResult & WithUniqueAccountIdentifier(UniqueAccountIdentifierT &&value)
AWS_DATABASEMIGRATIONSERVICE_API DescribeAccountAttributesResult()=default
AWS_DATABASEMIGRATIONSERVICE_API DescribeAccountAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATABASEMIGRATIONSERVICE_API DescribeAccountAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAccountAttributesResult & AddAccountQuotas(AccountQuotasT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue