AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
UpgradeAccountPlanResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/freetier/FreeTier_EXPORTS.h>
9#include <aws/freetier/model/AccountPlanStatus.h>
10#include <aws/freetier/model/AccountPlanType.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace FreeTier {
24namespace Model {
26 public:
27 AWS_FREETIER_API UpgradeAccountPlanResult() = default;
30
32
35 inline const Aws::String& GetAccountId() const { return m_accountId; }
36 template <typename AccountIdT = Aws::String>
37 void SetAccountId(AccountIdT&& value) {
38 m_accountIdHasBeenSet = true;
39 m_accountId = std::forward<AccountIdT>(value);
40 }
41 template <typename AccountIdT = Aws::String>
43 SetAccountId(std::forward<AccountIdT>(value));
44 return *this;
45 }
47
49
52 inline AccountPlanType GetAccountPlanType() const { return m_accountPlanType; }
54 m_accountPlanTypeHasBeenSet = true;
55 m_accountPlanType = value;
56 }
58 SetAccountPlanType(value);
59 return *this;
60 }
62
64
68 inline AccountPlanStatus GetAccountPlanStatus() const { return m_accountPlanStatus; }
70 m_accountPlanStatusHasBeenSet = true;
71 m_accountPlanStatus = value;
72 }
75 return *this;
76 }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template <typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) {
84 m_requestIdHasBeenSet = true;
85 m_requestId = std::forward<RequestIdT>(value);
86 }
87 template <typename RequestIdT = Aws::String>
89 SetRequestId(std::forward<RequestIdT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_accountId;
95 bool m_accountIdHasBeenSet = false;
96
98 bool m_accountPlanTypeHasBeenSet = false;
99
101 bool m_accountPlanStatusHasBeenSet = false;
102
103 Aws::String m_requestId;
104 bool m_requestIdHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace FreeTier
109} // 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