AWS SDK for C++  1.9.132
AWS SDK for C++
TestWindowSummary.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ForecastService
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::Utils::DateTime& GetTestWindowStart() const{ return m_testWindowStart; }
46 
50  inline bool TestWindowStartHasBeenSet() const { return m_testWindowStartHasBeenSet; }
51 
55  inline void SetTestWindowStart(const Aws::Utils::DateTime& value) { m_testWindowStartHasBeenSet = true; m_testWindowStart = value; }
56 
60  inline void SetTestWindowStart(Aws::Utils::DateTime&& value) { m_testWindowStartHasBeenSet = true; m_testWindowStart = std::move(value); }
61 
65  inline TestWindowSummary& WithTestWindowStart(const Aws::Utils::DateTime& value) { SetTestWindowStart(value); return *this;}
66 
70  inline TestWindowSummary& WithTestWindowStart(Aws::Utils::DateTime&& value) { SetTestWindowStart(std::move(value)); return *this;}
71 
72 
76  inline const Aws::Utils::DateTime& GetTestWindowEnd() const{ return m_testWindowEnd; }
77 
81  inline bool TestWindowEndHasBeenSet() const { return m_testWindowEndHasBeenSet; }
82 
86  inline void SetTestWindowEnd(const Aws::Utils::DateTime& value) { m_testWindowEndHasBeenSet = true; m_testWindowEnd = value; }
87 
91  inline void SetTestWindowEnd(Aws::Utils::DateTime&& value) { m_testWindowEndHasBeenSet = true; m_testWindowEnd = std::move(value); }
92 
96  inline TestWindowSummary& WithTestWindowEnd(const Aws::Utils::DateTime& value) { SetTestWindowEnd(value); return *this;}
97 
101  inline TestWindowSummary& WithTestWindowEnd(Aws::Utils::DateTime&& value) { SetTestWindowEnd(std::move(value)); return *this;}
102 
103 
109  inline const Aws::String& GetStatus() const{ return m_status; }
110 
116  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
117 
123  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
124 
130  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
131 
137  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
138 
144  inline TestWindowSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
145 
151  inline TestWindowSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
152 
158  inline TestWindowSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
159 
160 
164  inline const Aws::String& GetMessage() const{ return m_message; }
165 
169  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
170 
174  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
175 
179  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
180 
184  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
185 
189  inline TestWindowSummary& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
190 
194  inline TestWindowSummary& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
195 
199  inline TestWindowSummary& WithMessage(const char* value) { SetMessage(value); return *this;}
200 
201  private:
202 
203  Aws::Utils::DateTime m_testWindowStart;
204  bool m_testWindowStartHasBeenSet;
205 
206  Aws::Utils::DateTime m_testWindowEnd;
207  bool m_testWindowEndHasBeenSet;
208 
209  Aws::String m_status;
210  bool m_statusHasBeenSet;
211 
212  Aws::String m_message;
213  bool m_messageHasBeenSet;
214  };
215 
216 } // namespace Model
217 } // namespace ForecastService
218 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ForecastService::Model::TestWindowSummary::WithTestWindowStart
TestWindowSummary & WithTestWindowStart(Aws::Utils::DateTime &&value)
Definition: TestWindowSummary.h:70
Aws::ForecastService::Model::TestWindowSummary::SetTestWindowEnd
void SetTestWindowEnd(const Aws::Utils::DateTime &value)
Definition: TestWindowSummary.h:86
Aws::ForecastService::Model::TestWindowSummary::WithTestWindowStart
TestWindowSummary & WithTestWindowStart(const Aws::Utils::DateTime &value)
Definition: TestWindowSummary.h:65
Aws::ForecastService::Model::TestWindowSummary::SetStatus
void SetStatus(const Aws::String &value)
Definition: TestWindowSummary.h:123
Aws::ForecastService::Model::TestWindowSummary::SetTestWindowEnd
void SetTestWindowEnd(Aws::Utils::DateTime &&value)
Definition: TestWindowSummary.h:91
Aws::ForecastService::Model::TestWindowSummary::operator=
TestWindowSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ForecastService::Model::TestWindowSummary::WithTestWindowEnd
TestWindowSummary & WithTestWindowEnd(Aws::Utils::DateTime &&value)
Definition: TestWindowSummary.h:101
Aws::ForecastService::Model::TestWindowSummary::GetTestWindowStart
const Aws::Utils::DateTime & GetTestWindowStart() const
Definition: TestWindowSummary.h:45
ForecastService_EXPORTS.h
Aws::ForecastService::Model::TestWindowSummary::TestWindowSummary
TestWindowSummary()
DateTime.h
Aws::ForecastService::Model::TestWindowSummary::SetMessage
void SetMessage(const char *value)
Definition: TestWindowSummary.h:184
Aws::ForecastService::Model::TestWindowSummary::GetMessage
const Aws::String & GetMessage() const
Definition: TestWindowSummary.h:164
Aws::ForecastService::Model::TestWindowSummary::WithMessage
TestWindowSummary & WithMessage(const Aws::String &value)
Definition: TestWindowSummary.h:189
Aws::ForecastService::Model::TestWindowSummary::TestWindowEndHasBeenSet
bool TestWindowEndHasBeenSet() const
Definition: TestWindowSummary.h:81
Aws::ForecastService::Model::TestWindowSummary::WithMessage
TestWindowSummary & WithMessage(const char *value)
Definition: TestWindowSummary.h:199
Aws::ForecastService::Model::TestWindowSummary
Definition: TestWindowSummary.h:34
Aws::ForecastService::Model::TestWindowSummary::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: TestWindowSummary.h:169
Aws::ForecastService::Model::TestWindowSummary::SetTestWindowStart
void SetTestWindowStart(Aws::Utils::DateTime &&value)
Definition: TestWindowSummary.h:60
Aws::ForecastService::Model::TestWindowSummary::TestWindowSummary
TestWindowSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::ForecastService::Model::TestWindowSummary::WithStatus
TestWindowSummary & WithStatus(Aws::String &&value)
Definition: TestWindowSummary.h:151
Aws::ForecastService::Model::TestWindowSummary::SetStatus
void SetStatus(const char *value)
Definition: TestWindowSummary.h:137
Aws::ForecastService::Model::TestWindowSummary::SetStatus
void SetStatus(Aws::String &&value)
Definition: TestWindowSummary.h:130
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ForecastService::Model::TestWindowSummary::SetMessage
void SetMessage(Aws::String &&value)
Definition: TestWindowSummary.h:179
Aws::ForecastService::Model::TestWindowSummary::SetTestWindowStart
void SetTestWindowStart(const Aws::Utils::DateTime &value)
Definition: TestWindowSummary.h:55
Aws::ForecastService::Model::TestWindowSummary::GetTestWindowEnd
const Aws::Utils::DateTime & GetTestWindowEnd() const
Definition: TestWindowSummary.h:76
Aws::ForecastService::Model::TestWindowSummary::WithTestWindowEnd
TestWindowSummary & WithTestWindowEnd(const Aws::Utils::DateTime &value)
Definition: TestWindowSummary.h:96
Aws::ForecastService::Model::TestWindowSummary::GetStatus
const Aws::String & GetStatus() const
Definition: TestWindowSummary.h:109
Aws::ForecastService::Model::TestWindowSummary::WithStatus
TestWindowSummary & WithStatus(const char *value)
Definition: TestWindowSummary.h:158
Aws
Definition: AccessManagementClient.h:15
Aws::ForecastService::Model::TestWindowSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: TestWindowSummary.h:116
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_FORECASTSERVICE_API
#define AWS_FORECASTSERVICE_API
Definition: ForecastService_EXPORTS.h:28
Aws::ForecastService::Model::TestWindowSummary::WithMessage
TestWindowSummary & WithMessage(Aws::String &&value)
Definition: TestWindowSummary.h:194
Aws::ForecastService::Model::TestWindowSummary::TestWindowStartHasBeenSet
bool TestWindowStartHasBeenSet() const
Definition: TestWindowSummary.h:50
Aws::ForecastService::Model::TestWindowSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ForecastService::Model::TestWindowSummary::WithStatus
TestWindowSummary & WithStatus(const Aws::String &value)
Definition: TestWindowSummary.h:144
Aws::ForecastService::Model::TestWindowSummary::SetMessage
void SetMessage(const Aws::String &value)
Definition: TestWindowSummary.h:174