AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPricingPlanResult.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/PricingPlan.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoTTwinMaker
25{
26namespace Model
27{
29 {
30 public:
31 AWS_IOTTWINMAKER_API GetPricingPlanResult();
34
35
37
40 inline const PricingPlan& GetCurrentPricingPlan() const{ return m_currentPricingPlan; }
41 inline void SetCurrentPricingPlan(const PricingPlan& value) { m_currentPricingPlan = value; }
42 inline void SetCurrentPricingPlan(PricingPlan&& value) { m_currentPricingPlan = std::move(value); }
44 inline GetPricingPlanResult& WithCurrentPricingPlan(PricingPlan&& value) { SetCurrentPricingPlan(std::move(value)); return *this;}
46
48
51 inline const PricingPlan& GetPendingPricingPlan() const{ return m_pendingPricingPlan; }
52 inline void SetPendingPricingPlan(const PricingPlan& value) { m_pendingPricingPlan = value; }
53 inline void SetPendingPricingPlan(PricingPlan&& value) { m_pendingPricingPlan = std::move(value); }
55 inline GetPricingPlanResult& WithPendingPricingPlan(PricingPlan&& value) { SetPendingPricingPlan(std::move(value)); return *this;}
57
59
60 inline const Aws::String& GetRequestId() const{ return m_requestId; }
61 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
62 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
63 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
64 inline GetPricingPlanResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
65 inline GetPricingPlanResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
66 inline GetPricingPlanResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
68 private:
69
70 PricingPlan m_currentPricingPlan;
71
72 PricingPlan m_pendingPricingPlan;
73
74 Aws::String m_requestId;
75 };
76
77} // namespace Model
78} // namespace IoTTwinMaker
79} // namespace Aws
void SetPendingPricingPlan(const PricingPlan &value)
void SetCurrentPricingPlan(const PricingPlan &value)
GetPricingPlanResult & WithPendingPricingPlan(const PricingPlan &value)
GetPricingPlanResult & WithRequestId(Aws::String &&value)
AWS_IOTTWINMAKER_API GetPricingPlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPricingPlanResult & WithPendingPricingPlan(PricingPlan &&value)
GetPricingPlanResult & WithCurrentPricingPlan(const PricingPlan &value)
GetPricingPlanResult & WithRequestId(const Aws::String &value)
GetPricingPlanResult & WithCurrentPricingPlan(PricingPlan &&value)
AWS_IOTTWINMAKER_API GetPricingPlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPricingPlanResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue