AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
JourneyRunResponse.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
9#include <aws/pinpoint/model/JourneyRunStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Pinpoint {
21namespace Model {
22
30 public:
31 AWS_PINPOINT_API JourneyRunResponse() = default;
34 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetCreationTime() const { return m_creationTime; }
42 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
43 template <typename CreationTimeT = Aws::String>
44 void SetCreationTime(CreationTimeT&& value) {
45 m_creationTimeHasBeenSet = true;
46 m_creationTime = std::forward<CreationTimeT>(value);
47 }
48 template <typename CreationTimeT = Aws::String>
49 JourneyRunResponse& WithCreationTime(CreationTimeT&& value) {
50 SetCreationTime(std::forward<CreationTimeT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetLastUpdateTime() const { return m_lastUpdateTime; }
60 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
61 template <typename LastUpdateTimeT = Aws::String>
62 void SetLastUpdateTime(LastUpdateTimeT&& value) {
63 m_lastUpdateTimeHasBeenSet = true;
64 m_lastUpdateTime = std::forward<LastUpdateTimeT>(value);
65 }
66 template <typename LastUpdateTimeT = Aws::String>
67 JourneyRunResponse& WithLastUpdateTime(LastUpdateTimeT&& value) {
68 SetLastUpdateTime(std::forward<LastUpdateTimeT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetRunId() const { return m_runId; }
78 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
79 template <typename RunIdT = Aws::String>
80 void SetRunId(RunIdT&& value) {
81 m_runIdHasBeenSet = true;
82 m_runId = std::forward<RunIdT>(value);
83 }
84 template <typename RunIdT = Aws::String>
85 JourneyRunResponse& WithRunId(RunIdT&& value) {
86 SetRunId(std::forward<RunIdT>(value));
87 return *this;
88 }
90
92
95 inline JourneyRunStatus GetStatus() const { return m_status; }
96 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 inline void SetStatus(JourneyRunStatus value) {
98 m_statusHasBeenSet = true;
99 m_status = value;
100 }
102 SetStatus(value);
103 return *this;
104 }
106 private:
107 Aws::String m_creationTime;
108 bool m_creationTimeHasBeenSet = false;
109
110 Aws::String m_lastUpdateTime;
111 bool m_lastUpdateTimeHasBeenSet = false;
112
113 Aws::String m_runId;
114 bool m_runIdHasBeenSet = false;
115
117 bool m_statusHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace Pinpoint
122} // namespace Aws
const Aws::String & GetLastUpdateTime() const
const Aws::String & GetCreationTime() const
JourneyRunResponse & WithCreationTime(CreationTimeT &&value)
AWS_PINPOINT_API JourneyRunResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API JourneyRunResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
JourneyRunResponse & WithRunId(RunIdT &&value)
void SetCreationTime(CreationTimeT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
JourneyRunResponse & WithStatus(JourneyRunStatus value)
void SetLastUpdateTime(LastUpdateTimeT &&value)
AWS_PINPOINT_API JourneyRunResponse()=default
JourneyRunResponse & WithLastUpdateTime(LastUpdateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue