AWS SDK for C++  1.9.104
AWS SDK for C++
TaskSubmittedEventDetails.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SFN
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetResourceType() const{ return m_resourceType; }
46 
50  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
51 
55  inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
56 
60  inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
61 
65  inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
66 
70  inline TaskSubmittedEventDetails& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
71 
75  inline TaskSubmittedEventDetails& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
76 
80  inline TaskSubmittedEventDetails& WithResourceType(const char* value) { SetResourceType(value); return *this;}
81 
82 
86  inline const Aws::String& GetResource() const{ return m_resource; }
87 
91  inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
92 
96  inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; }
97 
101  inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); }
102 
106  inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); }
107 
111  inline TaskSubmittedEventDetails& WithResource(const Aws::String& value) { SetResource(value); return *this;}
112 
116  inline TaskSubmittedEventDetails& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;}
117 
121  inline TaskSubmittedEventDetails& WithResource(const char* value) { SetResource(value); return *this;}
122 
123 
128  inline const Aws::String& GetOutput() const{ return m_output; }
129 
134  inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
135 
140  inline void SetOutput(const Aws::String& value) { m_outputHasBeenSet = true; m_output = value; }
141 
146  inline void SetOutput(Aws::String&& value) { m_outputHasBeenSet = true; m_output = std::move(value); }
147 
152  inline void SetOutput(const char* value) { m_outputHasBeenSet = true; m_output.assign(value); }
153 
158  inline TaskSubmittedEventDetails& WithOutput(const Aws::String& value) { SetOutput(value); return *this;}
159 
164  inline TaskSubmittedEventDetails& WithOutput(Aws::String&& value) { SetOutput(std::move(value)); return *this;}
165 
170  inline TaskSubmittedEventDetails& WithOutput(const char* value) { SetOutput(value); return *this;}
171 
172 
176  inline const HistoryEventExecutionDataDetails& GetOutputDetails() const{ return m_outputDetails; }
177 
181  inline bool OutputDetailsHasBeenSet() const { return m_outputDetailsHasBeenSet; }
182 
186  inline void SetOutputDetails(const HistoryEventExecutionDataDetails& value) { m_outputDetailsHasBeenSet = true; m_outputDetails = value; }
187 
191  inline void SetOutputDetails(HistoryEventExecutionDataDetails&& value) { m_outputDetailsHasBeenSet = true; m_outputDetails = std::move(value); }
192 
196  inline TaskSubmittedEventDetails& WithOutputDetails(const HistoryEventExecutionDataDetails& value) { SetOutputDetails(value); return *this;}
197 
201  inline TaskSubmittedEventDetails& WithOutputDetails(HistoryEventExecutionDataDetails&& value) { SetOutputDetails(std::move(value)); return *this;}
202 
203  private:
204 
205  Aws::String m_resourceType;
206  bool m_resourceTypeHasBeenSet;
207 
208  Aws::String m_resource;
209  bool m_resourceHasBeenSet;
210 
211  Aws::String m_output;
212  bool m_outputHasBeenSet;
213 
214  HistoryEventExecutionDataDetails m_outputDetails;
215  bool m_outputDetailsHasBeenSet;
216  };
217 
218 } // namespace Model
219 } // namespace SFN
220 } // namespace Aws
Aws::SFN::Model::TaskSubmittedEventDetails
Definition: TaskSubmittedEventDetails.h:34
Aws::SFN::Model::TaskSubmittedEventDetails::WithOutputDetails
TaskSubmittedEventDetails & WithOutputDetails(HistoryEventExecutionDataDetails &&value)
Definition: TaskSubmittedEventDetails.h:201
Aws::SFN::Model::TaskSubmittedEventDetails::GetOutput
const Aws::String & GetOutput() const
Definition: TaskSubmittedEventDetails.h:128
Aws::SFN::Model::TaskSubmittedEventDetails::SetOutput
void SetOutput(const Aws::String &value)
Definition: TaskSubmittedEventDetails.h:140
Aws::SFN::Model::TaskSubmittedEventDetails::OutputDetailsHasBeenSet
bool OutputDetailsHasBeenSet() const
Definition: TaskSubmittedEventDetails.h:181
Aws::SFN::Model::TaskSubmittedEventDetails::SetResourceType
void SetResourceType(const char *value)
Definition: TaskSubmittedEventDetails.h:65
Aws::SFN::Model::TaskSubmittedEventDetails::OutputHasBeenSet
bool OutputHasBeenSet() const
Definition: TaskSubmittedEventDetails.h:134
Aws::SFN::Model::TaskSubmittedEventDetails::TaskSubmittedEventDetails
TaskSubmittedEventDetails()
Aws::SFN::Model::TaskSubmittedEventDetails::WithResource
TaskSubmittedEventDetails & WithResource(const char *value)
Definition: TaskSubmittedEventDetails.h:121
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
Aws::SFN::Model::TaskSubmittedEventDetails::WithResourceType
TaskSubmittedEventDetails & WithResourceType(const char *value)
Definition: TaskSubmittedEventDetails.h:80
Aws::SFN::Model::TaskSubmittedEventDetails::SetResource
void SetResource(Aws::String &&value)
Definition: TaskSubmittedEventDetails.h:101
SFN_EXPORTS.h
Aws::SFN::Model::TaskSubmittedEventDetails::SetResource
void SetResource(const Aws::String &value)
Definition: TaskSubmittedEventDetails.h:96
Aws::SFN::Model::TaskSubmittedEventDetails::SetOutputDetails
void SetOutputDetails(HistoryEventExecutionDataDetails &&value)
Definition: TaskSubmittedEventDetails.h:191
Aws::SFN::Model::TaskSubmittedEventDetails::operator=
TaskSubmittedEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
HistoryEventExecutionDataDetails.h
Aws::SFN::Model::TaskSubmittedEventDetails::WithResource
TaskSubmittedEventDetails & WithResource(Aws::String &&value)
Definition: TaskSubmittedEventDetails.h:116
Aws::SFN::Model::TaskSubmittedEventDetails::WithOutput
TaskSubmittedEventDetails & WithOutput(const char *value)
Definition: TaskSubmittedEventDetails.h:170
Aws::SFN::Model::TaskSubmittedEventDetails::SetResourceType
void SetResourceType(const Aws::String &value)
Definition: TaskSubmittedEventDetails.h:55
Aws::SFN::Model::HistoryEventExecutionDataDetails
Definition: HistoryEventExecutionDataDetails.h:31
Aws::SFN::Model::TaskSubmittedEventDetails::SetResourceType
void SetResourceType(Aws::String &&value)
Definition: TaskSubmittedEventDetails.h:60
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SFN::Model::TaskSubmittedEventDetails::GetResourceType
const Aws::String & GetResourceType() const
Definition: TaskSubmittedEventDetails.h:45
Aws::SFN::Model::TaskSubmittedEventDetails::GetOutputDetails
const HistoryEventExecutionDataDetails & GetOutputDetails() const
Definition: TaskSubmittedEventDetails.h:176
Aws::SFN::Model::TaskSubmittedEventDetails::WithResourceType
TaskSubmittedEventDetails & WithResourceType(Aws::String &&value)
Definition: TaskSubmittedEventDetails.h:75
Aws::SFN::Model::TaskSubmittedEventDetails::WithOutput
TaskSubmittedEventDetails & WithOutput(const Aws::String &value)
Definition: TaskSubmittedEventDetails.h:158
Aws::SFN::Model::TaskSubmittedEventDetails::WithResourceType
TaskSubmittedEventDetails & WithResourceType(const Aws::String &value)
Definition: TaskSubmittedEventDetails.h:70
Aws::SFN::Model::TaskSubmittedEventDetails::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: TaskSubmittedEventDetails.h:50
Aws::SFN::Model::TaskSubmittedEventDetails::WithOutput
TaskSubmittedEventDetails & WithOutput(Aws::String &&value)
Definition: TaskSubmittedEventDetails.h:164
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::TaskSubmittedEventDetails::TaskSubmittedEventDetails
TaskSubmittedEventDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::SFN::Model::TaskSubmittedEventDetails::WithOutputDetails
TaskSubmittedEventDetails & WithOutputDetails(const HistoryEventExecutionDataDetails &value)
Definition: TaskSubmittedEventDetails.h:196
Aws::SFN::Model::TaskSubmittedEventDetails::SetOutputDetails
void SetOutputDetails(const HistoryEventExecutionDataDetails &value)
Definition: TaskSubmittedEventDetails.h:186
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::TaskSubmittedEventDetails::WithResource
TaskSubmittedEventDetails & WithResource(const Aws::String &value)
Definition: TaskSubmittedEventDetails.h:111
Aws::SFN::Model::TaskSubmittedEventDetails::SetOutput
void SetOutput(const char *value)
Definition: TaskSubmittedEventDetails.h:152
Aws::SFN::Model::TaskSubmittedEventDetails::ResourceHasBeenSet
bool ResourceHasBeenSet() const
Definition: TaskSubmittedEventDetails.h:91
Aws::SFN::Model::TaskSubmittedEventDetails::GetResource
const Aws::String & GetResource() const
Definition: TaskSubmittedEventDetails.h:86
Aws::SFN::Model::TaskSubmittedEventDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SFN::Model::TaskSubmittedEventDetails::SetOutput
void SetOutput(Aws::String &&value)
Definition: TaskSubmittedEventDetails.h:146
Aws::SFN::Model::TaskSubmittedEventDetails::SetResource
void SetResource(const char *value)
Definition: TaskSubmittedEventDetails.h:106