AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CanaryRunTimeline.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 CanaryRunTimeline();
36 AWS_SYNTHETICS_API CanaryRunTimeline(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Utils::DateTime& GetStarted() const{ return m_started; }
46 inline bool StartedHasBeenSet() const { return m_startedHasBeenSet; }
47 inline void SetStarted(const Aws::Utils::DateTime& value) { m_startedHasBeenSet = true; m_started = value; }
48 inline void SetStarted(Aws::Utils::DateTime&& value) { m_startedHasBeenSet = true; m_started = std::move(value); }
49 inline CanaryRunTimeline& WithStarted(const Aws::Utils::DateTime& value) { SetStarted(value); return *this;}
50 inline CanaryRunTimeline& WithStarted(Aws::Utils::DateTime&& value) { SetStarted(std::move(value)); return *this;}
52
54
57 inline const Aws::Utils::DateTime& GetCompleted() const{ return m_completed; }
58 inline bool CompletedHasBeenSet() const { return m_completedHasBeenSet; }
59 inline void SetCompleted(const Aws::Utils::DateTime& value) { m_completedHasBeenSet = true; m_completed = value; }
60 inline void SetCompleted(Aws::Utils::DateTime&& value) { m_completedHasBeenSet = true; m_completed = std::move(value); }
61 inline CanaryRunTimeline& WithCompleted(const Aws::Utils::DateTime& value) { SetCompleted(value); return *this;}
62 inline CanaryRunTimeline& WithCompleted(Aws::Utils::DateTime&& value) { SetCompleted(std::move(value)); return *this;}
64 private:
65
66 Aws::Utils::DateTime m_started;
67 bool m_startedHasBeenSet = false;
68
69 Aws::Utils::DateTime m_completed;
70 bool m_completedHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Synthetics
75} // namespace Aws
AWS_SYNTHETICS_API CanaryRunTimeline & operator=(Aws::Utils::Json::JsonView jsonValue)
CanaryRunTimeline & WithStarted(const Aws::Utils::DateTime &value)
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SYNTHETICS_API CanaryRunTimeline(Aws::Utils::Json::JsonView jsonValue)
CanaryRunTimeline & WithCompleted(Aws::Utils::DateTime &&value)
CanaryRunTimeline & WithStarted(Aws::Utils::DateTime &&value)
void SetStarted(const Aws::Utils::DateTime &value)
void SetCompleted(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCompleted() const
CanaryRunTimeline & WithCompleted(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStarted() const
void SetCompleted(Aws::Utils::DateTime &&value)
void SetStarted(Aws::Utils::DateTime &&value)
Aws::Utils::Json::JsonValue JsonValue