AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PredictorEvent.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ForecastService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_FORECASTSERVICE_API PredictorEvent() = default;
37 AWS_FORECASTSERVICE_API PredictorEvent(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FORECASTSERVICE_API PredictorEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const Aws::String& GetDetail() const { return m_detail; }
50 inline bool DetailHasBeenSet() const { return m_detailHasBeenSet; }
51 template<typename DetailT = Aws::String>
52 void SetDetail(DetailT&& value) { m_detailHasBeenSet = true; m_detail = std::forward<DetailT>(value); }
53 template<typename DetailT = Aws::String>
54 PredictorEvent& WithDetail(DetailT&& value) { SetDetail(std::forward<DetailT>(value)); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetDatetime() const { return m_datetime; }
62 inline bool DatetimeHasBeenSet() const { return m_datetimeHasBeenSet; }
63 template<typename DatetimeT = Aws::Utils::DateTime>
64 void SetDatetime(DatetimeT&& value) { m_datetimeHasBeenSet = true; m_datetime = std::forward<DatetimeT>(value); }
65 template<typename DatetimeT = Aws::Utils::DateTime>
66 PredictorEvent& WithDatetime(DatetimeT&& value) { SetDatetime(std::forward<DatetimeT>(value)); return *this;}
68 private:
69
70 Aws::String m_detail;
71 bool m_detailHasBeenSet = false;
72
73 Aws::Utils::DateTime m_datetime{};
74 bool m_datetimeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ForecastService
79} // namespace Aws
AWS_FORECASTSERVICE_API PredictorEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_FORECASTSERVICE_API PredictorEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
PredictorEvent & WithDetail(DetailT &&value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetDatetime() const
PredictorEvent & WithDatetime(DatetimeT &&value)
AWS_FORECASTSERVICE_API PredictorEvent()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue