AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ProvisionedCapacityResponse.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/timestream-query/model/AccountSettingsNotificationConfiguration.h>
9#include <aws/timestream-query/model/LastUpdate.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 TimestreamQuery
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_TIMESTREAMQUERY_API ProvisionedCapacityResponse() = default;
39 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline int GetActiveQueryTCU() const { return m_activeQueryTCU; }
49 inline bool ActiveQueryTCUHasBeenSet() const { return m_activeQueryTCUHasBeenSet; }
50 inline void SetActiveQueryTCU(int value) { m_activeQueryTCUHasBeenSet = true; m_activeQueryTCU = value; }
51 inline ProvisionedCapacityResponse& WithActiveQueryTCU(int value) { SetActiveQueryTCU(value); return *this;}
53
55
60 inline const AccountSettingsNotificationConfiguration& GetNotificationConfiguration() const { return m_notificationConfiguration; }
61 inline bool NotificationConfigurationHasBeenSet() const { return m_notificationConfigurationHasBeenSet; }
62 template<typename NotificationConfigurationT = AccountSettingsNotificationConfiguration>
63 void SetNotificationConfiguration(NotificationConfigurationT&& value) { m_notificationConfigurationHasBeenSet = true; m_notificationConfiguration = std::forward<NotificationConfigurationT>(value); }
64 template<typename NotificationConfigurationT = AccountSettingsNotificationConfiguration>
65 ProvisionedCapacityResponse& WithNotificationConfiguration(NotificationConfigurationT&& value) { SetNotificationConfiguration(std::forward<NotificationConfigurationT>(value)); return *this;}
67
69
72 inline const LastUpdate& GetLastUpdate() const { return m_lastUpdate; }
73 inline bool LastUpdateHasBeenSet() const { return m_lastUpdateHasBeenSet; }
74 template<typename LastUpdateT = LastUpdate>
75 void SetLastUpdate(LastUpdateT&& value) { m_lastUpdateHasBeenSet = true; m_lastUpdate = std::forward<LastUpdateT>(value); }
76 template<typename LastUpdateT = LastUpdate>
77 ProvisionedCapacityResponse& WithLastUpdate(LastUpdateT&& value) { SetLastUpdate(std::forward<LastUpdateT>(value)); return *this;}
79 private:
80
81 int m_activeQueryTCU{0};
82 bool m_activeQueryTCUHasBeenSet = false;
83
84 AccountSettingsNotificationConfiguration m_notificationConfiguration;
85 bool m_notificationConfigurationHasBeenSet = false;
86
87 LastUpdate m_lastUpdate;
88 bool m_lastUpdateHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace TimestreamQuery
93} // namespace Aws
void SetNotificationConfiguration(NotificationConfigurationT &&value)
ProvisionedCapacityResponse & WithNotificationConfiguration(NotificationConfigurationT &&value)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TIMESTREAMQUERY_API ProvisionedCapacityResponse()=default
const AccountSettingsNotificationConfiguration & GetNotificationConfiguration() const
AWS_TIMESTREAMQUERY_API ProvisionedCapacityResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMQUERY_API ProvisionedCapacityResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
ProvisionedCapacityResponse & WithLastUpdate(LastUpdateT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue