AWS SDK for C++  1.9.104
AWS SDK for C++
TaskStartedEventDetails.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SFN
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetResourceType() const{ return m_resourceType; }
45 
49  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
50 
54  inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
55 
59  inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
60 
64  inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
65 
69  inline TaskStartedEventDetails& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
70 
74  inline TaskStartedEventDetails& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
75 
79  inline TaskStartedEventDetails& WithResourceType(const char* value) { SetResourceType(value); return *this;}
80 
81 
85  inline const Aws::String& GetResource() const{ return m_resource; }
86 
90  inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
91 
95  inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; }
96 
100  inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); }
101 
105  inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); }
106 
110  inline TaskStartedEventDetails& WithResource(const Aws::String& value) { SetResource(value); return *this;}
111 
115  inline TaskStartedEventDetails& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;}
116 
120  inline TaskStartedEventDetails& WithResource(const char* value) { SetResource(value); return *this;}
121 
122  private:
123 
124  Aws::String m_resourceType;
125  bool m_resourceTypeHasBeenSet;
126 
127  Aws::String m_resource;
128  bool m_resourceHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace SFN
133 } // namespace Aws
Aws::SFN::Model::TaskStartedEventDetails::TaskStartedEventDetails
TaskStartedEventDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::SFN::Model::TaskStartedEventDetails
Definition: TaskStartedEventDetails.h:33
Aws::SFN::Model::TaskStartedEventDetails::operator=
TaskStartedEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SFN::Model::TaskStartedEventDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
Aws::SFN::Model::TaskStartedEventDetails::ResourceHasBeenSet
bool ResourceHasBeenSet() const
Definition: TaskStartedEventDetails.h:90
SFN_EXPORTS.h
Aws::SFN::Model::TaskStartedEventDetails::SetResourceType
void SetResourceType(Aws::String &&value)
Definition: TaskStartedEventDetails.h:59
Aws::SFN::Model::TaskStartedEventDetails::SetResourceType
void SetResourceType(const Aws::String &value)
Definition: TaskStartedEventDetails.h:54
Aws::SFN::Model::TaskStartedEventDetails::GetResource
const Aws::String & GetResource() const
Definition: TaskStartedEventDetails.h:85
Aws::SFN::Model::TaskStartedEventDetails::SetResource
void SetResource(const Aws::String &value)
Definition: TaskStartedEventDetails.h:95
Aws::SFN::Model::TaskStartedEventDetails::WithResource
TaskStartedEventDetails & WithResource(Aws::String &&value)
Definition: TaskStartedEventDetails.h:115
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SFN::Model::TaskStartedEventDetails::SetResourceType
void SetResourceType(const char *value)
Definition: TaskStartedEventDetails.h:64
Aws::SFN::Model::TaskStartedEventDetails::SetResource
void SetResource(const char *value)
Definition: TaskStartedEventDetails.h:105
Aws::SFN::Model::TaskStartedEventDetails::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: TaskStartedEventDetails.h:49
Aws::SFN::Model::TaskStartedEventDetails::SetResource
void SetResource(Aws::String &&value)
Definition: TaskStartedEventDetails.h:100
Aws::SFN::Model::TaskStartedEventDetails::WithResourceType
TaskStartedEventDetails & WithResourceType(const char *value)
Definition: TaskStartedEventDetails.h:79
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::TaskStartedEventDetails::WithResource
TaskStartedEventDetails & WithResource(const char *value)
Definition: TaskStartedEventDetails.h:120
Aws::SFN::Model::TaskStartedEventDetails::TaskStartedEventDetails
TaskStartedEventDetails()
Aws::SFN::Model::TaskStartedEventDetails::GetResourceType
const Aws::String & GetResourceType() const
Definition: TaskStartedEventDetails.h:44
Aws::SFN::Model::TaskStartedEventDetails::WithResource
TaskStartedEventDetails & WithResource(const Aws::String &value)
Definition: TaskStartedEventDetails.h:110
Aws::SFN::Model::TaskStartedEventDetails::WithResourceType
TaskStartedEventDetails & WithResourceType(Aws::String &&value)
Definition: TaskStartedEventDetails.h:74
Aws::SFN::Model::TaskStartedEventDetails::WithResourceType
TaskStartedEventDetails & WithResourceType(const Aws::String &value)
Definition: TaskStartedEventDetails.h:69