AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const PerformanceTargetStatus& GetStatus() const{ return m_status; }
58 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
59 inline void SetStatus(const PerformanceTargetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
60 inline void SetStatus(PerformanceTargetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
61 inline PerformanceTarget& WithStatus(const PerformanceTargetStatus& value) { SetStatus(value); return *this;}
62 inline PerformanceTarget& WithStatus(PerformanceTargetStatus&& value) { SetStatus(std::move(value)); return *this;}
64 private:
65
66 int m_level;
67 bool m_levelHasBeenSet = false;
68
70 bool m_statusHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace RedshiftServerless
75} // namespace Aws
AWS_REDSHIFTSERVERLESS_API PerformanceTarget()
void SetStatus(const PerformanceTargetStatus &value)
PerformanceTarget & WithStatus(PerformanceTargetStatus &&value)
AWS_REDSHIFTSERVERLESS_API PerformanceTarget(Aws::Utils::Json::JsonView jsonValue)
const PerformanceTargetStatus & GetStatus() const
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REDSHIFTSERVERLESS_API PerformanceTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
PerformanceTarget & WithStatus(const PerformanceTargetStatus &value)
void SetStatus(PerformanceTargetStatus &&value)
Aws::Utils::Json::JsonValue JsonValue