AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
PricingAttributes.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/model/PricingPlan.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SESV2 {
20namespace Model {
21
30 public:
31 AWS_SESV2_API PricingAttributes() = default;
34 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline PricingPlan GetCurrentPlan() const { return m_currentPlan; }
41 inline bool CurrentPlanHasBeenSet() const { return m_currentPlanHasBeenSet; }
42 inline void SetCurrentPlan(PricingPlan value) {
43 m_currentPlanHasBeenSet = true;
44 m_currentPlan = value;
45 }
47 SetCurrentPlan(value);
48 return *this;
49 }
51
53
58 inline PricingPlan GetNextPlan() const { return m_nextPlan; }
59 inline bool NextPlanHasBeenSet() const { return m_nextPlanHasBeenSet; }
60 inline void SetNextPlan(PricingPlan value) {
61 m_nextPlanHasBeenSet = true;
62 m_nextPlan = value;
63 }
65 SetNextPlan(value);
66 return *this;
67 }
69 private:
70 PricingPlan m_currentPlan{PricingPlan::NOT_SET};
71
73 bool m_currentPlanHasBeenSet = false;
74 bool m_nextPlanHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace SESV2
79} // namespace Aws
AWS_SESV2_API PricingAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API PricingAttributes()=default
PricingAttributes & WithCurrentPlan(PricingPlan value)
PricingAttributes & WithNextPlan(PricingPlan value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SESV2_API PricingAttributes(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue