AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetAccountPlanStateResult.h
1
6#pragma once
7#include <aws/freetier/FreeTier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/freetier/model/AccountPlanType.h>
10#include <aws/freetier/model/AccountPlanStatus.h>
11#include <aws/freetier/model/MonetaryAmount.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace FreeTier
28{
29namespace Model
30{
32 {
33 public:
34 AWS_FREETIER_API GetAccountPlanStateResult() = default;
37
38
40
43 inline const Aws::String& GetAccountId() const { return m_accountId; }
44 template<typename AccountIdT = Aws::String>
45 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
46 template<typename AccountIdT = Aws::String>
47 GetAccountPlanStateResult& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
49
51
54 inline AccountPlanType GetAccountPlanType() const { return m_accountPlanType; }
55 inline void SetAccountPlanType(AccountPlanType value) { m_accountPlanTypeHasBeenSet = true; m_accountPlanType = value; }
58
60
63 inline AccountPlanStatus GetAccountPlanStatus() const { return m_accountPlanStatus; }
64 inline void SetAccountPlanStatus(AccountPlanStatus value) { m_accountPlanStatusHasBeenSet = true; m_accountPlanStatus = value; }
67
69
72 inline const MonetaryAmount& GetAccountPlanRemainingCredits() const { return m_accountPlanRemainingCredits; }
73 template<typename AccountPlanRemainingCreditsT = MonetaryAmount>
74 void SetAccountPlanRemainingCredits(AccountPlanRemainingCreditsT&& value) { m_accountPlanRemainingCreditsHasBeenSet = true; m_accountPlanRemainingCredits = std::forward<AccountPlanRemainingCreditsT>(value); }
75 template<typename AccountPlanRemainingCreditsT = MonetaryAmount>
76 GetAccountPlanStateResult& WithAccountPlanRemainingCredits(AccountPlanRemainingCreditsT&& value) { SetAccountPlanRemainingCredits(std::forward<AccountPlanRemainingCreditsT>(value)); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetAccountPlanExpirationDate() const { return m_accountPlanExpirationDate; }
84 template<typename AccountPlanExpirationDateT = Aws::Utils::DateTime>
85 void SetAccountPlanExpirationDate(AccountPlanExpirationDateT&& value) { m_accountPlanExpirationDateHasBeenSet = true; m_accountPlanExpirationDate = std::forward<AccountPlanExpirationDateT>(value); }
86 template<typename AccountPlanExpirationDateT = Aws::Utils::DateTime>
87 GetAccountPlanStateResult& WithAccountPlanExpirationDate(AccountPlanExpirationDateT&& value) { SetAccountPlanExpirationDate(std::forward<AccountPlanExpirationDateT>(value)); return *this;}
89
91
92 inline const Aws::String& GetRequestId() const { return m_requestId; }
93 template<typename RequestIdT = Aws::String>
94 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
95 template<typename RequestIdT = Aws::String>
96 GetAccountPlanStateResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
98 private:
99
100 Aws::String m_accountId;
101 bool m_accountIdHasBeenSet = false;
102
103 AccountPlanType m_accountPlanType{AccountPlanType::NOT_SET};
104 bool m_accountPlanTypeHasBeenSet = false;
105
107 bool m_accountPlanStatusHasBeenSet = false;
108
109 MonetaryAmount m_accountPlanRemainingCredits;
110 bool m_accountPlanRemainingCreditsHasBeenSet = false;
111
112 Aws::Utils::DateTime m_accountPlanExpirationDate{};
113 bool m_accountPlanExpirationDateHasBeenSet = false;
114
115 Aws::String m_requestId;
116 bool m_requestIdHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace FreeTier
121} // namespace Aws
void SetAccountPlanExpirationDate(AccountPlanExpirationDateT &&value)
AWS_FREETIER_API GetAccountPlanStateResult()=default
const Aws::Utils::DateTime & GetAccountPlanExpirationDate() const
GetAccountPlanStateResult & WithAccountPlanExpirationDate(AccountPlanExpirationDateT &&value)
GetAccountPlanStateResult & WithAccountPlanStatus(AccountPlanStatus value)
AWS_FREETIER_API GetAccountPlanStateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAccountPlanStateResult & WithAccountPlanRemainingCredits(AccountPlanRemainingCreditsT &&value)
GetAccountPlanStateResult & WithAccountPlanType(AccountPlanType value)
AWS_FREETIER_API GetAccountPlanStateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAccountPlanStateResult & WithRequestId(RequestIdT &&value)
GetAccountPlanStateResult & WithAccountId(AccountIdT &&value)
void SetAccountPlanRemainingCredits(AccountPlanRemainingCreditsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue