AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PredictionTimeRange.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 FraudDetector
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_FRAUDDETECTOR_API PredictionTimeRange();
36 AWS_FRAUDDETECTOR_API PredictionTimeRange(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FRAUDDETECTOR_API PredictionTimeRange& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetStartTime() const{ return m_startTime; }
47 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
48 inline void SetStartTime(const Aws::String& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
49 inline void SetStartTime(Aws::String&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
50 inline void SetStartTime(const char* value) { m_startTimeHasBeenSet = true; m_startTime.assign(value); }
51 inline PredictionTimeRange& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;}
52 inline PredictionTimeRange& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;}
53 inline PredictionTimeRange& WithStartTime(const char* value) { SetStartTime(value); return *this;}
55
57
61 inline const Aws::String& GetEndTime() const{ return m_endTime; }
62 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
63 inline void SetEndTime(const Aws::String& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
64 inline void SetEndTime(Aws::String&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
65 inline void SetEndTime(const char* value) { m_endTimeHasBeenSet = true; m_endTime.assign(value); }
66 inline PredictionTimeRange& WithEndTime(const Aws::String& value) { SetEndTime(value); return *this;}
67 inline PredictionTimeRange& WithEndTime(Aws::String&& value) { SetEndTime(std::move(value)); return *this;}
68 inline PredictionTimeRange& WithEndTime(const char* value) { SetEndTime(value); return *this;}
70 private:
71
72 Aws::String m_startTime;
73 bool m_startTimeHasBeenSet = false;
74
75 Aws::String m_endTime;
76 bool m_endTimeHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace FraudDetector
81} // namespace Aws
PredictionTimeRange & WithEndTime(const char *value)
PredictionTimeRange & WithEndTime(const Aws::String &value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FRAUDDETECTOR_API PredictionTimeRange(Aws::Utils::Json::JsonView jsonValue)
PredictionTimeRange & WithStartTime(Aws::String &&value)
PredictionTimeRange & WithStartTime(const Aws::String &value)
PredictionTimeRange & WithStartTime(const char *value)
PredictionTimeRange & WithEndTime(Aws::String &&value)
AWS_FRAUDDETECTOR_API PredictionTimeRange & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue