AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MapRunListItem.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 MapRunListItem();
39
40
42
46 inline const Aws::String& GetExecutionArn() const{ return m_executionArn; }
47 inline bool ExecutionArnHasBeenSet() const { return m_executionArnHasBeenSet; }
48 inline void SetExecutionArn(const Aws::String& value) { m_executionArnHasBeenSet = true; m_executionArn = value; }
49 inline void SetExecutionArn(Aws::String&& value) { m_executionArnHasBeenSet = true; m_executionArn = std::move(value); }
50 inline void SetExecutionArn(const char* value) { m_executionArnHasBeenSet = true; m_executionArn.assign(value); }
51 inline MapRunListItem& WithExecutionArn(const Aws::String& value) { SetExecutionArn(value); return *this;}
52 inline MapRunListItem& WithExecutionArn(Aws::String&& value) { SetExecutionArn(std::move(value)); return *this;}
53 inline MapRunListItem& WithExecutionArn(const char* value) { SetExecutionArn(value); return *this;}
55
57
60 inline const Aws::String& GetMapRunArn() const{ return m_mapRunArn; }
61 inline bool MapRunArnHasBeenSet() const { return m_mapRunArnHasBeenSet; }
62 inline void SetMapRunArn(const Aws::String& value) { m_mapRunArnHasBeenSet = true; m_mapRunArn = value; }
63 inline void SetMapRunArn(Aws::String&& value) { m_mapRunArnHasBeenSet = true; m_mapRunArn = std::move(value); }
64 inline void SetMapRunArn(const char* value) { m_mapRunArnHasBeenSet = true; m_mapRunArn.assign(value); }
65 inline MapRunListItem& WithMapRunArn(const Aws::String& value) { SetMapRunArn(value); return *this;}
66 inline MapRunListItem& WithMapRunArn(Aws::String&& value) { SetMapRunArn(std::move(value)); return *this;}
67 inline MapRunListItem& WithMapRunArn(const char* value) { SetMapRunArn(value); return *this;}
69
71
74 inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; }
75 inline bool StateMachineArnHasBeenSet() const { return m_stateMachineArnHasBeenSet; }
76 inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = value; }
77 inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = std::move(value); }
78 inline void SetStateMachineArn(const char* value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn.assign(value); }
79 inline MapRunListItem& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;}
80 inline MapRunListItem& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
81 inline MapRunListItem& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
89 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
90 inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; }
91 inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
92 inline MapRunListItem& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
93 inline MapRunListItem& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetStopDate() const{ return m_stopDate; }
101 inline bool StopDateHasBeenSet() const { return m_stopDateHasBeenSet; }
102 inline void SetStopDate(const Aws::Utils::DateTime& value) { m_stopDateHasBeenSet = true; m_stopDate = value; }
103 inline void SetStopDate(Aws::Utils::DateTime&& value) { m_stopDateHasBeenSet = true; m_stopDate = std::move(value); }
104 inline MapRunListItem& WithStopDate(const Aws::Utils::DateTime& value) { SetStopDate(value); return *this;}
105 inline MapRunListItem& WithStopDate(Aws::Utils::DateTime&& value) { SetStopDate(std::move(value)); return *this;}
107 private:
108
109 Aws::String m_executionArn;
110 bool m_executionArnHasBeenSet = false;
111
112 Aws::String m_mapRunArn;
113 bool m_mapRunArnHasBeenSet = false;
114
115 Aws::String m_stateMachineArn;
116 bool m_stateMachineArnHasBeenSet = false;
117
118 Aws::Utils::DateTime m_startDate;
119 bool m_startDateHasBeenSet = false;
120
121 Aws::Utils::DateTime m_stopDate;
122 bool m_stopDateHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace SFN
127} // namespace Aws
MapRunListItem & WithStartDate(Aws::Utils::DateTime &&value)
void SetStartDate(const Aws::Utils::DateTime &value)
MapRunListItem & WithMapRunArn(const Aws::String &value)
AWS_SFN_API MapRunListItem(Aws::Utils::Json::JsonView jsonValue)
MapRunListItem & WithMapRunArn(Aws::String &&value)
void SetStartDate(Aws::Utils::DateTime &&value)
MapRunListItem & WithStateMachineArn(Aws::String &&value)
void SetStateMachineArn(const Aws::String &value)
MapRunListItem & WithExecutionArn(const char *value)
void SetStateMachineArn(const char *value)
void SetStopDate(Aws::Utils::DateTime &&value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetStartDate() const
const Aws::String & GetStateMachineArn() const
void SetMapRunArn(const char *value)
MapRunListItem & WithStopDate(const Aws::Utils::DateTime &value)
MapRunListItem & WithExecutionArn(Aws::String &&value)
void SetExecutionArn(Aws::String &&value)
AWS_SFN_API MapRunListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
MapRunListItem & WithStartDate(const Aws::Utils::DateTime &value)
void SetStateMachineArn(Aws::String &&value)
MapRunListItem & WithExecutionArn(const Aws::String &value)
void SetExecutionArn(const Aws::String &value)
MapRunListItem & WithStateMachineArn(const char *value)
MapRunListItem & WithStopDate(Aws::Utils::DateTime &&value)
MapRunListItem & WithStateMachineArn(const Aws::String &value)
const Aws::Utils::DateTime & GetStopDate() const
void SetExecutionArn(const char *value)
const Aws::String & GetMapRunArn() const
void SetMapRunArn(Aws::String &&value)
const Aws::String & GetExecutionArn() const
void SetStopDate(const Aws::Utils::DateTime &value)
MapRunListItem & WithMapRunArn(const char *value)
void SetMapRunArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue