AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CanaryTimeline.h
1
6#pragma once
7#include <aws/synthetics/Synthetics_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Synthetics
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SYNTHETICS_API CanaryTimeline();
36 AWS_SYNTHETICS_API CanaryTimeline(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SYNTHETICS_API CanaryTimeline& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
46 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
47 inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
48 inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
49 inline CanaryTimeline& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
50 inline CanaryTimeline& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
52
54
57 inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; }
58 inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
59 inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; }
60 inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); }
61 inline CanaryTimeline& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;}
62 inline CanaryTimeline& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetLastStarted() const{ return m_lastStarted; }
70 inline bool LastStartedHasBeenSet() const { return m_lastStartedHasBeenSet; }
71 inline void SetLastStarted(const Aws::Utils::DateTime& value) { m_lastStartedHasBeenSet = true; m_lastStarted = value; }
72 inline void SetLastStarted(Aws::Utils::DateTime&& value) { m_lastStartedHasBeenSet = true; m_lastStarted = std::move(value); }
73 inline CanaryTimeline& WithLastStarted(const Aws::Utils::DateTime& value) { SetLastStarted(value); return *this;}
74 inline CanaryTimeline& WithLastStarted(Aws::Utils::DateTime&& value) { SetLastStarted(std::move(value)); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetLastStopped() const{ return m_lastStopped; }
82 inline bool LastStoppedHasBeenSet() const { return m_lastStoppedHasBeenSet; }
83 inline void SetLastStopped(const Aws::Utils::DateTime& value) { m_lastStoppedHasBeenSet = true; m_lastStopped = value; }
84 inline void SetLastStopped(Aws::Utils::DateTime&& value) { m_lastStoppedHasBeenSet = true; m_lastStopped = std::move(value); }
85 inline CanaryTimeline& WithLastStopped(const Aws::Utils::DateTime& value) { SetLastStopped(value); return *this;}
86 inline CanaryTimeline& WithLastStopped(Aws::Utils::DateTime&& value) { SetLastStopped(std::move(value)); return *this;}
88 private:
89
90 Aws::Utils::DateTime m_created;
91 bool m_createdHasBeenSet = false;
92
93 Aws::Utils::DateTime m_lastModified;
94 bool m_lastModifiedHasBeenSet = false;
95
96 Aws::Utils::DateTime m_lastStarted;
97 bool m_lastStartedHasBeenSet = false;
98
99 Aws::Utils::DateTime m_lastStopped;
100 bool m_lastStoppedHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Synthetics
105} // namespace Aws
AWS_SYNTHETICS_API CanaryTimeline & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreated(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreated() const
void SetLastModified(const Aws::Utils::DateTime &value)
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
CanaryTimeline & WithLastStarted(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastStopped() const
CanaryTimeline & WithLastStarted(const Aws::Utils::DateTime &value)
void SetLastModified(Aws::Utils::DateTime &&value)
void SetLastStopped(const Aws::Utils::DateTime &value)
CanaryTimeline & WithLastStopped(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModified() const
void SetCreated(const Aws::Utils::DateTime &value)
void SetLastStopped(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastStarted() const
AWS_SYNTHETICS_API CanaryTimeline(Aws::Utils::Json::JsonView jsonValue)
CanaryTimeline & WithLastStopped(const Aws::Utils::DateTime &value)
void SetLastStarted(const Aws::Utils::DateTime &value)
CanaryTimeline & WithLastModified(const Aws::Utils::DateTime &value)
void SetLastStarted(Aws::Utils::DateTime &&value)
CanaryTimeline & WithCreated(Aws::Utils::DateTime &&value)
CanaryTimeline & WithLastModified(Aws::Utils::DateTime &&value)
CanaryTimeline & WithCreated(const Aws::Utils::DateTime &value)
Aws::Utils::Json::JsonValue JsonValue