AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TestWindowSummary.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.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 TestWindowSummary() = default;
37 AWS_FORECASTSERVICE_API TestWindowSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FORECASTSERVICE_API TestWindowSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::DateTime& GetTestWindowStart() const { return m_testWindowStart; }
47 inline bool TestWindowStartHasBeenSet() const { return m_testWindowStartHasBeenSet; }
48 template<typename TestWindowStartT = Aws::Utils::DateTime>
49 void SetTestWindowStart(TestWindowStartT&& value) { m_testWindowStartHasBeenSet = true; m_testWindowStart = std::forward<TestWindowStartT>(value); }
50 template<typename TestWindowStartT = Aws::Utils::DateTime>
51 TestWindowSummary& WithTestWindowStart(TestWindowStartT&& value) { SetTestWindowStart(std::forward<TestWindowStartT>(value)); return *this;}
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) { m_testWindowEndHasBeenSet = true; m_testWindowEnd = std::forward<TestWindowEndT>(value); }
62 template<typename TestWindowEndT = Aws::Utils::DateTime>
63 TestWindowSummary& WithTestWindowEnd(TestWindowEndT&& value) { SetTestWindowEnd(std::forward<TestWindowEndT>(value)); return *this;}
65
67
72 inline const Aws::String& GetStatus() const { return m_status; }
73 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
74 template<typename StatusT = Aws::String>
75 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
76 template<typename StatusT = Aws::String>
77 TestWindowSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
79
81
84 inline const Aws::String& GetMessage() const { return m_message; }
85 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
86 template<typename MessageT = Aws::String>
87 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
88 template<typename MessageT = Aws::String>
89 TestWindowSummary& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
91 private:
92
93 Aws::Utils::DateTime m_testWindowStart{};
94 bool m_testWindowStartHasBeenSet = false;
95
96 Aws::Utils::DateTime m_testWindowEnd{};
97 bool m_testWindowEndHasBeenSet = false;
98
99 Aws::String m_status;
100 bool m_statusHasBeenSet = false;
101
102 Aws::String m_message;
103 bool m_messageHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace ForecastService
108} // 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