AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ExecutionResults.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/awstransfer/model/ExecutionStepResult.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 Transfer
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_TRANSFER_API ExecutionResults() = default;
37 AWS_TRANSFER_API ExecutionResults(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<ExecutionStepResult>& GetSteps() const { return m_steps; }
47 inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; }
48 template<typename StepsT = Aws::Vector<ExecutionStepResult>>
49 void SetSteps(StepsT&& value) { m_stepsHasBeenSet = true; m_steps = std::forward<StepsT>(value); }
50 template<typename StepsT = Aws::Vector<ExecutionStepResult>>
51 ExecutionResults& WithSteps(StepsT&& value) { SetSteps(std::forward<StepsT>(value)); return *this;}
52 template<typename StepsT = ExecutionStepResult>
53 ExecutionResults& AddSteps(StepsT&& value) { m_stepsHasBeenSet = true; m_steps.emplace_back(std::forward<StepsT>(value)); return *this; }
55
57
61 inline const Aws::Vector<ExecutionStepResult>& GetOnExceptionSteps() const { return m_onExceptionSteps; }
62 inline bool OnExceptionStepsHasBeenSet() const { return m_onExceptionStepsHasBeenSet; }
63 template<typename OnExceptionStepsT = Aws::Vector<ExecutionStepResult>>
64 void SetOnExceptionSteps(OnExceptionStepsT&& value) { m_onExceptionStepsHasBeenSet = true; m_onExceptionSteps = std::forward<OnExceptionStepsT>(value); }
65 template<typename OnExceptionStepsT = Aws::Vector<ExecutionStepResult>>
66 ExecutionResults& WithOnExceptionSteps(OnExceptionStepsT&& value) { SetOnExceptionSteps(std::forward<OnExceptionStepsT>(value)); return *this;}
67 template<typename OnExceptionStepsT = ExecutionStepResult>
68 ExecutionResults& AddOnExceptionSteps(OnExceptionStepsT&& value) { m_onExceptionStepsHasBeenSet = true; m_onExceptionSteps.emplace_back(std::forward<OnExceptionStepsT>(value)); return *this; }
70 private:
71
73 bool m_stepsHasBeenSet = false;
74
75 Aws::Vector<ExecutionStepResult> m_onExceptionSteps;
76 bool m_onExceptionStepsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Transfer
81} // namespace Aws
ExecutionResults & WithOnExceptionSteps(OnExceptionStepsT &&value)
AWS_TRANSFER_API ExecutionResults & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ExecutionStepResult > & GetSteps() const
ExecutionResults & AddSteps(StepsT &&value)
ExecutionResults & WithSteps(StepsT &&value)
AWS_TRANSFER_API ExecutionResults(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSFER_API ExecutionResults()=default
const Aws::Vector< ExecutionStepResult > & GetOnExceptionSteps() const
ExecutionResults & AddOnExceptionSteps(OnExceptionStepsT &&value)
void SetOnExceptionSteps(OnExceptionStepsT &&value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue