AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTestWindowStart(const Aws::Utils::DateTime& value) { m_testWindowStartHasBeenSet = true; m_testWindowStart = value; }
49 inline void SetTestWindowStart(Aws::Utils::DateTime&& value) { m_testWindowStartHasBeenSet = true; m_testWindowStart = std::move(value); }
51 inline TestWindowSummary& WithTestWindowStart(Aws::Utils::DateTime&& value) { SetTestWindowStart(std::move(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 inline void SetTestWindowEnd(const Aws::Utils::DateTime& value) { m_testWindowEndHasBeenSet = true; m_testWindowEnd = value; }
61 inline void SetTestWindowEnd(Aws::Utils::DateTime&& value) { m_testWindowEndHasBeenSet = true; m_testWindowEnd = std::move(value); }
62 inline TestWindowSummary& WithTestWindowEnd(const Aws::Utils::DateTime& value) { SetTestWindowEnd(value); return *this;}
63 inline TestWindowSummary& WithTestWindowEnd(Aws::Utils::DateTime&& value) { SetTestWindowEnd(std::move(value)); return *this;}
65
67
72 inline const Aws::String& GetStatus() const{ return m_status; }
73 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
74 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
75 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
76 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
77 inline TestWindowSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
78 inline TestWindowSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
79 inline TestWindowSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
81
83
86 inline const Aws::String& GetMessage() const{ return m_message; }
87 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
88 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
89 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
90 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
91 inline TestWindowSummary& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
92 inline TestWindowSummary& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
93 inline TestWindowSummary& WithMessage(const char* value) { SetMessage(value); return *this;}
95 private:
96
97 Aws::Utils::DateTime m_testWindowStart;
98 bool m_testWindowStartHasBeenSet = false;
99
100 Aws::Utils::DateTime m_testWindowEnd;
101 bool m_testWindowEndHasBeenSet = false;
102
103 Aws::String m_status;
104 bool m_statusHasBeenSet = false;
105
106 Aws::String m_message;
107 bool m_messageHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace ForecastService
112} // namespace Aws
TestWindowSummary & WithStatus(Aws::String &&value)
TestWindowSummary & WithStatus(const Aws::String &value)
TestWindowSummary & WithMessage(const Aws::String &value)
TestWindowSummary & WithTestWindowStart(const Aws::Utils::DateTime &value)
void SetTestWindowEnd(Aws::Utils::DateTime &&value)
TestWindowSummary & WithMessage(Aws::String &&value)
TestWindowSummary & WithTestWindowEnd(const Aws::Utils::DateTime &value)
void SetTestWindowStart(Aws::Utils::DateTime &&value)
void SetTestWindowStart(const Aws::Utils::DateTime &value)
TestWindowSummary & WithMessage(const char *value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
TestWindowSummary & WithTestWindowEnd(Aws::Utils::DateTime &&value)
AWS_FORECASTSERVICE_API TestWindowSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TestWindowSummary & WithTestWindowStart(Aws::Utils::DateTime &&value)
AWS_FORECASTSERVICE_API TestWindowSummary(Aws::Utils::Json::JsonView jsonValue)
void SetTestWindowEnd(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetTestWindowStart() const
const Aws::Utils::DateTime & GetTestWindowEnd() const
TestWindowSummary & WithStatus(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue