AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSteps(const Aws::Vector<ExecutionStepResult>& value) { m_stepsHasBeenSet = true; m_steps = value; }
49 inline void SetSteps(Aws::Vector<ExecutionStepResult>&& value) { m_stepsHasBeenSet = true; m_steps = std::move(value); }
50 inline ExecutionResults& WithSteps(const Aws::Vector<ExecutionStepResult>& value) { SetSteps(value); return *this;}
51 inline ExecutionResults& WithSteps(Aws::Vector<ExecutionStepResult>&& value) { SetSteps(std::move(value)); return *this;}
52 inline ExecutionResults& AddSteps(const ExecutionStepResult& value) { m_stepsHasBeenSet = true; m_steps.push_back(value); return *this; }
53 inline ExecutionResults& AddSteps(ExecutionStepResult&& value) { m_stepsHasBeenSet = true; m_steps.push_back(std::move(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 inline void SetOnExceptionSteps(const Aws::Vector<ExecutionStepResult>& value) { m_onExceptionStepsHasBeenSet = true; m_onExceptionSteps = value; }
64 inline void SetOnExceptionSteps(Aws::Vector<ExecutionStepResult>&& value) { m_onExceptionStepsHasBeenSet = true; m_onExceptionSteps = std::move(value); }
67 inline ExecutionResults& AddOnExceptionSteps(const ExecutionStepResult& value) { m_onExceptionStepsHasBeenSet = true; m_onExceptionSteps.push_back(value); return *this; }
68 inline ExecutionResults& AddOnExceptionSteps(ExecutionStepResult&& value) { m_onExceptionStepsHasBeenSet = true; m_onExceptionSteps.push_back(std::move(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
void SetOnExceptionSteps(Aws::Vector< ExecutionStepResult > &&value)
AWS_TRANSFER_API ExecutionResults & operator=(Aws::Utils::Json::JsonView jsonValue)
ExecutionResults & WithSteps(Aws::Vector< ExecutionStepResult > &&value)
const Aws::Vector< ExecutionStepResult > & GetSteps() const
ExecutionResults & AddSteps(ExecutionStepResult &&value)
void SetOnExceptionSteps(const Aws::Vector< ExecutionStepResult > &value)
AWS_TRANSFER_API ExecutionResults(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ExecutionStepResult > & GetOnExceptionSteps() const
ExecutionResults & AddOnExceptionSteps(ExecutionStepResult &&value)
ExecutionResults & WithSteps(const Aws::Vector< ExecutionStepResult > &value)
void SetSteps(const Aws::Vector< ExecutionStepResult > &value)
ExecutionResults & WithOnExceptionSteps(Aws::Vector< ExecutionStepResult > &&value)
ExecutionResults & AddSteps(const ExecutionStepResult &value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSteps(Aws::Vector< ExecutionStepResult > &&value)
ExecutionResults & WithOnExceptionSteps(const Aws::Vector< ExecutionStepResult > &value)
ExecutionResults & AddOnExceptionSteps(const ExecutionStepResult &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue