AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace TimestreamQuery {
21namespace Model {
22
30 public:
31 AWS_TIMESTREAMQUERY_API ProvisionedCapacityResponse() = default;
34 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline int GetActiveQueryTCU() const { return m_activeQueryTCU; }
43 inline bool ActiveQueryTCUHasBeenSet() const { return m_activeQueryTCUHasBeenSet; }
44 inline void SetActiveQueryTCU(int value) {
45 m_activeQueryTCUHasBeenSet = true;
46 m_activeQueryTCU = value;
47 }
49 SetActiveQueryTCU(value);
50 return *this;
51 }
53
55
60 inline const AccountSettingsNotificationConfiguration& GetNotificationConfiguration() const { return m_notificationConfiguration; }
61 inline bool NotificationConfigurationHasBeenSet() const { return m_notificationConfigurationHasBeenSet; }
62 template <typename NotificationConfigurationT = AccountSettingsNotificationConfiguration>
64 m_notificationConfigurationHasBeenSet = true;
65 m_notificationConfiguration = std::forward<NotificationConfigurationT>(value);
66 }
67 template <typename NotificationConfigurationT = AccountSettingsNotificationConfiguration>
69 SetNotificationConfiguration(std::forward<NotificationConfigurationT>(value));
70 return *this;
71 }
73
75
78 inline const LastUpdate& GetLastUpdate() const { return m_lastUpdate; }
79 inline bool LastUpdateHasBeenSet() const { return m_lastUpdateHasBeenSet; }
80 template <typename LastUpdateT = LastUpdate>
81 void SetLastUpdate(LastUpdateT&& value) {
82 m_lastUpdateHasBeenSet = true;
83 m_lastUpdate = std::forward<LastUpdateT>(value);
84 }
85 template <typename LastUpdateT = LastUpdate>
87 SetLastUpdate(std::forward<LastUpdateT>(value));
88 return *this;
89 }
91 private:
92 int m_activeQueryTCU{0};
93
94 AccountSettingsNotificationConfiguration m_notificationConfiguration;
95
96 LastUpdate m_lastUpdate;
97 bool m_activeQueryTCUHasBeenSet = false;
98 bool m_notificationConfigurationHasBeenSet = false;
99 bool m_lastUpdateHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace TimestreamQuery
104} // 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