AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
TestWindowSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/forecast/ForecastService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ForecastService {
21namespace Model {
22
30 public:
31 AWS_FORECASTSERVICE_API TestWindowSummary() = default;
32 AWS_FORECASTSERVICE_API TestWindowSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_FORECASTSERVICE_API TestWindowSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Utils::DateTime& GetTestWindowStart() const { return m_testWindowStart; }
41 inline bool TestWindowStartHasBeenSet() const { return m_testWindowStartHasBeenSet; }
42 template <typename TestWindowStartT = Aws::Utils::DateTime>
43 void SetTestWindowStart(TestWindowStartT&& value) {
44 m_testWindowStartHasBeenSet = true;
45 m_testWindowStart = std::forward<TestWindowStartT>(value);
46 }
47 template <typename TestWindowStartT = Aws::Utils::DateTime>
48 TestWindowSummary& WithTestWindowStart(TestWindowStartT&& value) {
49 SetTestWindowStart(std::forward<TestWindowStartT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetTestWindowEnd() const { return m_testWindowEnd; }
59 inline bool TestWindowEndHasBeenSet() const { return m_testWindowEndHasBeenSet; }
60 template <typename TestWindowEndT = Aws::Utils::DateTime>
61 void SetTestWindowEnd(TestWindowEndT&& value) {
62 m_testWindowEndHasBeenSet = true;
63 m_testWindowEnd = std::forward<TestWindowEndT>(value);
64 }
65 template <typename TestWindowEndT = Aws::Utils::DateTime>
66 TestWindowSummary& WithTestWindowEnd(TestWindowEndT&& value) {
67 SetTestWindowEnd(std::forward<TestWindowEndT>(value));
68 return *this;
69 }
71
73
78 inline const Aws::String& GetStatus() const { return m_status; }
79 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
80 template <typename StatusT = Aws::String>
81 void SetStatus(StatusT&& value) {
82 m_statusHasBeenSet = true;
83 m_status = std::forward<StatusT>(value);
84 }
85 template <typename StatusT = Aws::String>
86 TestWindowSummary& WithStatus(StatusT&& value) {
87 SetStatus(std::forward<StatusT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetMessage() const { return m_message; }
97 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
98 template <typename MessageT = Aws::String>
99 void SetMessage(MessageT&& value) {
100 m_messageHasBeenSet = true;
101 m_message = std::forward<MessageT>(value);
102 }
103 template <typename MessageT = Aws::String>
104 TestWindowSummary& WithMessage(MessageT&& value) {
105 SetMessage(std::forward<MessageT>(value));
106 return *this;
107 }
109 private:
110 Aws::Utils::DateTime m_testWindowStart{};
111
112 Aws::Utils::DateTime m_testWindowEnd{};
113
114 Aws::String m_status;
115
116 Aws::String m_message;
117 bool m_testWindowStartHasBeenSet = false;
118 bool m_testWindowEndHasBeenSet = false;
119 bool m_statusHasBeenSet = false;
120 bool m_messageHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace ForecastService
125} // namespace Aws
TestWindowSummary & WithStatus(StatusT &&value)
void SetTestWindowStart(TestWindowStartT &&value)
TestWindowSummary & WithTestWindowEnd(TestWindowEndT &&value)
TestWindowSummary & WithMessage(MessageT &&value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FORECASTSERVICE_API TestWindowSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TestWindowSummary & WithTestWindowStart(TestWindowStartT &&value)
AWS_FORECASTSERVICE_API TestWindowSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetTestWindowStart() const
AWS_FORECASTSERVICE_API TestWindowSummary()=default
const Aws::Utils::DateTime & GetTestWindowEnd() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue