AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAccountSettingsResult.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/model/AccountLimit.h>
9#include <aws/lambda/model/AccountUsage.h>
10#include <aws/core/utils/memory/stl/AWSString.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 Lambda
26{
27namespace Model
28{
30 {
31 public:
32 AWS_LAMBDA_API GetAccountSettingsResult();
35
36
38
41 inline const AccountLimit& GetAccountLimit() const{ return m_accountLimit; }
42 inline void SetAccountLimit(const AccountLimit& value) { m_accountLimit = value; }
43 inline void SetAccountLimit(AccountLimit&& value) { m_accountLimit = std::move(value); }
44 inline GetAccountSettingsResult& WithAccountLimit(const AccountLimit& value) { SetAccountLimit(value); return *this;}
45 inline GetAccountSettingsResult& WithAccountLimit(AccountLimit&& value) { SetAccountLimit(std::move(value)); return *this;}
47
49
52 inline const AccountUsage& GetAccountUsage() const{ return m_accountUsage; }
53 inline void SetAccountUsage(const AccountUsage& value) { m_accountUsage = value; }
54 inline void SetAccountUsage(AccountUsage&& value) { m_accountUsage = std::move(value); }
55 inline GetAccountSettingsResult& WithAccountUsage(const AccountUsage& value) { SetAccountUsage(value); return *this;}
56 inline GetAccountSettingsResult& WithAccountUsage(AccountUsage&& value) { SetAccountUsage(std::move(value)); return *this;}
58
60
61 inline const Aws::String& GetRequestId() const{ return m_requestId; }
62 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
63 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
64 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
65 inline GetAccountSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
66 inline GetAccountSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline GetAccountSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69 private:
70
71 AccountLimit m_accountLimit;
72
73 AccountUsage m_accountUsage;
74
75 Aws::String m_requestId;
76 };
77
78} // namespace Model
79} // namespace Lambda
80} // namespace Aws
GetAccountSettingsResult & WithRequestId(const char *value)
GetAccountSettingsResult & WithAccountLimit(AccountLimit &&value)
GetAccountSettingsResult & WithAccountUsage(AccountUsage &&value)
AWS_LAMBDA_API GetAccountSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAccountSettingsResult & WithAccountUsage(const AccountUsage &value)
GetAccountSettingsResult & WithRequestId(Aws::String &&value)
GetAccountSettingsResult & WithRequestId(const Aws::String &value)
GetAccountSettingsResult & WithAccountLimit(const AccountLimit &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