AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeAccountAttributesResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
11#include <aws/dms/model/AccountQuota.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DatabaseMigrationService {
25namespace Model {
32 public:
33 AWS_DATABASEMIGRATIONSERVICE_API DescribeAccountAttributesResult() = default;
35 AWS_DATABASEMIGRATIONSERVICE_API DescribeAccountAttributesResult& operator=(
37
39
42 inline const Aws::Vector<AccountQuota>& GetAccountQuotas() const { return m_accountQuotas; }
43 template <typename AccountQuotasT = Aws::Vector<AccountQuota>>
44 void SetAccountQuotas(AccountQuotasT&& value) {
45 m_accountQuotasHasBeenSet = true;
46 m_accountQuotas = std::forward<AccountQuotasT>(value);
47 }
48 template <typename AccountQuotasT = Aws::Vector<AccountQuota>>
50 SetAccountQuotas(std::forward<AccountQuotasT>(value));
51 return *this;
52 }
53 template <typename AccountQuotasT = AccountQuota>
55 m_accountQuotasHasBeenSet = true;
56 m_accountQuotas.emplace_back(std::forward<AccountQuotasT>(value));
57 return *this;
58 }
60
62
75 inline const Aws::String& GetUniqueAccountIdentifier() const { return m_uniqueAccountIdentifier; }
76 template <typename UniqueAccountIdentifierT = Aws::String>
77 void SetUniqueAccountIdentifier(UniqueAccountIdentifierT&& value) {
78 m_uniqueAccountIdentifierHasBeenSet = true;
79 m_uniqueAccountIdentifier = std::forward<UniqueAccountIdentifierT>(value);
80 }
81 template <typename UniqueAccountIdentifierT = Aws::String>
83 SetUniqueAccountIdentifier(std::forward<UniqueAccountIdentifierT>(value));
84 return *this;
85 }
87
89
90 inline const Aws::String& GetRequestId() const { return m_requestId; }
91 template <typename RequestIdT = Aws::String>
92 void SetRequestId(RequestIdT&& value) {
93 m_requestIdHasBeenSet = true;
94 m_requestId = std::forward<RequestIdT>(value);
95 }
96 template <typename RequestIdT = Aws::String>
98 SetRequestId(std::forward<RequestIdT>(value));
99 return *this;
100 }
102 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
103
104 private:
105 Aws::Vector<AccountQuota> m_accountQuotas;
106
107 Aws::String m_uniqueAccountIdentifier;
108
109 Aws::String m_requestId;
110 Aws::Http::HttpResponseCode m_HttpResponseCode;
111 bool m_accountQuotasHasBeenSet = false;
112 bool m_uniqueAccountIdentifierHasBeenSet = false;
113 bool m_requestIdHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace DatabaseMigrationService
118} // 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