AWS SDK for C++

AWS SDK for C++ Version 1.11.773

Loading...
Searching...
No Matches
UpgradeAccountPlanResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/freetier/FreeTier_EXPORTS.h>
10#include <aws/freetier/model/AccountPlanStatus.h>
11#include <aws/freetier/model/AccountPlanType.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace FreeTier {
25namespace Model {
27 public:
28 AWS_FREETIER_API UpgradeAccountPlanResult() = default;
31
33
36 inline const Aws::String& GetAccountId() const { return m_accountId; }
37 template <typename AccountIdT = Aws::String>
38 void SetAccountId(AccountIdT&& value) {
39 m_accountIdHasBeenSet = true;
40 m_accountId = std::forward<AccountIdT>(value);
41 }
42 template <typename AccountIdT = Aws::String>
44 SetAccountId(std::forward<AccountIdT>(value));
45 return *this;
46 }
48
50
53 inline AccountPlanType GetAccountPlanType() const { return m_accountPlanType; }
55 m_accountPlanTypeHasBeenSet = true;
56 m_accountPlanType = value;
57 }
59 SetAccountPlanType(value);
60 return *this;
61 }
63
65
69 inline AccountPlanStatus GetAccountPlanStatus() const { return m_accountPlanStatus; }
71 m_accountPlanStatusHasBeenSet = true;
72 m_accountPlanStatus = value;
73 }
76 return *this;
77 }
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template <typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) {
85 m_requestIdHasBeenSet = true;
86 m_requestId = std::forward<RequestIdT>(value);
87 }
88 template <typename RequestIdT = Aws::String>
90 SetRequestId(std::forward<RequestIdT>(value));
91 return *this;
92 }
94 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
95
96 private:
97 Aws::String m_accountId;
98
100
102
103 Aws::String m_requestId;
104 Aws::Http::HttpResponseCode m_HttpResponseCode;
105 bool m_accountIdHasBeenSet = false;
106 bool m_accountPlanTypeHasBeenSet = false;
107 bool m_accountPlanStatusHasBeenSet = false;
108 bool m_requestIdHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace FreeTier
113} // 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::Http::HttpResponseCode GetHttpResponseCode() const
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