AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutoSubscriptionConfiguration.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/AutoSubscriptionStatus.h>
9#include <aws/qbusiness/model/SubscriptionType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QBusiness
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_QBUSINESS_API AutoSubscriptionConfiguration();
40 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const AutoSubscriptionStatus& GetAutoSubscribe() const{ return m_autoSubscribe; }
49 inline bool AutoSubscribeHasBeenSet() const { return m_autoSubscribeHasBeenSet; }
50 inline void SetAutoSubscribe(const AutoSubscriptionStatus& value) { m_autoSubscribeHasBeenSet = true; m_autoSubscribe = value; }
51 inline void SetAutoSubscribe(AutoSubscriptionStatus&& value) { m_autoSubscribeHasBeenSet = true; m_autoSubscribe = std::move(value); }
55
57
63 inline const SubscriptionType& GetDefaultSubscriptionType() const{ return m_defaultSubscriptionType; }
64 inline bool DefaultSubscriptionTypeHasBeenSet() const { return m_defaultSubscriptionTypeHasBeenSet; }
65 inline void SetDefaultSubscriptionType(const SubscriptionType& value) { m_defaultSubscriptionTypeHasBeenSet = true; m_defaultSubscriptionType = value; }
66 inline void SetDefaultSubscriptionType(SubscriptionType&& value) { m_defaultSubscriptionTypeHasBeenSet = true; m_defaultSubscriptionType = std::move(value); }
70 private:
71
72 AutoSubscriptionStatus m_autoSubscribe;
73 bool m_autoSubscribeHasBeenSet = false;
74
75 SubscriptionType m_defaultSubscriptionType;
76 bool m_defaultSubscriptionTypeHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace QBusiness
81} // namespace Aws
AutoSubscriptionConfiguration & WithDefaultSubscriptionType(const SubscriptionType &value)
AutoSubscriptionConfiguration & WithDefaultSubscriptionType(SubscriptionType &&value)
AutoSubscriptionConfiguration & WithAutoSubscribe(AutoSubscriptionStatus &&value)
AWS_QBUSINESS_API AutoSubscriptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QBUSINESS_API AutoSubscriptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoSubscriptionConfiguration & WithAutoSubscribe(const AutoSubscriptionStatus &value)
Aws::Utils::Json::JsonValue JsonValue