AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TaskStartedEventDetails.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SFN
22{
23namespace Model
24{
25
33 {
34 public:
39
40
42
45 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
46 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
47 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
48 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
49 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
50 inline TaskStartedEventDetails& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
51 inline TaskStartedEventDetails& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
52 inline TaskStartedEventDetails& WithResourceType(const char* value) { SetResourceType(value); return *this;}
54
56
59 inline const Aws::String& GetResource() const{ return m_resource; }
60 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
61 inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; }
62 inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); }
63 inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); }
64 inline TaskStartedEventDetails& WithResource(const Aws::String& value) { SetResource(value); return *this;}
65 inline TaskStartedEventDetails& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;}
66 inline TaskStartedEventDetails& WithResource(const char* value) { SetResource(value); return *this;}
68 private:
69
70 Aws::String m_resourceType;
71 bool m_resourceTypeHasBeenSet = false;
72
73 Aws::String m_resource;
74 bool m_resourceHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SFN
79} // namespace Aws
AWS_SFN_API TaskStartedEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
TaskStartedEventDetails & WithResource(Aws::String &&value)
TaskStartedEventDetails & WithResource(const char *value)
TaskStartedEventDetails & WithResourceType(const Aws::String &value)
void SetResourceType(const Aws::String &value)
TaskStartedEventDetails & WithResourceType(const char *value)
TaskStartedEventDetails & WithResourceType(Aws::String &&value)
TaskStartedEventDetails & WithResource(const Aws::String &value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SFN_API TaskStartedEventDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue