AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PredictionTimeRange.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
33 {
34 public:
35 AWS_DEVOPSGURU_API PredictionTimeRange();
36 AWS_DEVOPSGURU_API PredictionTimeRange(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
47 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
48 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
49 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
50 inline PredictionTimeRange& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
51 inline PredictionTimeRange& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
59 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
60 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
61 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
62 inline PredictionTimeRange& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
63 inline PredictionTimeRange& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
65 private:
66
67 Aws::Utils::DateTime m_startTime;
68 bool m_startTimeHasBeenSet = false;
69
70 Aws::Utils::DateTime m_endTime;
71 bool m_endTimeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace DevOpsGuru
76} // namespace Aws
PredictionTimeRange & WithStartTime(const Aws::Utils::DateTime &value)
PredictionTimeRange & WithEndTime(Aws::Utils::DateTime &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
PredictionTimeRange & WithStartTime(Aws::Utils::DateTime &&value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
PredictionTimeRange & WithEndTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartTime() const
AWS_DEVOPSGURU_API PredictionTimeRange & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStartTime(const Aws::Utils::DateTime &value)
AWS_DEVOPSGURU_API PredictionTimeRange(Aws::Utils::Json::JsonView jsonValue)
void SetEndTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEndTime() const
void SetEndTime(Aws::Utils::DateTime &&value)
Aws::Utils::Json::JsonValue JsonValue