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>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
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>
73 template<
typename AccountPlanRemainingCreditsT = MonetaryAmount>
74 void SetAccountPlanRemainingCredits(AccountPlanRemainingCreditsT&& value) { m_accountPlanRemainingCreditsHasBeenSet =
true; m_accountPlanRemainingCredits = std::forward<AccountPlanRemainingCreditsT>(value); }
75 template<
typename AccountPlanRemainingCreditsT = MonetaryAmount>
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>
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>
101 bool m_accountIdHasBeenSet =
false;
104 bool m_accountPlanTypeHasBeenSet =
false;
107 bool m_accountPlanStatusHasBeenSet =
false;
109 MonetaryAmount m_accountPlanRemainingCredits;
110 bool m_accountPlanRemainingCreditsHasBeenSet =
false;
113 bool m_accountPlanExpirationDateHasBeenSet =
false;
116 bool m_requestIdHasBeenSet =
false;
AccountPlanType GetAccountPlanType() const
void SetAccountPlanExpirationDate(AccountPlanExpirationDateT &&value)
void SetAccountPlanStatus(AccountPlanStatus 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)
const MonetaryAmount & GetAccountPlanRemainingCredits() const
void SetAccountPlanType(AccountPlanType value)
GetAccountPlanStateResult & WithAccountPlanType(AccountPlanType value)
AccountPlanStatus GetAccountPlanStatus() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
AWS_FREETIER_API GetAccountPlanStateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAccountPlanStateResult & WithRequestId(RequestIdT &&value)
GetAccountPlanStateResult & WithAccountId(AccountIdT &&value)
void SetAccountId(AccountIdT &&value)
void SetAccountPlanRemainingCredits(AccountPlanRemainingCreditsT &&value)
const Aws::String & GetAccountId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue