AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnomalyReportedTimeRange.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_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 DevOpsGuru
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_DEVOPSGURU_API AnomalyReportedTimeRange();
40 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetOpenTime() const{ return m_openTime; }
48 inline bool OpenTimeHasBeenSet() const { return m_openTimeHasBeenSet; }
49 inline void SetOpenTime(const Aws::Utils::DateTime& value) { m_openTimeHasBeenSet = true; m_openTime = value; }
50 inline void SetOpenTime(Aws::Utils::DateTime&& value) { m_openTimeHasBeenSet = true; m_openTime = std::move(value); }
51 inline AnomalyReportedTimeRange& WithOpenTime(const Aws::Utils::DateTime& value) { SetOpenTime(value); return *this;}
52 inline AnomalyReportedTimeRange& WithOpenTime(Aws::Utils::DateTime&& value) { SetOpenTime(std::move(value)); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetCloseTime() const{ return m_closeTime; }
60 inline bool CloseTimeHasBeenSet() const { return m_closeTimeHasBeenSet; }
61 inline void SetCloseTime(const Aws::Utils::DateTime& value) { m_closeTimeHasBeenSet = true; m_closeTime = value; }
62 inline void SetCloseTime(Aws::Utils::DateTime&& value) { m_closeTimeHasBeenSet = true; m_closeTime = std::move(value); }
63 inline AnomalyReportedTimeRange& WithCloseTime(const Aws::Utils::DateTime& value) { SetCloseTime(value); return *this;}
64 inline AnomalyReportedTimeRange& WithCloseTime(Aws::Utils::DateTime&& value) { SetCloseTime(std::move(value)); return *this;}
66 private:
67
68 Aws::Utils::DateTime m_openTime;
69 bool m_openTimeHasBeenSet = false;
70
71 Aws::Utils::DateTime m_closeTime;
72 bool m_closeTimeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace DevOpsGuru
77} // namespace Aws
AWS_DEVOPSGURU_API AnomalyReportedTimeRange(Aws::Utils::Json::JsonView jsonValue)
void SetCloseTime(const Aws::Utils::DateTime &value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
AnomalyReportedTimeRange & WithOpenTime(Aws::Utils::DateTime &&value)
AWS_DEVOPSGURU_API AnomalyReportedTimeRange & operator=(Aws::Utils::Json::JsonView jsonValue)
AnomalyReportedTimeRange & WithOpenTime(const Aws::Utils::DateTime &value)
AnomalyReportedTimeRange & WithCloseTime(const Aws::Utils::DateTime &value)
AnomalyReportedTimeRange & WithCloseTime(Aws::Utils::DateTime &&value)
void SetOpenTime(const Aws::Utils::DateTime &value)
Aws::Utils::Json::JsonValue JsonValue