AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartTimeRange.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 StartTimeRange();
36 AWS_DEVOPSGURU_API StartTimeRange(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DEVOPSGURU_API StartTimeRange& 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 StartTimeRange& WithFromTime(const Aws::Utils::DateTime& value) { SetFromTime(value); return *this;}
50 inline StartTimeRange& 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 StartTimeRange& WithToTime(const Aws::Utils::DateTime& value) { SetToTime(value); return *this;}
62 inline StartTimeRange& 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
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVOPSGURU_API StartTimeRange & operator=(Aws::Utils::Json::JsonView jsonValue)
StartTimeRange & WithFromTime(const Aws::Utils::DateTime &value)
void SetToTime(Aws::Utils::DateTime &&value)
void SetFromTime(const Aws::Utils::DateTime &value)
StartTimeRange & WithToTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetFromTime() const
const Aws::Utils::DateTime & GetToTime() const
AWS_DEVOPSGURU_API StartTimeRange(Aws::Utils::Json::JsonView jsonValue)
void SetFromTime(Aws::Utils::DateTime &&value)
StartTimeRange & WithFromTime(Aws::Utils::DateTime &&value)
void SetToTime(const Aws::Utils::DateTime &value)
StartTimeRange & WithToTime(Aws::Utils::DateTime &&value)
Aws::Utils::Json::JsonValue JsonValue