AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ActivityListItem.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/states/SFN_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SFN {
21namespace Model {
22
29 public:
30 AWS_SFN_API ActivityListItem() = default;
34
36
39 inline const Aws::String& GetActivityArn() const { return m_activityArn; }
40 inline bool ActivityArnHasBeenSet() const { return m_activityArnHasBeenSet; }
41 template <typename ActivityArnT = Aws::String>
42 void SetActivityArn(ActivityArnT&& value) {
43 m_activityArnHasBeenSet = true;
44 m_activityArn = std::forward<ActivityArnT>(value);
45 }
46 template <typename ActivityArnT = Aws::String>
47 ActivityListItem& WithActivityArn(ActivityArnT&& value) {
48 SetActivityArn(std::forward<ActivityArnT>(value));
49 return *this;
50 }
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) {
69 m_nameHasBeenSet = true;
70 m_name = std::forward<NameT>(value);
71 }
72 template <typename NameT = Aws::String>
73 ActivityListItem& WithName(NameT&& value) {
74 SetName(std::forward<NameT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
84 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
85 template <typename CreationDateT = Aws::Utils::DateTime>
86 void SetCreationDate(CreationDateT&& value) {
87 m_creationDateHasBeenSet = true;
88 m_creationDate = std::forward<CreationDateT>(value);
89 }
90 template <typename CreationDateT = Aws::Utils::DateTime>
91 ActivityListItem& WithCreationDate(CreationDateT&& value) {
92 SetCreationDate(std::forward<CreationDateT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_activityArn;
98
99 Aws::String m_name;
100
101 Aws::Utils::DateTime m_creationDate{};
102 bool m_activityArnHasBeenSet = false;
103 bool m_nameHasBeenSet = false;
104 bool m_creationDateHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace SFN
109} // 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