AWS SDK for C++  1.9.104
AWS SDK for C++
StateMachineListItem.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SFN
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; }
46 
50  inline bool StateMachineArnHasBeenSet() const { return m_stateMachineArnHasBeenSet; }
51 
55  inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = value; }
56 
60  inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = std::move(value); }
61 
65  inline void SetStateMachineArn(const char* value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn.assign(value); }
66 
70  inline StateMachineListItem& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;}
71 
75  inline StateMachineListItem& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
76 
80  inline StateMachineListItem& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
81 
82 
92  inline const Aws::String& GetName() const{ return m_name; }
93 
103  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
104 
114  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
115 
125  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
126 
136  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
137 
147  inline StateMachineListItem& WithName(const Aws::String& value) { SetName(value); return *this;}
148 
158  inline StateMachineListItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
159 
169  inline StateMachineListItem& WithName(const char* value) { SetName(value); return *this;}
170 
171 
175  inline const StateMachineType& GetType() const{ return m_type; }
176 
180  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
181 
185  inline void SetType(const StateMachineType& value) { m_typeHasBeenSet = true; m_type = value; }
186 
190  inline void SetType(StateMachineType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
191 
195  inline StateMachineListItem& WithType(const StateMachineType& value) { SetType(value); return *this;}
196 
200  inline StateMachineListItem& WithType(StateMachineType&& value) { SetType(std::move(value)); return *this;}
201 
202 
206  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
207 
211  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
212 
216  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
217 
221  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
222 
226  inline StateMachineListItem& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
227 
231  inline StateMachineListItem& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
232 
233  private:
234 
235  Aws::String m_stateMachineArn;
236  bool m_stateMachineArnHasBeenSet;
237 
238  Aws::String m_name;
239  bool m_nameHasBeenSet;
240 
241  StateMachineType m_type;
242  bool m_typeHasBeenSet;
243 
244  Aws::Utils::DateTime m_creationDate;
245  bool m_creationDateHasBeenSet;
246  };
247 
248 } // namespace Model
249 } // namespace SFN
250 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SFN::Model::StateMachineListItem::SetName
void SetName(const char *value)
Definition: StateMachineListItem.h:136
Aws::SFN::Model::StateMachineListItem::SetStateMachineArn
void SetStateMachineArn(const Aws::String &value)
Definition: StateMachineListItem.h:55
Aws::SFN::Model::StateMachineListItem::WithName
StateMachineListItem & WithName(const Aws::String &value)
Definition: StateMachineListItem.h:147
Aws::SFN::Model::StateMachineListItem::StateMachineListItem
StateMachineListItem(Aws::Utils::Json::JsonView jsonValue)
Aws::SFN::Model::StateMachineListItem::GetName
const Aws::String & GetName() const
Definition: StateMachineListItem.h:92
DateTime.h
Aws::SFN::Model::StateMachineListItem::SetName
void SetName(const Aws::String &value)
Definition: StateMachineListItem.h:114
Aws::SFN::Model::StateMachineListItem::SetStateMachineArn
void SetStateMachineArn(const char *value)
Definition: StateMachineListItem.h:65
Aws::SFN::Model::StateMachineListItem::SetType
void SetType(StateMachineType &&value)
Definition: StateMachineListItem.h:190
Aws::SFN::Model::StateMachineListItem::GetStateMachineArn
const Aws::String & GetStateMachineArn() const
Definition: StateMachineListItem.h:45
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
Aws::SFN::Model::StateMachineListItem::SetName
void SetName(Aws::String &&value)
Definition: StateMachineListItem.h:125
SFN_EXPORTS.h
Aws::SFN::Model::StateMachineListItem::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: StateMachineListItem.h:180
Aws::SFN::Model::StateMachineListItem::WithType
StateMachineListItem & WithType(const StateMachineType &value)
Definition: StateMachineListItem.h:195
Aws::SFN::Model::StateMachineListItem::WithCreationDate
StateMachineListItem & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: StateMachineListItem.h:231
Aws::SFN::Model::StateMachineListItem::WithName
StateMachineListItem & WithName(Aws::String &&value)
Definition: StateMachineListItem.h:158
Aws::SFN::Model::StateMachineListItem::WithCreationDate
StateMachineListItem & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: StateMachineListItem.h:226
Aws::SFN::Model::StateMachineListItem::WithStateMachineArn
StateMachineListItem & WithStateMachineArn(Aws::String &&value)
Definition: StateMachineListItem.h:75
Aws::SFN::Model::StateMachineListItem::GetType
const StateMachineType & GetType() const
Definition: StateMachineListItem.h:175
Aws::SFN::Model::StateMachineListItem::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: StateMachineListItem.h:211
Aws::SFN::Model::StateMachineListItem::SetType
void SetType(const StateMachineType &value)
Definition: StateMachineListItem.h:185
Aws::SFN::Model::StateMachineListItem::WithType
StateMachineListItem & WithType(StateMachineType &&value)
Definition: StateMachineListItem.h:200
Aws::SFN::Model::StateMachineType
StateMachineType
Definition: StateMachineType.h:17
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SFN::Model::StateMachineListItem::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: StateMachineListItem.h:221
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
StateMachineType.h
Aws::SFN::Model::StateMachineListItem::operator=
StateMachineListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SFN::Model::StateMachineListItem::WithStateMachineArn
StateMachineListItem & WithStateMachineArn(const Aws::String &value)
Definition: StateMachineListItem.h:70
Aws::SFN::Model::StateMachineListItem::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: StateMachineListItem.h:206
Aws::SFN::Model::StateMachineListItem::StateMachineListItem
StateMachineListItem()
Aws::SFN::Model::StateMachineListItem::WithName
StateMachineListItem & WithName(const char *value)
Definition: StateMachineListItem.h:169
Aws::SFN::Model::StateMachineListItem::StateMachineArnHasBeenSet
bool StateMachineArnHasBeenSet() const
Definition: StateMachineListItem.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::StateMachineListItem::SetStateMachineArn
void SetStateMachineArn(Aws::String &&value)
Definition: StateMachineListItem.h:60
Aws::SFN::Model::StateMachineListItem::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: StateMachineListItem.h:216
Aws::SFN::Model::StateMachineListItem::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::StateMachineListItem
Definition: StateMachineListItem.h:34
Aws::SFN::Model::StateMachineListItem::NameHasBeenSet
bool NameHasBeenSet() const
Definition: StateMachineListItem.h:103
Aws::SFN::Model::StateMachineListItem::WithStateMachineArn
StateMachineListItem & WithStateMachineArn(const char *value)
Definition: StateMachineListItem.h:80