AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
39
40
42
45 inline const Aws::String& GetActivityArn() const { return m_activityArn; }
46 inline bool ActivityArnHasBeenSet() const { return m_activityArnHasBeenSet; }
47 template<typename ActivityArnT = Aws::String>
48 void SetActivityArn(ActivityArnT&& value) { m_activityArnHasBeenSet = true; m_activityArn = std::forward<ActivityArnT>(value); }
49 template<typename ActivityArnT = Aws::String>
50 ActivityListItem& WithActivityArn(ActivityArnT&& value) { SetActivityArn(std::forward<ActivityArnT>(value)); return *this;}
52
54
65 inline const Aws::String& GetName() const { return m_name; }
66 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
67 template<typename NameT = Aws::String>
68 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
69 template<typename NameT = Aws::String>
70 ActivityListItem& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
72
74
77 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
78 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
79 template<typename CreationDateT = Aws::Utils::DateTime>
80 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
81 template<typename CreationDateT = Aws::Utils::DateTime>
82 ActivityListItem& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
84 private:
85
86 Aws::String m_activityArn;
87 bool m_activityArnHasBeenSet = false;
88
89 Aws::String m_name;
90 bool m_nameHasBeenSet = false;
91
92 Aws::Utils::DateTime m_creationDate{};
93 bool m_creationDateHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SFN
98} // namespace Aws
void SetCreationDate(CreationDateT &&value)
AWS_SFN_API ActivityListItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetActivityArn() const
const Aws::Utils::DateTime & GetCreationDate() const
ActivityListItem & WithCreationDate(CreationDateT &&value)
ActivityListItem & WithActivityArn(ActivityArnT &&value)
const Aws::String & GetName() const
AWS_SFN_API ActivityListItem()=default
void SetActivityArn(ActivityArnT &&value)
ActivityListItem & WithName(NameT &&value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SFN_API ActivityListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue