AWS SDK for C++

AWS SDK for C++ Version 1.11.873

Loading...
Searching...
No Matches
RecoveryPlanExecutionStepSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/drs/Drs_EXPORTS.h>
9#include <aws/drs/model/ErrorDetail.h>
10#include <aws/drs/model/RecoveryPlanExecutionStepConfiguration.h>
11#include <aws/drs/model/RecoveryPlanExecutionStepStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace drs {
23namespace Model {
24
32 public:
33 AWS_DRS_API RecoveryPlanExecutionStepSummary() = default;
37
39
42 inline const Aws::String& GetRecoveryPlanExecutionStepArn() const { return m_recoveryPlanExecutionStepArn; }
43 inline bool RecoveryPlanExecutionStepArnHasBeenSet() const { return m_recoveryPlanExecutionStepArnHasBeenSet; }
44 template <typename RecoveryPlanExecutionStepArnT = Aws::String>
45 void SetRecoveryPlanExecutionStepArn(RecoveryPlanExecutionStepArnT&& value) {
46 m_recoveryPlanExecutionStepArnHasBeenSet = true;
47 m_recoveryPlanExecutionStepArn = std::forward<RecoveryPlanExecutionStepArnT>(value);
48 }
49 template <typename RecoveryPlanExecutionStepArnT = Aws::String>
51 SetRecoveryPlanExecutionStepArn(std::forward<RecoveryPlanExecutionStepArnT>(value));
52 return *this;
53 }
55
57
58 inline const Aws::String& GetStepName() const { return m_stepName; }
59 inline bool StepNameHasBeenSet() const { return m_stepNameHasBeenSet; }
60 template <typename StepNameT = Aws::String>
61 void SetStepName(StepNameT&& value) {
62 m_stepNameHasBeenSet = true;
63 m_stepName = std::forward<StepNameT>(value);
64 }
65 template <typename StepNameT = Aws::String>
67 SetStepName(std::forward<StepNameT>(value));
68 return *this;
69 }
71
73
74 inline int GetStepIndex() const { return m_stepIndex; }
75 inline bool StepIndexHasBeenSet() const { return m_stepIndexHasBeenSet; }
76 inline void SetStepIndex(int value) {
77 m_stepIndexHasBeenSet = true;
78 m_stepIndex = value;
79 }
81 SetStepIndex(value);
82 return *this;
83 }
85
87
90 inline RecoveryPlanExecutionStepStatus GetStatus() const { return m_status; }
91 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
93 m_statusHasBeenSet = true;
94 m_status = value;
95 }
97 SetStatus(value);
98 return *this;
99 }
101
103
104 inline const RecoveryPlanExecutionStepConfiguration& GetConfiguration() const { return m_configuration; }
105 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
106 template <typename ConfigurationT = RecoveryPlanExecutionStepConfiguration>
107 void SetConfiguration(ConfigurationT&& value) {
108 m_configurationHasBeenSet = true;
109 m_configuration = std::forward<ConfigurationT>(value);
110 }
111 template <typename ConfigurationT = RecoveryPlanExecutionStepConfiguration>
113 SetConfiguration(std::forward<ConfigurationT>(value));
114 return *this;
115 }
117
119
122 inline const ErrorDetail& GetErrorDetail() const { return m_errorDetail; }
123 inline bool ErrorDetailHasBeenSet() const { return m_errorDetailHasBeenSet; }
124 template <typename ErrorDetailT = ErrorDetail>
125 void SetErrorDetail(ErrorDetailT&& value) {
126 m_errorDetailHasBeenSet = true;
127 m_errorDetail = std::forward<ErrorDetailT>(value);
128 }
129 template <typename ErrorDetailT = ErrorDetail>
131 SetErrorDetail(std::forward<ErrorDetailT>(value));
132 return *this;
133 }
135 private:
136 Aws::String m_recoveryPlanExecutionStepArn;
137
138 Aws::String m_stepName;
139
140 int m_stepIndex{0};
141
143
144 RecoveryPlanExecutionStepConfiguration m_configuration;
145
146 ErrorDetail m_errorDetail;
147 bool m_recoveryPlanExecutionStepArnHasBeenSet = false;
148 bool m_stepNameHasBeenSet = false;
149 bool m_stepIndexHasBeenSet = false;
150 bool m_statusHasBeenSet = false;
151 bool m_configurationHasBeenSet = false;
152 bool m_errorDetailHasBeenSet = false;
153};
154
155} // namespace Model
156} // namespace drs
157} // namespace Aws
void SetRecoveryPlanExecutionStepArn(RecoveryPlanExecutionStepArnT &&value)
AWS_DRS_API RecoveryPlanExecutionStepSummary(Aws::Utils::Json::JsonView jsonValue)
RecoveryPlanExecutionStepSummary & WithStepName(StepNameT &&value)
const RecoveryPlanExecutionStepConfiguration & GetConfiguration() const
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
RecoveryPlanExecutionStepSummary & WithRecoveryPlanExecutionStepArn(RecoveryPlanExecutionStepArnT &&value)
AWS_DRS_API RecoveryPlanExecutionStepSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RecoveryPlanExecutionStepSummary & WithConfiguration(ConfigurationT &&value)
RecoveryPlanExecutionStepSummary & WithErrorDetail(ErrorDetailT &&value)
RecoveryPlanExecutionStepSummary & WithStepIndex(int value)
RecoveryPlanExecutionStepSummary & WithStatus(RecoveryPlanExecutionStepStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue