AWS SDK for C++  1.9.105
AWS SDK for C++
ClusterOperationStep.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Kafka
23 {
24 namespace Model
25 {
26 
36  {
37  public:
42 
43 
49  inline const ClusterOperationStepInfo& GetStepInfo() const{ return m_stepInfo; }
50 
56  inline bool StepInfoHasBeenSet() const { return m_stepInfoHasBeenSet; }
57 
63  inline void SetStepInfo(const ClusterOperationStepInfo& value) { m_stepInfoHasBeenSet = true; m_stepInfo = value; }
64 
70  inline void SetStepInfo(ClusterOperationStepInfo&& value) { m_stepInfoHasBeenSet = true; m_stepInfo = std::move(value); }
71 
77  inline ClusterOperationStep& WithStepInfo(const ClusterOperationStepInfo& value) { SetStepInfo(value); return *this;}
78 
84  inline ClusterOperationStep& WithStepInfo(ClusterOperationStepInfo&& value) { SetStepInfo(std::move(value)); return *this;}
85 
86 
92  inline const Aws::String& GetStepName() const{ return m_stepName; }
93 
99  inline bool StepNameHasBeenSet() const { return m_stepNameHasBeenSet; }
100 
106  inline void SetStepName(const Aws::String& value) { m_stepNameHasBeenSet = true; m_stepName = value; }
107 
113  inline void SetStepName(Aws::String&& value) { m_stepNameHasBeenSet = true; m_stepName = std::move(value); }
114 
120  inline void SetStepName(const char* value) { m_stepNameHasBeenSet = true; m_stepName.assign(value); }
121 
127  inline ClusterOperationStep& WithStepName(const Aws::String& value) { SetStepName(value); return *this;}
128 
134  inline ClusterOperationStep& WithStepName(Aws::String&& value) { SetStepName(std::move(value)); return *this;}
135 
141  inline ClusterOperationStep& WithStepName(const char* value) { SetStepName(value); return *this;}
142 
143  private:
144 
145  ClusterOperationStepInfo m_stepInfo;
146  bool m_stepInfoHasBeenSet;
147 
148  Aws::String m_stepName;
149  bool m_stepNameHasBeenSet;
150  };
151 
152 } // namespace Model
153 } // namespace Kafka
154 } // namespace Aws
Aws::Kafka::Model::ClusterOperationStep::GetStepInfo
const ClusterOperationStepInfo & GetStepInfo() const
Definition: ClusterOperationStep.h:49
Aws::Kafka::Model::ClusterOperationStep::StepNameHasBeenSet
bool StepNameHasBeenSet() const
Definition: ClusterOperationStep.h:99
Aws::Kafka::Model::ClusterOperationStep::WithStepName
ClusterOperationStep & WithStepName(const Aws::String &value)
Definition: ClusterOperationStep.h:127
Aws::Kafka::Model::ClusterOperationStep::ClusterOperationStep
ClusterOperationStep(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::ClusterOperationStep::SetStepInfo
void SetStepInfo(ClusterOperationStepInfo &&value)
Definition: ClusterOperationStep.h:70
Aws::Kafka::Model::ClusterOperationStep::SetStepName
void SetStepName(Aws::String &&value)
Definition: ClusterOperationStep.h:113
Aws::Kafka::Model::ClusterOperationStep::ClusterOperationStep
ClusterOperationStep()
Aws::Kafka::Model::ClusterOperationStep::GetStepName
const Aws::String & GetStepName() const
Definition: ClusterOperationStep.h:92
Aws::Kafka::Model::ClusterOperationStep::SetStepInfo
void SetStepInfo(const ClusterOperationStepInfo &value)
Definition: ClusterOperationStep.h:63
Aws::Kafka::Model::ClusterOperationStep::SetStepName
void SetStepName(const char *value)
Definition: ClusterOperationStep.h:120
Aws::Kafka::Model::ClusterOperationStepInfo
Definition: ClusterOperationStepInfo.h:35
Aws::Kafka::Model::ClusterOperationStep::operator=
ClusterOperationStep & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::ClusterOperationStep::WithStepInfo
ClusterOperationStep & WithStepInfo(ClusterOperationStepInfo &&value)
Definition: ClusterOperationStep.h:84
Aws::Kafka::Model::ClusterOperationStep::WithStepInfo
ClusterOperationStep & WithStepInfo(const ClusterOperationStepInfo &value)
Definition: ClusterOperationStep.h:77
ClusterOperationStepInfo.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::ClusterOperationStep
Definition: ClusterOperationStep.h:36
Aws::Kafka::Model::ClusterOperationStep::StepInfoHasBeenSet
bool StepInfoHasBeenSet() const
Definition: ClusterOperationStep.h:56
Aws::Kafka::Model::ClusterOperationStep::SetStepName
void SetStepName(const Aws::String &value)
Definition: ClusterOperationStep.h:106
Aws::Kafka::Model::ClusterOperationStep::WithStepName
ClusterOperationStep & WithStepName(const char *value)
Definition: ClusterOperationStep.h:141
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::ClusterOperationStep::WithStepName
ClusterOperationStep & WithStepName(Aws::String &&value)
Definition: ClusterOperationStep.h:134
Aws::Kafka::Model::ClusterOperationStep::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const