AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClusterOperationStep.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/ClusterOperationStepInfo.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Kafka
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_KAFKA_API ClusterOperationStep();
41 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const ClusterOperationStepInfo& GetStepInfo() const{ return m_stepInfo; }
51 inline bool StepInfoHasBeenSet() const { return m_stepInfoHasBeenSet; }
52 inline void SetStepInfo(const ClusterOperationStepInfo& value) { m_stepInfoHasBeenSet = true; m_stepInfo = value; }
53 inline void SetStepInfo(ClusterOperationStepInfo&& value) { m_stepInfoHasBeenSet = true; m_stepInfo = std::move(value); }
54 inline ClusterOperationStep& WithStepInfo(const ClusterOperationStepInfo& value) { SetStepInfo(value); return *this;}
55 inline ClusterOperationStep& WithStepInfo(ClusterOperationStepInfo&& value) { SetStepInfo(std::move(value)); return *this;}
57
59
64 inline const Aws::String& GetStepName() const{ return m_stepName; }
65 inline bool StepNameHasBeenSet() const { return m_stepNameHasBeenSet; }
66 inline void SetStepName(const Aws::String& value) { m_stepNameHasBeenSet = true; m_stepName = value; }
67 inline void SetStepName(Aws::String&& value) { m_stepNameHasBeenSet = true; m_stepName = std::move(value); }
68 inline void SetStepName(const char* value) { m_stepNameHasBeenSet = true; m_stepName.assign(value); }
69 inline ClusterOperationStep& WithStepName(const Aws::String& value) { SetStepName(value); return *this;}
70 inline ClusterOperationStep& WithStepName(Aws::String&& value) { SetStepName(std::move(value)); return *this;}
71 inline ClusterOperationStep& WithStepName(const char* value) { SetStepName(value); return *this;}
73 private:
74
75 ClusterOperationStepInfo m_stepInfo;
76 bool m_stepInfoHasBeenSet = false;
77
78 Aws::String m_stepName;
79 bool m_stepNameHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Kafka
84} // namespace Aws
const ClusterOperationStepInfo & GetStepInfo() const
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterOperationStep & WithStepInfo(ClusterOperationStepInfo &&value)
AWS_KAFKA_API ClusterOperationStep(Aws::Utils::Json::JsonView jsonValue)
ClusterOperationStep & WithStepName(const char *value)
void SetStepInfo(const ClusterOperationStepInfo &value)
void SetStepInfo(ClusterOperationStepInfo &&value)
ClusterOperationStep & WithStepInfo(const ClusterOperationStepInfo &value)
AWS_KAFKA_API ClusterOperationStep & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterOperationStep & WithStepName(const Aws::String &value)
ClusterOperationStep & WithStepName(Aws::String &&value)
void SetStepName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue