AWS SDK for C++  1.9.103
AWS SDK for C++
TaskSucceededEventDetails.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 TaskSucceededEventDetails& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
71 
75  inline TaskSucceededEventDetails& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
76 
80  inline TaskSucceededEventDetails& 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 TaskSucceededEventDetails& WithResource(const Aws::String& value) { SetResource(value); return *this;}
112 
116  inline TaskSucceededEventDetails& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;}
117 
121  inline TaskSucceededEventDetails& WithResource(const char* value) { SetResource(value); return *this;}
122 
123 
129  inline const Aws::String& GetOutput() const{ return m_output; }
130 
136  inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
137 
143  inline void SetOutput(const Aws::String& value) { m_outputHasBeenSet = true; m_output = value; }
144 
150  inline void SetOutput(Aws::String&& value) { m_outputHasBeenSet = true; m_output = std::move(value); }
151 
157  inline void SetOutput(const char* value) { m_outputHasBeenSet = true; m_output.assign(value); }
158 
164  inline TaskSucceededEventDetails& WithOutput(const Aws::String& value) { SetOutput(value); return *this;}
165 
171  inline TaskSucceededEventDetails& WithOutput(Aws::String&& value) { SetOutput(std::move(value)); return *this;}
172 
178  inline TaskSucceededEventDetails& WithOutput(const char* value) { SetOutput(value); return *this;}
179 
180 
184  inline const HistoryEventExecutionDataDetails& GetOutputDetails() const{ return m_outputDetails; }
185 
189  inline bool OutputDetailsHasBeenSet() const { return m_outputDetailsHasBeenSet; }
190 
194  inline void SetOutputDetails(const HistoryEventExecutionDataDetails& value) { m_outputDetailsHasBeenSet = true; m_outputDetails = value; }
195 
199  inline void SetOutputDetails(HistoryEventExecutionDataDetails&& value) { m_outputDetailsHasBeenSet = true; m_outputDetails = std::move(value); }
200 
204  inline TaskSucceededEventDetails& WithOutputDetails(const HistoryEventExecutionDataDetails& value) { SetOutputDetails(value); return *this;}
205 
209  inline TaskSucceededEventDetails& WithOutputDetails(HistoryEventExecutionDataDetails&& value) { SetOutputDetails(std::move(value)); return *this;}
210 
211  private:
212 
213  Aws::String m_resourceType;
214  bool m_resourceTypeHasBeenSet;
215 
216  Aws::String m_resource;
217  bool m_resourceHasBeenSet;
218 
219  Aws::String m_output;
220  bool m_outputHasBeenSet;
221 
222  HistoryEventExecutionDataDetails m_outputDetails;
223  bool m_outputDetailsHasBeenSet;
224  };
225 
226 } // namespace Model
227 } // namespace SFN
228 } // namespace Aws
Aws::SFN::Model::TaskSucceededEventDetails::operator=
TaskSucceededEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SFN::Model::TaskSucceededEventDetails::SetOutputDetails
void SetOutputDetails(HistoryEventExecutionDataDetails &&value)
Definition: TaskSucceededEventDetails.h:199
Aws::SFN::Model::TaskSucceededEventDetails
Definition: TaskSucceededEventDetails.h:34
Aws::SFN::Model::TaskSucceededEventDetails::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: TaskSucceededEventDetails.h:50
Aws::SFN::Model::TaskSucceededEventDetails::WithOutput
TaskSucceededEventDetails & WithOutput(const Aws::String &value)
Definition: TaskSucceededEventDetails.h:164
Aws::SFN::Model::TaskSucceededEventDetails::WithResourceType
TaskSucceededEventDetails & WithResourceType(const char *value)
Definition: TaskSucceededEventDetails.h:80
Aws::SFN::Model::TaskSucceededEventDetails::WithOutput
TaskSucceededEventDetails & WithOutput(const char *value)
Definition: TaskSucceededEventDetails.h:178
Aws::SFN::Model::TaskSucceededEventDetails::SetResourceType
void SetResourceType(const Aws::String &value)
Definition: TaskSucceededEventDetails.h:55
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
Aws::SFN::Model::TaskSucceededEventDetails::TaskSucceededEventDetails
TaskSucceededEventDetails()
SFN_EXPORTS.h
Aws::SFN::Model::TaskSucceededEventDetails::WithResourceType
TaskSucceededEventDetails & WithResourceType(const Aws::String &value)
Definition: TaskSucceededEventDetails.h:70
Aws::SFN::Model::TaskSucceededEventDetails::TaskSucceededEventDetails
TaskSucceededEventDetails(Aws::Utils::Json::JsonView jsonValue)
HistoryEventExecutionDataDetails.h
Aws::SFN::Model::TaskSucceededEventDetails::SetResourceType
void SetResourceType(const char *value)
Definition: TaskSucceededEventDetails.h:65
Aws::SFN::Model::TaskSucceededEventDetails::SetOutputDetails
void SetOutputDetails(const HistoryEventExecutionDataDetails &value)
Definition: TaskSucceededEventDetails.h:194
Aws::SFN::Model::TaskSucceededEventDetails::SetResource
void SetResource(Aws::String &&value)
Definition: TaskSucceededEventDetails.h:101
Aws::SFN::Model::TaskSucceededEventDetails::SetResource
void SetResource(const char *value)
Definition: TaskSucceededEventDetails.h:106
Aws::SFN::Model::TaskSucceededEventDetails::SetOutput
void SetOutput(const char *value)
Definition: TaskSucceededEventDetails.h:157
Aws::SFN::Model::TaskSucceededEventDetails::WithResource
TaskSucceededEventDetails & WithResource(const Aws::String &value)
Definition: TaskSucceededEventDetails.h:111
Aws::SFN::Model::TaskSucceededEventDetails::GetResourceType
const Aws::String & GetResourceType() const
Definition: TaskSucceededEventDetails.h:45
Aws::SFN::Model::TaskSucceededEventDetails::WithResourceType
TaskSucceededEventDetails & WithResourceType(Aws::String &&value)
Definition: TaskSucceededEventDetails.h:75
Aws::SFN::Model::TaskSucceededEventDetails::OutputDetailsHasBeenSet
bool OutputDetailsHasBeenSet() const
Definition: TaskSucceededEventDetails.h:189
Aws::SFN::Model::HistoryEventExecutionDataDetails
Definition: HistoryEventExecutionDataDetails.h:31
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SFN::Model::TaskSucceededEventDetails::SetOutput
void SetOutput(const Aws::String &value)
Definition: TaskSucceededEventDetails.h:143
Aws::SFN::Model::TaskSucceededEventDetails::GetOutput
const Aws::String & GetOutput() const
Definition: TaskSucceededEventDetails.h:129
Aws::SFN::Model::TaskSucceededEventDetails::WithResource
TaskSucceededEventDetails & WithResource(const char *value)
Definition: TaskSucceededEventDetails.h:121
Aws::SFN::Model::TaskSucceededEventDetails::WithOutputDetails
TaskSucceededEventDetails & WithOutputDetails(HistoryEventExecutionDataDetails &&value)
Definition: TaskSucceededEventDetails.h:209
Aws::SFN::Model::TaskSucceededEventDetails::GetOutputDetails
const HistoryEventExecutionDataDetails & GetOutputDetails() const
Definition: TaskSucceededEventDetails.h:184
Aws::SFN::Model::TaskSucceededEventDetails::GetResource
const Aws::String & GetResource() const
Definition: TaskSucceededEventDetails.h:86
Aws::SFN::Model::TaskSucceededEventDetails::ResourceHasBeenSet
bool ResourceHasBeenSet() const
Definition: TaskSucceededEventDetails.h:91
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::TaskSucceededEventDetails::SetResource
void SetResource(const Aws::String &value)
Definition: TaskSucceededEventDetails.h:96
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::TaskSucceededEventDetails::OutputHasBeenSet
bool OutputHasBeenSet() const
Definition: TaskSucceededEventDetails.h:136
Aws::SFN::Model::TaskSucceededEventDetails::WithOutput
TaskSucceededEventDetails & WithOutput(Aws::String &&value)
Definition: TaskSucceededEventDetails.h:171
Aws::SFN::Model::TaskSucceededEventDetails::WithResource
TaskSucceededEventDetails & WithResource(Aws::String &&value)
Definition: TaskSucceededEventDetails.h:116
Aws::SFN::Model::TaskSucceededEventDetails::SetOutput
void SetOutput(Aws::String &&value)
Definition: TaskSucceededEventDetails.h:150
Aws::SFN::Model::TaskSucceededEventDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SFN::Model::TaskSucceededEventDetails::SetResourceType
void SetResourceType(Aws::String &&value)
Definition: TaskSucceededEventDetails.h:60
Aws::SFN::Model::TaskSucceededEventDetails::WithOutputDetails
TaskSucceededEventDetails & WithOutputDetails(const HistoryEventExecutionDataDetails &value)
Definition: TaskSucceededEventDetails.h:204