AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActivityListItem.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SFN
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SFN_API ActivityListItem();
39
40
42
45 inline const Aws::String& GetActivityArn() const{ return m_activityArn; }
46 inline bool ActivityArnHasBeenSet() const { return m_activityArnHasBeenSet; }
47 inline void SetActivityArn(const Aws::String& value) { m_activityArnHasBeenSet = true; m_activityArn = value; }
48 inline void SetActivityArn(Aws::String&& value) { m_activityArnHasBeenSet = true; m_activityArn = std::move(value); }
49 inline void SetActivityArn(const char* value) { m_activityArnHasBeenSet = true; m_activityArn.assign(value); }
50 inline ActivityListItem& WithActivityArn(const Aws::String& value) { SetActivityArn(value); return *this;}
51 inline ActivityListItem& WithActivityArn(Aws::String&& value) { SetActivityArn(std::move(value)); return *this;}
52 inline ActivityListItem& WithActivityArn(const char* value) { SetActivityArn(value); return *this;}
54
56
65 inline const Aws::String& GetName() const{ return m_name; }
66 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
67 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
68 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
69 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
70 inline ActivityListItem& WithName(const Aws::String& value) { SetName(value); return *this;}
71 inline ActivityListItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
72 inline ActivityListItem& WithName(const char* value) { SetName(value); return *this;}
74
76
79 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
80 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
81 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
82 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
83 inline ActivityListItem& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
84 inline ActivityListItem& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
86 private:
87
88 Aws::String m_activityArn;
89 bool m_activityArnHasBeenSet = false;
90
91 Aws::String m_name;
92 bool m_nameHasBeenSet = false;
93
94 Aws::Utils::DateTime m_creationDate;
95 bool m_creationDateHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace SFN
100} // namespace Aws
ActivityListItem & WithName(const char *value)
AWS_SFN_API ActivityListItem(Aws::Utils::Json::JsonView jsonValue)
void SetCreationDate(Aws::Utils::DateTime &&value)
const Aws::String & GetActivityArn() const
ActivityListItem & WithName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetName(const Aws::String &value)
ActivityListItem & WithActivityArn(Aws::String &&value)
ActivityListItem & WithActivityArn(const Aws::String &value)
ActivityListItem & WithCreationDate(const Aws::Utils::DateTime &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
ActivityListItem & WithName(Aws::String &&value)
void SetActivityArn(Aws::String &&value)
const Aws::String & GetName() const
ActivityListItem & WithActivityArn(const char *value)
void SetName(Aws::String &&value)
ActivityListItem & WithCreationDate(Aws::Utils::DateTime &&value)
void SetActivityArn(const Aws::String &value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SFN_API ActivityListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const char *value)
void SetActivityArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue