AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
TaskSubmittedEventDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/states/SFN_EXPORTS.h>
9#include <aws/states/model/HistoryEventExecutionDataDetails.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SFN {
21namespace Model {
22
30 public:
31 AWS_SFN_API TaskSubmittedEventDetails() = default;
35
37
40 inline const Aws::String& GetResourceType() const { return m_resourceType; }
41 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
42 template <typename ResourceTypeT = Aws::String>
43 void SetResourceType(ResourceTypeT&& value) {
44 m_resourceTypeHasBeenSet = true;
45 m_resourceType = std::forward<ResourceTypeT>(value);
46 }
47 template <typename ResourceTypeT = Aws::String>
49 SetResourceType(std::forward<ResourceTypeT>(value));
50 return *this;
51 }
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) {
62 m_resourceHasBeenSet = true;
63 m_resource = std::forward<ResourceT>(value);
64 }
65 template <typename ResourceT = Aws::String>
67 SetResource(std::forward<ResourceT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetOutput() const { return m_output; }
78 inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
79 template <typename OutputT = Aws::String>
80 void SetOutput(OutputT&& value) {
81 m_outputHasBeenSet = true;
82 m_output = std::forward<OutputT>(value);
83 }
84 template <typename OutputT = Aws::String>
86 SetOutput(std::forward<OutputT>(value));
87 return *this;
88 }
90
92
95 inline const HistoryEventExecutionDataDetails& GetOutputDetails() const { return m_outputDetails; }
96 inline bool OutputDetailsHasBeenSet() const { return m_outputDetailsHasBeenSet; }
97 template <typename OutputDetailsT = HistoryEventExecutionDataDetails>
98 void SetOutputDetails(OutputDetailsT&& value) {
99 m_outputDetailsHasBeenSet = true;
100 m_outputDetails = std::forward<OutputDetailsT>(value);
101 }
102 template <typename OutputDetailsT = HistoryEventExecutionDataDetails>
104 SetOutputDetails(std::forward<OutputDetailsT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_resourceType;
110
111 Aws::String m_resource;
112
113 Aws::String m_output;
114
115 HistoryEventExecutionDataDetails m_outputDetails;
116 bool m_resourceTypeHasBeenSet = false;
117 bool m_resourceHasBeenSet = false;
118 bool m_outputHasBeenSet = false;
119 bool m_outputDetailsHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace SFN
124} // 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