AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PerformanceTarget.h
1
6#pragma once
7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/redshift-serverless/model/PerformanceTargetStatus.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 RedshiftServerless
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_REDSHIFTSERVERLESS_API PerformanceTarget() = default;
36 AWS_REDSHIFTSERVERLESS_API PerformanceTarget(Aws::Utils::Json::JsonView jsonValue);
37 AWS_REDSHIFTSERVERLESS_API PerformanceTarget& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline int GetLevel() const { return m_level; }
48 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
49 inline void SetLevel(int value) { m_levelHasBeenSet = true; m_level = value; }
50 inline PerformanceTarget& WithLevel(int value) { SetLevel(value); return *this;}
52
54
57 inline PerformanceTargetStatus GetStatus() const { return m_status; }
58 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
59 inline void SetStatus(PerformanceTargetStatus value) { m_statusHasBeenSet = true; m_status = value; }
60 inline PerformanceTarget& WithStatus(PerformanceTargetStatus value) { SetStatus(value); return *this;}
62 private:
63
64 int m_level{0};
65 bool m_levelHasBeenSet = false;
66
68 bool m_statusHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace RedshiftServerless
73} // namespace Aws
PerformanceTarget & WithStatus(PerformanceTargetStatus value)
void SetStatus(PerformanceTargetStatus value)
AWS_REDSHIFTSERVERLESS_API PerformanceTarget(Aws::Utils::Json::JsonView jsonValue)
AWS_REDSHIFTSERVERLESS_API PerformanceTarget()=default
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REDSHIFTSERVERLESS_API PerformanceTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue