AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePricingPlanResult.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 UpdatePricingPlanResult();
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 UpdatePricingPlanResult& 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 UpdatePricingPlanResult& 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 UpdatePricingPlanResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
65 inline UpdatePricingPlanResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
66 inline UpdatePricingPlanResult& 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
UpdatePricingPlanResult & WithRequestId(const Aws::String &value)
UpdatePricingPlanResult & WithRequestId(Aws::String &&value)
AWS_IOTTWINMAKER_API UpdatePricingPlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTTWINMAKER_API UpdatePricingPlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePricingPlanResult & WithPendingPricingPlan(const PricingPlan &value)
UpdatePricingPlanResult & WithRequestId(const char *value)
UpdatePricingPlanResult & WithPendingPricingPlan(PricingPlan &&value)
UpdatePricingPlanResult & WithCurrentPricingPlan(PricingPlan &&value)
UpdatePricingPlanResult & WithCurrentPricingPlan(const PricingPlan &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue