AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace TimestreamQuery
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_TIMESTREAMQUERY_API ProvisionedCapacityRequest() = default;
38 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline int GetTargetQueryTCU() const { return m_targetQueryTCU; }
47 inline bool TargetQueryTCUHasBeenSet() const { return m_targetQueryTCUHasBeenSet; }
48 inline void SetTargetQueryTCU(int value) { m_targetQueryTCUHasBeenSet = true; m_targetQueryTCU = value; }
49 inline ProvisionedCapacityRequest& WithTargetQueryTCU(int value) { SetTargetQueryTCU(value); return *this;}
51
53
57 inline const AccountSettingsNotificationConfiguration& GetNotificationConfiguration() const { return m_notificationConfiguration; }
58 inline bool NotificationConfigurationHasBeenSet() const { return m_notificationConfigurationHasBeenSet; }
59 template<typename NotificationConfigurationT = AccountSettingsNotificationConfiguration>
60 void SetNotificationConfiguration(NotificationConfigurationT&& value) { m_notificationConfigurationHasBeenSet = true; m_notificationConfiguration = std::forward<NotificationConfigurationT>(value); }
61 template<typename NotificationConfigurationT = AccountSettingsNotificationConfiguration>
62 ProvisionedCapacityRequest& WithNotificationConfiguration(NotificationConfigurationT&& value) { SetNotificationConfiguration(std::forward<NotificationConfigurationT>(value)); return *this;}
64 private:
65
66 int m_targetQueryTCU{0};
67 bool m_targetQueryTCUHasBeenSet = false;
68
69 AccountSettingsNotificationConfiguration m_notificationConfiguration;
70 bool m_notificationConfigurationHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace TimestreamQuery
75} // 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