AWS SDK for C++  1.9.104
AWS SDK for C++
ActivityListItem.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SFN
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetActivityArn() const{ return m_activityArn; }
45 
49  inline bool ActivityArnHasBeenSet() const { return m_activityArnHasBeenSet; }
50 
54  inline void SetActivityArn(const Aws::String& value) { m_activityArnHasBeenSet = true; m_activityArn = value; }
55 
59  inline void SetActivityArn(Aws::String&& value) { m_activityArnHasBeenSet = true; m_activityArn = std::move(value); }
60 
64  inline void SetActivityArn(const char* value) { m_activityArnHasBeenSet = true; m_activityArn.assign(value); }
65 
69  inline ActivityListItem& WithActivityArn(const Aws::String& value) { SetActivityArn(value); return *this;}
70 
74  inline ActivityListItem& WithActivityArn(Aws::String&& value) { SetActivityArn(std::move(value)); return *this;}
75 
79  inline ActivityListItem& WithActivityArn(const char* value) { SetActivityArn(value); return *this;}
80 
81 
91  inline const Aws::String& GetName() const{ return m_name; }
92 
102  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
103 
113  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
114 
124  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
125 
135  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
136 
146  inline ActivityListItem& WithName(const Aws::String& value) { SetName(value); return *this;}
147 
157  inline ActivityListItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
158 
168  inline ActivityListItem& WithName(const char* value) { SetName(value); return *this;}
169 
170 
174  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
175 
179  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
180 
184  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
185 
189  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
190 
194  inline ActivityListItem& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
195 
199  inline ActivityListItem& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
200 
201  private:
202 
203  Aws::String m_activityArn;
204  bool m_activityArnHasBeenSet;
205 
206  Aws::String m_name;
207  bool m_nameHasBeenSet;
208 
209  Aws::Utils::DateTime m_creationDate;
210  bool m_creationDateHasBeenSet;
211  };
212 
213 } // namespace Model
214 } // namespace SFN
215 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SFN::Model::ActivityListItem::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ActivityListItem.h:102
Aws::SFN::Model::ActivityListItem::WithCreationDate
ActivityListItem & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: ActivityListItem.h:194
Aws::SFN::Model::ActivityListItem::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SFN::Model::ActivityListItem::SetActivityArn
void SetActivityArn(const char *value)
Definition: ActivityListItem.h:64
Aws::SFN::Model::ActivityListItem::WithName
ActivityListItem & WithName(Aws::String &&value)
Definition: ActivityListItem.h:157
Aws::SFN::Model::ActivityListItem::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: ActivityListItem.h:179
Aws::SFN::Model::ActivityListItem::SetName
void SetName(Aws::String &&value)
Definition: ActivityListItem.h:124
Aws::SFN::Model::ActivityListItem::SetName
void SetName(const char *value)
Definition: ActivityListItem.h:135
DateTime.h
Aws::SFN::Model::ActivityListItem::SetActivityArn
void SetActivityArn(Aws::String &&value)
Definition: ActivityListItem.h:59
Aws::SFN::Model::ActivityListItem::ActivityListItem
ActivityListItem()
Aws::SFN::Model::ActivityListItem::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: ActivityListItem.h:184
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
SFN_EXPORTS.h
Aws::SFN::Model::ActivityListItem
Definition: ActivityListItem.h:33
Aws::SFN::Model::ActivityListItem::WithName
ActivityListItem & WithName(const char *value)
Definition: ActivityListItem.h:168
Aws::SFN::Model::ActivityListItem::WithActivityArn
ActivityListItem & WithActivityArn(const char *value)
Definition: ActivityListItem.h:79
Aws::SFN::Model::ActivityListItem::operator=
ActivityListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SFN::Model::ActivityListItem::WithActivityArn
ActivityListItem & WithActivityArn(Aws::String &&value)
Definition: ActivityListItem.h:74
Aws::SFN::Model::ActivityListItem::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: ActivityListItem.h:174
Aws::SFN::Model::ActivityListItem::SetName
void SetName(const Aws::String &value)
Definition: ActivityListItem.h:113
Aws::SFN::Model::ActivityListItem::GetName
const Aws::String & GetName() const
Definition: ActivityListItem.h:91
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SFN::Model::ActivityListItem::WithCreationDate
ActivityListItem & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: ActivityListItem.h:199
Aws::SFN::Model::ActivityListItem::WithName
ActivityListItem & WithName(const Aws::String &value)
Definition: ActivityListItem.h:146
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::ActivityListItem::SetActivityArn
void SetActivityArn(const Aws::String &value)
Definition: ActivityListItem.h:54
Aws::SFN::Model::ActivityListItem::GetActivityArn
const Aws::String & GetActivityArn() const
Definition: ActivityListItem.h:44
Aws::SFN::Model::ActivityListItem::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: ActivityListItem.h:189
Aws::SFN::Model::ActivityListItem::ActivityArnHasBeenSet
bool ActivityArnHasBeenSet() const
Definition: ActivityListItem.h:49
Aws::SFN::Model::ActivityListItem::WithActivityArn
ActivityListItem & WithActivityArn(const Aws::String &value)
Definition: ActivityListItem.h:69
Aws::SFN::Model::ActivityListItem::ActivityListItem
ActivityListItem(Aws::Utils::Json::JsonView jsonValue)