AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExecutionStepResult.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/model/WorkflowStepType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/awstransfer/model/ExecutionError.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Transfer
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_TRANSFER_API ExecutionStepResult();
40 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
53 inline const WorkflowStepType& GetStepType() const{ return m_stepType; }
54 inline bool StepTypeHasBeenSet() const { return m_stepTypeHasBeenSet; }
55 inline void SetStepType(const WorkflowStepType& value) { m_stepTypeHasBeenSet = true; m_stepType = value; }
56 inline void SetStepType(WorkflowStepType&& value) { m_stepTypeHasBeenSet = true; m_stepType = std::move(value); }
57 inline ExecutionStepResult& WithStepType(const WorkflowStepType& value) { SetStepType(value); return *this;}
58 inline ExecutionStepResult& WithStepType(WorkflowStepType&& value) { SetStepType(std::move(value)); return *this;}
60
62
66 inline const Aws::String& GetOutputs() const{ return m_outputs; }
67 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
68 inline void SetOutputs(const Aws::String& value) { m_outputsHasBeenSet = true; m_outputs = value; }
69 inline void SetOutputs(Aws::String&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
70 inline void SetOutputs(const char* value) { m_outputsHasBeenSet = true; m_outputs.assign(value); }
71 inline ExecutionStepResult& WithOutputs(const Aws::String& value) { SetOutputs(value); return *this;}
72 inline ExecutionStepResult& WithOutputs(Aws::String&& value) { SetOutputs(std::move(value)); return *this;}
73 inline ExecutionStepResult& WithOutputs(const char* value) { SetOutputs(value); return *this;}
75
77
81 inline const ExecutionError& GetError() const{ return m_error; }
82 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
83 inline void SetError(const ExecutionError& value) { m_errorHasBeenSet = true; m_error = value; }
84 inline void SetError(ExecutionError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
85 inline ExecutionStepResult& WithError(const ExecutionError& value) { SetError(value); return *this;}
86 inline ExecutionStepResult& WithError(ExecutionError&& value) { SetError(std::move(value)); return *this;}
88 private:
89
90 WorkflowStepType m_stepType;
91 bool m_stepTypeHasBeenSet = false;
92
93 Aws::String m_outputs;
94 bool m_outputsHasBeenSet = false;
95
96 ExecutionError m_error;
97 bool m_errorHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Transfer
102} // namespace Aws
ExecutionStepResult & WithOutputs(const Aws::String &value)
const ExecutionError & GetError() const
AWS_TRANSFER_API ExecutionStepResult(Aws::Utils::Json::JsonView jsonValue)
ExecutionStepResult & WithOutputs(Aws::String &&value)
void SetError(const ExecutionError &value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOutputs(const Aws::String &value)
void SetStepType(const WorkflowStepType &value)
void SetStepType(WorkflowStepType &&value)
ExecutionStepResult & WithOutputs(const char *value)
ExecutionStepResult & WithStepType(const WorkflowStepType &value)
ExecutionStepResult & WithError(ExecutionError &&value)
ExecutionStepResult & WithStepType(WorkflowStepType &&value)
const WorkflowStepType & GetStepType() const
ExecutionStepResult & WithError(const ExecutionError &value)
AWS_TRANSFER_API ExecutionStepResult & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue