AWS SDK for C++  1.9.104
AWS SDK for C++
ActivityStartedEventDetails.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 
45  inline const Aws::String& GetWorkerName() const{ return m_workerName; }
46 
51  inline bool WorkerNameHasBeenSet() const { return m_workerNameHasBeenSet; }
52 
57  inline void SetWorkerName(const Aws::String& value) { m_workerNameHasBeenSet = true; m_workerName = value; }
58 
63  inline void SetWorkerName(Aws::String&& value) { m_workerNameHasBeenSet = true; m_workerName = std::move(value); }
64 
69  inline void SetWorkerName(const char* value) { m_workerNameHasBeenSet = true; m_workerName.assign(value); }
70 
75  inline ActivityStartedEventDetails& WithWorkerName(const Aws::String& value) { SetWorkerName(value); return *this;}
76 
81  inline ActivityStartedEventDetails& WithWorkerName(Aws::String&& value) { SetWorkerName(std::move(value)); return *this;}
82 
87  inline ActivityStartedEventDetails& WithWorkerName(const char* value) { SetWorkerName(value); return *this;}
88 
89  private:
90 
91  Aws::String m_workerName;
92  bool m_workerNameHasBeenSet;
93  };
94 
95 } // namespace Model
96 } // namespace SFN
97 } // namespace Aws
Aws::SFN::Model::ActivityStartedEventDetails::SetWorkerName
void SetWorkerName(const char *value)
Definition: ActivityStartedEventDetails.h:69
Aws::SFN::Model::ActivityStartedEventDetails::WithWorkerName
ActivityStartedEventDetails & WithWorkerName(const char *value)
Definition: ActivityStartedEventDetails.h:87
Aws::SFN::Model::ActivityStartedEventDetails
Definition: ActivityStartedEventDetails.h:33
Aws::SFN::Model::ActivityStartedEventDetails::GetWorkerName
const Aws::String & GetWorkerName() const
Definition: ActivityStartedEventDetails.h:45
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
Aws::SFN::Model::ActivityStartedEventDetails::ActivityStartedEventDetails
ActivityStartedEventDetails()
SFN_EXPORTS.h
Aws::SFN::Model::ActivityStartedEventDetails::operator=
ActivityStartedEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SFN::Model::ActivityStartedEventDetails::ActivityStartedEventDetails
ActivityStartedEventDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::SFN::Model::ActivityStartedEventDetails::SetWorkerName
void SetWorkerName(Aws::String &&value)
Definition: ActivityStartedEventDetails.h:63
Aws::SFN::Model::ActivityStartedEventDetails::WithWorkerName
ActivityStartedEventDetails & WithWorkerName(Aws::String &&value)
Definition: ActivityStartedEventDetails.h:81
Aws::SFN::Model::ActivityStartedEventDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SFN::Model::ActivityStartedEventDetails::WithWorkerName
ActivityStartedEventDetails & WithWorkerName(const Aws::String &value)
Definition: ActivityStartedEventDetails.h:75
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
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::ActivityStartedEventDetails::SetWorkerName
void SetWorkerName(const Aws::String &value)
Definition: ActivityStartedEventDetails.h:57
Aws::SFN::Model::ActivityStartedEventDetails::WorkerNameHasBeenSet
bool WorkerNameHasBeenSet() const
Definition: ActivityStartedEventDetails.h:51