AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetAccountSettingsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda/Lambda_EXPORTS.h>
10#include <aws/lambda/model/AccountLimit.h>
11#include <aws/lambda/model/AccountUsage.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 Lambda {
25namespace Model {
27 public:
28 AWS_LAMBDA_API GetAccountSettingsResult() = default;
31
33
36 inline const AccountLimit& GetAccountLimit() const { return m_accountLimit; }
37 template <typename AccountLimitT = AccountLimit>
38 void SetAccountLimit(AccountLimitT&& value) {
39 m_accountLimitHasBeenSet = true;
40 m_accountLimit = std::forward<AccountLimitT>(value);
41 }
42 template <typename AccountLimitT = AccountLimit>
44 SetAccountLimit(std::forward<AccountLimitT>(value));
45 return *this;
46 }
48
50
53 inline const AccountUsage& GetAccountUsage() const { return m_accountUsage; }
54 template <typename AccountUsageT = AccountUsage>
55 void SetAccountUsage(AccountUsageT&& value) {
56 m_accountUsageHasBeenSet = true;
57 m_accountUsage = std::forward<AccountUsageT>(value);
58 }
59 template <typename AccountUsageT = AccountUsage>
61 SetAccountUsage(std::forward<AccountUsageT>(value));
62 return *this;
63 }
65
67
68 inline const Aws::String& GetRequestId() const { return m_requestId; }
69 template <typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) {
71 m_requestIdHasBeenSet = true;
72 m_requestId = std::forward<RequestIdT>(value);
73 }
74 template <typename RequestIdT = Aws::String>
76 SetRequestId(std::forward<RequestIdT>(value));
77 return *this;
78 }
80 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
81
82 private:
83 AccountLimit m_accountLimit;
84
85 AccountUsage m_accountUsage;
86
87 Aws::String m_requestId;
88 Aws::Http::HttpResponseCode m_HttpResponseCode;
89 bool m_accountLimitHasBeenSet = false;
90 bool m_accountUsageHasBeenSet = false;
91 bool m_requestIdHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace Lambda
96} // namespace Aws
GetAccountSettingsResult & WithAccountLimit(AccountLimitT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_LAMBDA_API GetAccountSettingsResult()=default
GetAccountSettingsResult & WithRequestId(RequestIdT &&value)
AWS_LAMBDA_API GetAccountSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAccountSettingsResult & WithAccountUsage(AccountUsageT &&value)
AWS_LAMBDA_API GetAccountSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue