AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpgradeAccountPlanResult.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 <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 FreeTier
26{
27namespace Model
28{
30 {
31 public:
32 AWS_FREETIER_API UpgradeAccountPlanResult() = default;
35
36
38
41 inline const Aws::String& GetAccountId() const { return m_accountId; }
42 template<typename AccountIdT = Aws::String>
43 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
44 template<typename AccountIdT = Aws::String>
45 UpgradeAccountPlanResult& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
47
49
52 inline AccountPlanType GetAccountPlanType() const { return m_accountPlanType; }
53 inline void SetAccountPlanType(AccountPlanType value) { m_accountPlanTypeHasBeenSet = true; m_accountPlanType = value; }
56
58
62 inline AccountPlanStatus GetAccountPlanStatus() const { return m_accountPlanStatus; }
63 inline void SetAccountPlanStatus(AccountPlanStatus value) { m_accountPlanStatusHasBeenSet = true; m_accountPlanStatus = value; }
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template<typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
72 template<typename RequestIdT = Aws::String>
73 UpgradeAccountPlanResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
75 private:
76
77 Aws::String m_accountId;
78 bool m_accountIdHasBeenSet = false;
79
81 bool m_accountPlanTypeHasBeenSet = false;
82
84 bool m_accountPlanStatusHasBeenSet = false;
85
86 Aws::String m_requestId;
87 bool m_requestIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace FreeTier
92} // namespace Aws
UpgradeAccountPlanResult & WithAccountPlanStatus(AccountPlanStatus value)
UpgradeAccountPlanResult & WithRequestId(RequestIdT &&value)
UpgradeAccountPlanResult & WithAccountId(AccountIdT &&value)
AWS_FREETIER_API UpgradeAccountPlanResult()=default
AWS_FREETIER_API UpgradeAccountPlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_FREETIER_API UpgradeAccountPlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpgradeAccountPlanResult & WithAccountPlanType(AccountPlanType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue