AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ConnectorOperationStep.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/kafkaconnect/model/ConnectorOperationStepState.h>
9#include <aws/kafkaconnect/model/ConnectorOperationStepType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace KafkaConnect {
21namespace Model {
22
30 public:
31 AWS_KAFKACONNECT_API ConnectorOperationStep() = default;
32 AWS_KAFKACONNECT_API ConnectorOperationStep(Aws::Utils::Json::JsonView jsonValue);
34 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline ConnectorOperationStepType GetStepType() const { return m_stepType; }
41 inline bool StepTypeHasBeenSet() const { return m_stepTypeHasBeenSet; }
43 m_stepTypeHasBeenSet = true;
44 m_stepType = value;
45 }
47 SetStepType(value);
48 return *this;
49 }
51
53
56 inline ConnectorOperationStepState GetStepState() const { return m_stepState; }
57 inline bool StepStateHasBeenSet() const { return m_stepStateHasBeenSet; }
59 m_stepStateHasBeenSet = true;
60 m_stepState = value;
61 }
63 SetStepState(value);
64 return *this;
65 }
67 private:
69
71 bool m_stepTypeHasBeenSet = false;
72 bool m_stepStateHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace KafkaConnect
77} // namespace Aws
ConnectorOperationStep & WithStepType(ConnectorOperationStepType value)
AWS_KAFKACONNECT_API ConnectorOperationStep()=default
AWS_KAFKACONNECT_API ConnectorOperationStep(Aws::Utils::Json::JsonView jsonValue)
ConnectorOperationStep & WithStepState(ConnectorOperationStepState value)
void SetStepType(ConnectorOperationStepType value)
void SetStepState(ConnectorOperationStepState value)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKACONNECT_API ConnectorOperationStep & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue