AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TestGridSession.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devicefarm/model/TestGridSessionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DeviceFarm
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_DEVICEFARM_API TestGridSession() = default;
39 AWS_DEVICEFARM_API TestGridSession(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const { return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 template<typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
52 template<typename ArnT = Aws::String>
53 TestGridSession& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
55
57
60 inline TestGridSessionStatus GetStatus() const { return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 inline void SetStatus(TestGridSessionStatus value) { m_statusHasBeenSet = true; m_status = value; }
63 inline TestGridSession& WithStatus(TestGridSessionStatus value) { SetStatus(value); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetCreated() const { return m_created; }
71 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
72 template<typename CreatedT = Aws::Utils::DateTime>
73 void SetCreated(CreatedT&& value) { m_createdHasBeenSet = true; m_created = std::forward<CreatedT>(value); }
74 template<typename CreatedT = Aws::Utils::DateTime>
75 TestGridSession& WithCreated(CreatedT&& value) { SetCreated(std::forward<CreatedT>(value)); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetEnded() const { return m_ended; }
83 inline bool EndedHasBeenSet() const { return m_endedHasBeenSet; }
84 template<typename EndedT = Aws::Utils::DateTime>
85 void SetEnded(EndedT&& value) { m_endedHasBeenSet = true; m_ended = std::forward<EndedT>(value); }
86 template<typename EndedT = Aws::Utils::DateTime>
87 TestGridSession& WithEnded(EndedT&& value) { SetEnded(std::forward<EndedT>(value)); return *this;}
89
91
94 inline double GetBillingMinutes() const { return m_billingMinutes; }
95 inline bool BillingMinutesHasBeenSet() const { return m_billingMinutesHasBeenSet; }
96 inline void SetBillingMinutes(double value) { m_billingMinutesHasBeenSet = true; m_billingMinutes = value; }
97 inline TestGridSession& WithBillingMinutes(double value) { SetBillingMinutes(value); return *this;}
99
101
104 inline const Aws::String& GetSeleniumProperties() const { return m_seleniumProperties; }
105 inline bool SeleniumPropertiesHasBeenSet() const { return m_seleniumPropertiesHasBeenSet; }
106 template<typename SeleniumPropertiesT = Aws::String>
107 void SetSeleniumProperties(SeleniumPropertiesT&& value) { m_seleniumPropertiesHasBeenSet = true; m_seleniumProperties = std::forward<SeleniumPropertiesT>(value); }
108 template<typename SeleniumPropertiesT = Aws::String>
109 TestGridSession& WithSeleniumProperties(SeleniumPropertiesT&& value) { SetSeleniumProperties(std::forward<SeleniumPropertiesT>(value)); return *this;}
111 private:
112
113 Aws::String m_arn;
114 bool m_arnHasBeenSet = false;
115
117 bool m_statusHasBeenSet = false;
118
119 Aws::Utils::DateTime m_created{};
120 bool m_createdHasBeenSet = false;
121
122 Aws::Utils::DateTime m_ended{};
123 bool m_endedHasBeenSet = false;
124
125 double m_billingMinutes{0.0};
126 bool m_billingMinutesHasBeenSet = false;
127
128 Aws::String m_seleniumProperties;
129 bool m_seleniumPropertiesHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace DeviceFarm
134} // namespace Aws
TestGridSession & WithSeleniumProperties(SeleniumPropertiesT &&value)
TestGridSession & WithEnded(EndedT &&value)
TestGridSession & WithStatus(TestGridSessionStatus value)
const Aws::Utils::DateTime & GetEnded() const
TestGridSession & WithCreated(CreatedT &&value)
TestGridSession & WithArn(ArnT &&value)
const Aws::String & GetArn() const
const Aws::String & GetSeleniumProperties() const
void SetStatus(TestGridSessionStatus value)
AWS_DEVICEFARM_API TestGridSession & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreated() const
TestGridSessionStatus GetStatus() const
AWS_DEVICEFARM_API TestGridSession()=default
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVICEFARM_API TestGridSession(Aws::Utils::Json::JsonView jsonValue)
TestGridSession & WithBillingMinutes(double value)
void SetSeleniumProperties(SeleniumPropertiesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue