AWS SDK for C++

AWS SDK for C++ Version 1.11.819

Loading...
Searching...
No Matches
ScanConfigurationContinuousScanDetails.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GuardDuty {
20namespace Model {
21
30 public:
31 AWS_GUARDDUTY_API ScanConfigurationContinuousScanDetails() = default;
34 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
41 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
42 template <typename StartTimeT = Aws::Utils::DateTime>
43 void SetStartTime(StartTimeT&& value) {
44 m_startTimeHasBeenSet = true;
45 m_startTime = std::forward<StartTimeT>(value);
46 }
47 template <typename StartTimeT = Aws::Utils::DateTime>
49 SetStartTime(std::forward<StartTimeT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
59 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
60 template <typename EndTimeT = Aws::Utils::DateTime>
61 void SetEndTime(EndTimeT&& value) {
62 m_endTimeHasBeenSet = true;
63 m_endTime = std::forward<EndTimeT>(value);
64 }
65 template <typename EndTimeT = Aws::Utils::DateTime>
67 SetEndTime(std::forward<EndTimeT>(value));
68 return *this;
69 }
71 private:
72 Aws::Utils::DateTime m_startTime{};
73
74 Aws::Utils::DateTime m_endTime{};
75 bool m_startTimeHasBeenSet = false;
76 bool m_endTimeHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace GuardDuty
81} // namespace Aws
ScanConfigurationContinuousScanDetails & WithStartTime(StartTimeT &&value)
AWS_GUARDDUTY_API ScanConfigurationContinuousScanDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
ScanConfigurationContinuousScanDetails & WithEndTime(EndTimeT &&value)
AWS_GUARDDUTY_API ScanConfigurationContinuousScanDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue