AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ProvisionedCapacityRequest.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/timestream-query/model/AccountSettingsNotificationConfiguration.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace TimestreamQuery {
20namespace Model {
21
29 public:
30 AWS_TIMESTREAMQUERY_API ProvisionedCapacityRequest() = default;
33 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline int GetTargetQueryTCU() const { return m_targetQueryTCU; }
41 inline bool TargetQueryTCUHasBeenSet() const { return m_targetQueryTCUHasBeenSet; }
42 inline void SetTargetQueryTCU(int value) {
43 m_targetQueryTCUHasBeenSet = true;
44 m_targetQueryTCU = value;
45 }
47 SetTargetQueryTCU(value);
48 return *this;
49 }
51
53
57 inline const AccountSettingsNotificationConfiguration& GetNotificationConfiguration() const { return m_notificationConfiguration; }
58 inline bool NotificationConfigurationHasBeenSet() const { return m_notificationConfigurationHasBeenSet; }
59 template <typename NotificationConfigurationT = AccountSettingsNotificationConfiguration>
61 m_notificationConfigurationHasBeenSet = true;
62 m_notificationConfiguration = std::forward<NotificationConfigurationT>(value);
63 }
64 template <typename NotificationConfigurationT = AccountSettingsNotificationConfiguration>
66 SetNotificationConfiguration(std::forward<NotificationConfigurationT>(value));
67 return *this;
68 }
70 private:
71 int m_targetQueryTCU{0};
72
73 AccountSettingsNotificationConfiguration m_notificationConfiguration;
74 bool m_targetQueryTCUHasBeenSet = false;
75 bool m_notificationConfigurationHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace TimestreamQuery
80} // namespace Aws
const AccountSettingsNotificationConfiguration & GetNotificationConfiguration() const
void SetNotificationConfiguration(NotificationConfigurationT &&value)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TIMESTREAMQUERY_API ProvisionedCapacityRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
ProvisionedCapacityRequest & WithNotificationConfiguration(NotificationConfigurationT &&value)
AWS_TIMESTREAMQUERY_API ProvisionedCapacityRequest()=default
AWS_TIMESTREAMQUERY_API ProvisionedCapacityRequest(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue