AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TaskSubmittedEventDetails.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/states/model/HistoryEventExecutionDataDetails.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 SFN
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SFN_API TaskSubmittedEventDetails() = default;
40
41
43
46 inline const Aws::String& GetResourceType() const { return m_resourceType; }
47 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
48 template<typename ResourceTypeT = Aws::String>
49 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::forward<ResourceTypeT>(value); }
50 template<typename ResourceTypeT = Aws::String>
51 TaskSubmittedEventDetails& WithResourceType(ResourceTypeT&& value) { SetResourceType(std::forward<ResourceTypeT>(value)); return *this;}
53
55
58 inline const Aws::String& GetResource() const { return m_resource; }
59 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
60 template<typename ResourceT = Aws::String>
61 void SetResource(ResourceT&& value) { m_resourceHasBeenSet = true; m_resource = std::forward<ResourceT>(value); }
62 template<typename ResourceT = Aws::String>
63 TaskSubmittedEventDetails& WithResource(ResourceT&& value) { SetResource(std::forward<ResourceT>(value)); return *this;}
65
67
71 inline const Aws::String& GetOutput() const { return m_output; }
72 inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
73 template<typename OutputT = Aws::String>
74 void SetOutput(OutputT&& value) { m_outputHasBeenSet = true; m_output = std::forward<OutputT>(value); }
75 template<typename OutputT = Aws::String>
76 TaskSubmittedEventDetails& WithOutput(OutputT&& value) { SetOutput(std::forward<OutputT>(value)); return *this;}
78
80
83 inline const HistoryEventExecutionDataDetails& GetOutputDetails() const { return m_outputDetails; }
84 inline bool OutputDetailsHasBeenSet() const { return m_outputDetailsHasBeenSet; }
85 template<typename OutputDetailsT = HistoryEventExecutionDataDetails>
86 void SetOutputDetails(OutputDetailsT&& value) { m_outputDetailsHasBeenSet = true; m_outputDetails = std::forward<OutputDetailsT>(value); }
87 template<typename OutputDetailsT = HistoryEventExecutionDataDetails>
88 TaskSubmittedEventDetails& WithOutputDetails(OutputDetailsT&& value) { SetOutputDetails(std::forward<OutputDetailsT>(value)); return *this;}
90 private:
91
92 Aws::String m_resourceType;
93 bool m_resourceTypeHasBeenSet = false;
94
95 Aws::String m_resource;
96 bool m_resourceHasBeenSet = false;
97
98 Aws::String m_output;
99 bool m_outputHasBeenSet = false;
100
101 HistoryEventExecutionDataDetails m_outputDetails;
102 bool m_outputDetailsHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace SFN
107} // namespace Aws
TaskSubmittedEventDetails & WithResource(ResourceT &&value)
AWS_SFN_API TaskSubmittedEventDetails()=default
TaskSubmittedEventDetails & WithOutput(OutputT &&value)
const HistoryEventExecutionDataDetails & GetOutputDetails() const
TaskSubmittedEventDetails & WithOutputDetails(OutputDetailsT &&value)
AWS_SFN_API TaskSubmittedEventDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
TaskSubmittedEventDetails & WithResourceType(ResourceTypeT &&value)
AWS_SFN_API TaskSubmittedEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue