AWS SDK for C++  1.9.126
AWS SDK for C++
TaskList.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/swf/SWF_EXPORTS.h>
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 SWF
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetName() const{ return m_name; }
44 
48  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 
53  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 
58  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 
63  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 
68  inline TaskList& WithName(const Aws::String& value) { SetName(value); return *this;}
69 
73  inline TaskList& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 
78  inline TaskList& WithName(const char* value) { SetName(value); return *this;}
79 
80  private:
81 
82  Aws::String m_name;
83  bool m_nameHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace SWF
88 } // namespace Aws
Aws::SWF::Model::TaskList::SetName
void SetName(const Aws::String &value)
Definition: TaskList.h:53
Aws::SWF::Model::TaskList::NameHasBeenSet
bool NameHasBeenSet() const
Definition: TaskList.h:48
Aws::SWF::Model::TaskList
Definition: TaskList.h:32
Aws::SWF::Model::TaskList::SetName
void SetName(Aws::String &&value)
Definition: TaskList.h:58
SWF_EXPORTS.h
Aws::DevOpsGuru::Model::ServiceName::NOT_SET
@ NOT_SET
Aws::SWF::Model::TaskList::operator=
TaskList & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SWF::Model::TaskList::TaskList
TaskList()
Aws::SWF::Model::TaskList::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SWF::Model::TaskList::WithName
TaskList & WithName(const char *value)
Definition: TaskList.h:78
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SWF::Model::TaskList::WithName
TaskList & WithName(const Aws::String &value)
Definition: TaskList.h:68
Aws::SWF::Model::TaskList::TaskList
TaskList(Aws::Utils::Json::JsonView jsonValue)
Aws::SWF::Model::TaskList::WithName
TaskList & WithName(Aws::String &&value)
Definition: TaskList.h:73
Aws
Definition: AccessManagementClient.h:15
AWS_SWF_API
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SWF::Model::TaskList::GetName
const Aws::String & GetName() const
Definition: TaskList.h:43
Aws::SWF::Model::TaskList::SetName
void SetName(const char *value)
Definition: TaskList.h:63