AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDetail(const Aws::String& value) { m_detailHasBeenSet = true; m_detail = value; }
52 inline void SetDetail(Aws::String&& value) { m_detailHasBeenSet = true; m_detail = std::move(value); }
53 inline void SetDetail(const char* value) { m_detailHasBeenSet = true; m_detail.assign(value); }
54 inline PredictorEvent& WithDetail(const Aws::String& value) { SetDetail(value); return *this;}
55 inline PredictorEvent& WithDetail(Aws::String&& value) { SetDetail(std::move(value)); return *this;}
56 inline PredictorEvent& WithDetail(const char* value) { SetDetail(value); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetDatetime() const{ return m_datetime; }
64 inline bool DatetimeHasBeenSet() const { return m_datetimeHasBeenSet; }
65 inline void SetDatetime(const Aws::Utils::DateTime& value) { m_datetimeHasBeenSet = true; m_datetime = value; }
66 inline void SetDatetime(Aws::Utils::DateTime&& value) { m_datetimeHasBeenSet = true; m_datetime = std::move(value); }
67 inline PredictorEvent& WithDatetime(const Aws::Utils::DateTime& value) { SetDatetime(value); return *this;}
68 inline PredictorEvent& WithDatetime(Aws::Utils::DateTime&& value) { SetDatetime(std::move(value)); return *this;}
70 private:
71
72 Aws::String m_detail;
73 bool m_detailHasBeenSet = false;
74
75 Aws::Utils::DateTime m_datetime;
76 bool m_datetimeHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace ForecastService
81} // namespace Aws
void SetDatetime(Aws::Utils::DateTime &&value)
AWS_FORECASTSERVICE_API PredictorEvent(Aws::Utils::Json::JsonView jsonValue)
PredictorEvent & WithDetail(const Aws::String &value)
AWS_FORECASTSERVICE_API PredictorEvent()
void SetDatetime(const Aws::Utils::DateTime &value)
PredictorEvent & WithDetail(const char *value)
PredictorEvent & WithDetail(Aws::String &&value)
AWS_FORECASTSERVICE_API PredictorEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
PredictorEvent & WithDatetime(const Aws::Utils::DateTime &value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetDatetime() const
PredictorEvent & WithDatetime(Aws::Utils::DateTime &&value)
void SetDetail(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue