AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EndTimeRange.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 EndTimeRange();
36 AWS_DEVOPSGURU_API EndTimeRange(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DEVOPSGURU_API EndTimeRange& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Utils::DateTime& GetFromTime() const{ return m_fromTime; }
46 inline bool FromTimeHasBeenSet() const { return m_fromTimeHasBeenSet; }
47 inline void SetFromTime(const Aws::Utils::DateTime& value) { m_fromTimeHasBeenSet = true; m_fromTime = value; }
48 inline void SetFromTime(Aws::Utils::DateTime&& value) { m_fromTimeHasBeenSet = true; m_fromTime = std::move(value); }
49 inline EndTimeRange& WithFromTime(const Aws::Utils::DateTime& value) { SetFromTime(value); return *this;}
50 inline EndTimeRange& WithFromTime(Aws::Utils::DateTime&& value) { SetFromTime(std::move(value)); return *this;}
52
54
57 inline const Aws::Utils::DateTime& GetToTime() const{ return m_toTime; }
58 inline bool ToTimeHasBeenSet() const { return m_toTimeHasBeenSet; }
59 inline void SetToTime(const Aws::Utils::DateTime& value) { m_toTimeHasBeenSet = true; m_toTime = value; }
60 inline void SetToTime(Aws::Utils::DateTime&& value) { m_toTimeHasBeenSet = true; m_toTime = std::move(value); }
61 inline EndTimeRange& WithToTime(const Aws::Utils::DateTime& value) { SetToTime(value); return *this;}
62 inline EndTimeRange& WithToTime(Aws::Utils::DateTime&& value) { SetToTime(std::move(value)); return *this;}
64 private:
65
66 Aws::Utils::DateTime m_fromTime;
67 bool m_fromTimeHasBeenSet = false;
68
69 Aws::Utils::DateTime m_toTime;
70 bool m_toTimeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace DevOpsGuru
75} // namespace Aws
EndTimeRange & WithFromTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetToTime() const
void SetToTime(const Aws::Utils::DateTime &value)
EndTimeRange & WithToTime(const Aws::Utils::DateTime &value)
void SetFromTime(Aws::Utils::DateTime &&value)
void SetToTime(Aws::Utils::DateTime &&value)
EndTimeRange & WithFromTime(const Aws::Utils::DateTime &value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFromTime(const Aws::Utils::DateTime &value)
AWS_DEVOPSGURU_API EndTimeRange(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetFromTime() const
EndTimeRange & WithToTime(Aws::Utils::DateTime &&value)
AWS_DEVOPSGURU_API EndTimeRange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue