AWS SDK for C++  1.9.158
AWS SDK for C++
TestGridSession.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace DeviceFarm
24 {
25 namespace Model
26 {
27 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetArn() const{ return m_arn; }
48 
52  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
53 
57  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
58 
62  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
63 
67  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
68 
72  inline TestGridSession& WithArn(const Aws::String& value) { SetArn(value); return *this;}
73 
77  inline TestGridSession& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
78 
82  inline TestGridSession& WithArn(const char* value) { SetArn(value); return *this;}
83 
84 
88  inline const TestGridSessionStatus& GetStatus() const{ return m_status; }
89 
93  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
94 
98  inline void SetStatus(const TestGridSessionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
99 
103  inline void SetStatus(TestGridSessionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
104 
108  inline TestGridSession& WithStatus(const TestGridSessionStatus& value) { SetStatus(value); return *this;}
109 
113  inline TestGridSession& WithStatus(TestGridSessionStatus&& value) { SetStatus(std::move(value)); return *this;}
114 
115 
119  inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
120 
124  inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
125 
129  inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
130 
134  inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
135 
139  inline TestGridSession& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
140 
144  inline TestGridSession& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
145 
146 
150  inline const Aws::Utils::DateTime& GetEnded() const{ return m_ended; }
151 
155  inline bool EndedHasBeenSet() const { return m_endedHasBeenSet; }
156 
160  inline void SetEnded(const Aws::Utils::DateTime& value) { m_endedHasBeenSet = true; m_ended = value; }
161 
165  inline void SetEnded(Aws::Utils::DateTime&& value) { m_endedHasBeenSet = true; m_ended = std::move(value); }
166 
170  inline TestGridSession& WithEnded(const Aws::Utils::DateTime& value) { SetEnded(value); return *this;}
171 
175  inline TestGridSession& WithEnded(Aws::Utils::DateTime&& value) { SetEnded(std::move(value)); return *this;}
176 
177 
181  inline double GetBillingMinutes() const{ return m_billingMinutes; }
182 
186  inline bool BillingMinutesHasBeenSet() const { return m_billingMinutesHasBeenSet; }
187 
191  inline void SetBillingMinutes(double value) { m_billingMinutesHasBeenSet = true; m_billingMinutes = value; }
192 
196  inline TestGridSession& WithBillingMinutes(double value) { SetBillingMinutes(value); return *this;}
197 
198 
202  inline const Aws::String& GetSeleniumProperties() const{ return m_seleniumProperties; }
203 
207  inline bool SeleniumPropertiesHasBeenSet() const { return m_seleniumPropertiesHasBeenSet; }
208 
212  inline void SetSeleniumProperties(const Aws::String& value) { m_seleniumPropertiesHasBeenSet = true; m_seleniumProperties = value; }
213 
217  inline void SetSeleniumProperties(Aws::String&& value) { m_seleniumPropertiesHasBeenSet = true; m_seleniumProperties = std::move(value); }
218 
222  inline void SetSeleniumProperties(const char* value) { m_seleniumPropertiesHasBeenSet = true; m_seleniumProperties.assign(value); }
223 
227  inline TestGridSession& WithSeleniumProperties(const Aws::String& value) { SetSeleniumProperties(value); return *this;}
228 
232  inline TestGridSession& WithSeleniumProperties(Aws::String&& value) { SetSeleniumProperties(std::move(value)); return *this;}
233 
237  inline TestGridSession& WithSeleniumProperties(const char* value) { SetSeleniumProperties(value); return *this;}
238 
239  private:
240 
241  Aws::String m_arn;
242  bool m_arnHasBeenSet;
243 
244  TestGridSessionStatus m_status;
245  bool m_statusHasBeenSet;
246 
247  Aws::Utils::DateTime m_created;
248  bool m_createdHasBeenSet;
249 
250  Aws::Utils::DateTime m_ended;
251  bool m_endedHasBeenSet;
252 
253  double m_billingMinutes;
254  bool m_billingMinutesHasBeenSet;
255 
256  Aws::String m_seleniumProperties;
257  bool m_seleniumPropertiesHasBeenSet;
258  };
259 
260 } // namespace Model
261 } // namespace DeviceFarm
262 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::DeviceFarm::Model::TestGridSession::SetCreated
void SetCreated(Aws::Utils::DateTime &&value)
Definition: TestGridSession.h:134
Aws::DeviceFarm::Model::TestGridSession::WithArn
TestGridSession & WithArn(const Aws::String &value)
Definition: TestGridSession.h:72
Aws::DeviceFarm::Model::TestGridSession::SetArn
void SetArn(const char *value)
Definition: TestGridSession.h:67
Aws::DeviceFarm::Model::TestGridSession::SetStatus
void SetStatus(const TestGridSessionStatus &value)
Definition: TestGridSession.h:98
Aws::DeviceFarm::Model::TestGridSession::SetCreated
void SetCreated(const Aws::Utils::DateTime &value)
Definition: TestGridSession.h:129
Aws::DeviceFarm::Model::TestGridSession::SetSeleniumProperties
void SetSeleniumProperties(const Aws::String &value)
Definition: TestGridSession.h:212
Aws::DeviceFarm::Model::TestGridSession::WithCreated
TestGridSession & WithCreated(const Aws::Utils::DateTime &value)
Definition: TestGridSession.h:139
Aws::DeviceFarm::Model::TestGridSession::operator=
TestGridSession & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DeviceFarm::Model::TestGridSession::SetArn
void SetArn(const Aws::String &value)
Definition: TestGridSession.h:57
Aws::DeviceFarm::Model::TestGridSession::SetSeleniumProperties
void SetSeleniumProperties(const char *value)
Definition: TestGridSession.h:222
DateTime.h
Aws::DeviceFarm::Model::TestGridSession::GetCreated
const Aws::Utils::DateTime & GetCreated() const
Definition: TestGridSession.h:119
Aws::DeviceFarm::Model::TestGridSession
Definition: TestGridSession.h:36
Aws::DeviceFarm::Model::TestGridSession::GetStatus
const TestGridSessionStatus & GetStatus() const
Definition: TestGridSession.h:88
Aws::DeviceFarm::Model::TestGridSession::WithArn
TestGridSession & WithArn(const char *value)
Definition: TestGridSession.h:82
TestGridSessionStatus.h
Aws::DeviceFarm::Model::TestGridSession::EndedHasBeenSet
bool EndedHasBeenSet() const
Definition: TestGridSession.h:155
Aws::DeviceFarm::Model::TestGridSession::WithSeleniumProperties
TestGridSession & WithSeleniumProperties(const char *value)
Definition: TestGridSession.h:237
Aws::DeviceFarm::Model::TestGridSession::SeleniumPropertiesHasBeenSet
bool SeleniumPropertiesHasBeenSet() const
Definition: TestGridSession.h:207
Aws::DeviceFarm::Model::TestGridSession::WithBillingMinutes
TestGridSession & WithBillingMinutes(double value)
Definition: TestGridSession.h:196
Aws::DeviceFarm::Model::TestGridSession::WithStatus
TestGridSession & WithStatus(TestGridSessionStatus &&value)
Definition: TestGridSession.h:113
Aws::DeviceFarm::Model::TestGridSession::SetEnded
void SetEnded(Aws::Utils::DateTime &&value)
Definition: TestGridSession.h:165
Aws::DeviceFarm::Model::TestGridSession::SetBillingMinutes
void SetBillingMinutes(double value)
Definition: TestGridSession.h:191
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::DeviceFarm::Model::TestGridSession::GetBillingMinutes
double GetBillingMinutes() const
Definition: TestGridSession.h:181
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::DeviceFarm::Model::TestGridSession::SetArn
void SetArn(Aws::String &&value)
Definition: TestGridSession.h:62
Aws::DeviceFarm::Model::TestGridSession::WithSeleniumProperties
TestGridSession & WithSeleniumProperties(Aws::String &&value)
Definition: TestGridSession.h:232
Aws::DeviceFarm::Model::TestGridSession::GetSeleniumProperties
const Aws::String & GetSeleniumProperties() const
Definition: TestGridSession.h:202
Aws::DeviceFarm::Model::TestGridSession::WithStatus
TestGridSession & WithStatus(const TestGridSessionStatus &value)
Definition: TestGridSession.h:108
Aws::DeviceFarm::Model::TestGridSession::CreatedHasBeenSet
bool CreatedHasBeenSet() const
Definition: TestGridSession.h:124
Aws::DeviceFarm::Model::TestGridSession::WithCreated
TestGridSession & WithCreated(Aws::Utils::DateTime &&value)
Definition: TestGridSession.h:144
Aws::DeviceFarm::Model::TestGridSession::WithArn
TestGridSession & WithArn(Aws::String &&value)
Definition: TestGridSession.h:77
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::DeviceFarm::Model::TestGridSession::WithEnded
TestGridSession & WithEnded(const Aws::Utils::DateTime &value)
Definition: TestGridSession.h:170
DeviceFarm_EXPORTS.h
Aws::DeviceFarm::Model::TestGridSessionStatus
TestGridSessionStatus
Definition: TestGridSessionStatus.h:17
Aws::DeviceFarm::Model::TestGridSession::TestGridSession
TestGridSession(Aws::Utils::Json::JsonView jsonValue)
Aws::DeviceFarm::Model::TestGridSession::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: TestGridSession.h:93
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DeviceFarm::Model::TestGridSession::WithSeleniumProperties
TestGridSession & WithSeleniumProperties(const Aws::String &value)
Definition: TestGridSession.h:227
Aws::DeviceFarm::Model::TestGridSession::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DeviceFarm::Model::TestGridSession::SetStatus
void SetStatus(TestGridSessionStatus &&value)
Definition: TestGridSession.h:103
Aws::DeviceFarm::Model::TestGridSession::BillingMinutesHasBeenSet
bool BillingMinutesHasBeenSet() const
Definition: TestGridSession.h:186
Aws::DeviceFarm::Model::TestGridSession::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: TestGridSession.h:52
Aws::DeviceFarm::Model::TestGridSession::GetArn
const Aws::String & GetArn() const
Definition: TestGridSession.h:47
Aws::DeviceFarm::Model::TestGridSession::TestGridSession
TestGridSession()
Aws::DeviceFarm::Model::TestGridSession::SetSeleniumProperties
void SetSeleniumProperties(Aws::String &&value)
Definition: TestGridSession.h:217
Aws::DeviceFarm::Model::TestGridSession::WithEnded
TestGridSession & WithEnded(Aws::Utils::DateTime &&value)
Definition: TestGridSession.h:175
Aws::DeviceFarm::Model::TestGridSession::SetEnded
void SetEnded(const Aws::Utils::DateTime &value)
Definition: TestGridSession.h:160
Aws::DeviceFarm::Model::TestGridSession::GetEnded
const Aws::Utils::DateTime & GetEnded() const
Definition: TestGridSession.h:150