AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
JourneyRunResponse.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/model/JourneyRunStatus.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 Pinpoint
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PINPOINT_API JourneyRunResponse() = default;
39 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetCreationTime() const { return m_creationTime; }
48 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
49 template<typename CreationTimeT = Aws::String>
50 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
51 template<typename CreationTimeT = Aws::String>
52 JourneyRunResponse& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
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) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
63 template<typename LastUpdateTimeT = Aws::String>
64 JourneyRunResponse& WithLastUpdateTime(LastUpdateTimeT&& value) { SetLastUpdateTime(std::forward<LastUpdateTimeT>(value)); return *this;}
66
68
71 inline const Aws::String& GetRunId() const { return m_runId; }
72 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
73 template<typename RunIdT = Aws::String>
74 void SetRunId(RunIdT&& value) { m_runIdHasBeenSet = true; m_runId = std::forward<RunIdT>(value); }
75 template<typename RunIdT = Aws::String>
76 JourneyRunResponse& WithRunId(RunIdT&& value) { SetRunId(std::forward<RunIdT>(value)); return *this;}
78
80
83 inline JourneyRunStatus GetStatus() const { return m_status; }
84 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
85 inline void SetStatus(JourneyRunStatus value) { m_statusHasBeenSet = true; m_status = value; }
86 inline JourneyRunResponse& WithStatus(JourneyRunStatus value) { SetStatus(value); return *this;}
88 private:
89
90 Aws::String m_creationTime;
91 bool m_creationTimeHasBeenSet = false;
92
93 Aws::String m_lastUpdateTime;
94 bool m_lastUpdateTimeHasBeenSet = false;
95
96 Aws::String m_runId;
97 bool m_runIdHasBeenSet = false;
98
100 bool m_statusHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Pinpoint
105} // 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