AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCreationTime(const Aws::String& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
50 inline void SetCreationTime(Aws::String&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
51 inline void SetCreationTime(const char* value) { m_creationTimeHasBeenSet = true; m_creationTime.assign(value); }
52 inline JourneyRunResponse& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;}
53 inline JourneyRunResponse& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;}
54 inline JourneyRunResponse& WithCreationTime(const char* value) { SetCreationTime(value); return *this;}
56
58
61 inline const Aws::String& GetLastUpdateTime() const{ return m_lastUpdateTime; }
62 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
63 inline void SetLastUpdateTime(const Aws::String& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
64 inline void SetLastUpdateTime(Aws::String&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
65 inline void SetLastUpdateTime(const char* value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime.assign(value); }
66 inline JourneyRunResponse& WithLastUpdateTime(const Aws::String& value) { SetLastUpdateTime(value); return *this;}
67 inline JourneyRunResponse& WithLastUpdateTime(Aws::String&& value) { SetLastUpdateTime(std::move(value)); return *this;}
68 inline JourneyRunResponse& WithLastUpdateTime(const char* value) { SetLastUpdateTime(value); return *this;}
70
72
75 inline const Aws::String& GetRunId() const{ return m_runId; }
76 inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; }
77 inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; }
78 inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = std::move(value); }
79 inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); }
80 inline JourneyRunResponse& WithRunId(const Aws::String& value) { SetRunId(value); return *this;}
81 inline JourneyRunResponse& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;}
82 inline JourneyRunResponse& WithRunId(const char* value) { SetRunId(value); return *this;}
84
86
89 inline const JourneyRunStatus& GetStatus() const{ return m_status; }
90 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
91 inline void SetStatus(const JourneyRunStatus& value) { m_statusHasBeenSet = true; m_status = value; }
92 inline void SetStatus(JourneyRunStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
93 inline JourneyRunResponse& WithStatus(const JourneyRunStatus& value) { SetStatus(value); return *this;}
94 inline JourneyRunResponse& WithStatus(JourneyRunStatus&& value) { SetStatus(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_creationTime;
99 bool m_creationTimeHasBeenSet = false;
100
101 Aws::String m_lastUpdateTime;
102 bool m_lastUpdateTimeHasBeenSet = false;
103
104 Aws::String m_runId;
105 bool m_runIdHasBeenSet = false;
106
107 JourneyRunStatus m_status;
108 bool m_statusHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Pinpoint
113} // namespace Aws
const Aws::String & GetLastUpdateTime() const
JourneyRunResponse & WithCreationTime(const char *value)
JourneyRunResponse & WithLastUpdateTime(const Aws::String &value)
void SetStatus(JourneyRunStatus &&value)
const Aws::String & GetCreationTime() const
JourneyRunResponse & WithRunId(Aws::String &&value)
JourneyRunResponse & WithStatus(const JourneyRunStatus &value)
void SetCreationTime(const Aws::String &value)
void SetStatus(const JourneyRunStatus &value)
void SetLastUpdateTime(const Aws::String &value)
JourneyRunResponse & WithCreationTime(Aws::String &&value)
JourneyRunResponse & WithLastUpdateTime(Aws::String &&value)
AWS_PINPOINT_API JourneyRunResponse(Aws::Utils::Json::JsonView jsonValue)
JourneyRunResponse & WithLastUpdateTime(const char *value)
AWS_PINPOINT_API JourneyRunResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
JourneyRunResponse & WithRunId(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const JourneyRunStatus & GetStatus() const
JourneyRunResponse & WithStatus(JourneyRunStatus &&value)
JourneyRunResponse & WithCreationTime(const Aws::String &value)
JourneyRunResponse & WithRunId(const char *value)
void SetRunId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue