AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline TestGridSession& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline TestGridSession& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline TestGridSession& WithArn(const char* value) { SetArn(value); return *this;}
57
59
62 inline const TestGridSessionStatus& GetStatus() const{ return m_status; }
63 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
64 inline void SetStatus(const TestGridSessionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
65 inline void SetStatus(TestGridSessionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
66 inline TestGridSession& WithStatus(const TestGridSessionStatus& value) { SetStatus(value); return *this;}
67 inline TestGridSession& WithStatus(TestGridSessionStatus&& value) { SetStatus(std::move(value)); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
75 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
76 inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
77 inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
78 inline TestGridSession& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
79 inline TestGridSession& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetEnded() const{ return m_ended; }
87 inline bool EndedHasBeenSet() const { return m_endedHasBeenSet; }
88 inline void SetEnded(const Aws::Utils::DateTime& value) { m_endedHasBeenSet = true; m_ended = value; }
89 inline void SetEnded(Aws::Utils::DateTime&& value) { m_endedHasBeenSet = true; m_ended = std::move(value); }
90 inline TestGridSession& WithEnded(const Aws::Utils::DateTime& value) { SetEnded(value); return *this;}
91 inline TestGridSession& WithEnded(Aws::Utils::DateTime&& value) { SetEnded(std::move(value)); return *this;}
93
95
98 inline double GetBillingMinutes() const{ return m_billingMinutes; }
99 inline bool BillingMinutesHasBeenSet() const { return m_billingMinutesHasBeenSet; }
100 inline void SetBillingMinutes(double value) { m_billingMinutesHasBeenSet = true; m_billingMinutes = value; }
101 inline TestGridSession& WithBillingMinutes(double value) { SetBillingMinutes(value); return *this;}
103
105
108 inline const Aws::String& GetSeleniumProperties() const{ return m_seleniumProperties; }
109 inline bool SeleniumPropertiesHasBeenSet() const { return m_seleniumPropertiesHasBeenSet; }
110 inline void SetSeleniumProperties(const Aws::String& value) { m_seleniumPropertiesHasBeenSet = true; m_seleniumProperties = value; }
111 inline void SetSeleniumProperties(Aws::String&& value) { m_seleniumPropertiesHasBeenSet = true; m_seleniumProperties = std::move(value); }
112 inline void SetSeleniumProperties(const char* value) { m_seleniumPropertiesHasBeenSet = true; m_seleniumProperties.assign(value); }
113 inline TestGridSession& WithSeleniumProperties(const Aws::String& value) { SetSeleniumProperties(value); return *this;}
114 inline TestGridSession& WithSeleniumProperties(Aws::String&& value) { SetSeleniumProperties(std::move(value)); return *this;}
115 inline TestGridSession& WithSeleniumProperties(const char* value) { SetSeleniumProperties(value); return *this;}
117 private:
118
119 Aws::String m_arn;
120 bool m_arnHasBeenSet = false;
121
122 TestGridSessionStatus m_status;
123 bool m_statusHasBeenSet = false;
124
125 Aws::Utils::DateTime m_created;
126 bool m_createdHasBeenSet = false;
127
128 Aws::Utils::DateTime m_ended;
129 bool m_endedHasBeenSet = false;
130
131 double m_billingMinutes;
132 bool m_billingMinutesHasBeenSet = false;
133
134 Aws::String m_seleniumProperties;
135 bool m_seleniumPropertiesHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace DeviceFarm
140} // namespace Aws
TestGridSession & WithSeleniumProperties(const Aws::String &value)
TestGridSession & WithArn(Aws::String &&value)
void SetSeleniumProperties(const char *value)
void SetCreated(const Aws::Utils::DateTime &value)
TestGridSession & WithSeleniumProperties(Aws::String &&value)
TestGridSession & WithArn(const Aws::String &value)
const Aws::Utils::DateTime & GetEnded() const
void SetStatus(TestGridSessionStatus &&value)
void SetSeleniumProperties(Aws::String &&value)
const Aws::String & GetArn() const
TestGridSession & WithEnded(Aws::Utils::DateTime &&value)
const Aws::String & GetSeleniumProperties() const
const TestGridSessionStatus & GetStatus() const
TestGridSession & WithStatus(const TestGridSessionStatus &value)
AWS_DEVICEFARM_API TestGridSession & operator=(Aws::Utils::Json::JsonView jsonValue)
TestGridSession & WithStatus(TestGridSessionStatus &&value)
const Aws::Utils::DateTime & GetCreated() const
void SetEnded(const Aws::Utils::DateTime &value)
void SetArn(const Aws::String &value)
TestGridSession & WithCreated(Aws::Utils::DateTime &&value)
void SetStatus(const TestGridSessionStatus &value)
void SetEnded(Aws::Utils::DateTime &&value)
TestGridSession & WithSeleniumProperties(const char *value)
void SetSeleniumProperties(const Aws::String &value)
TestGridSession & WithArn(const char *value)
TestGridSession & WithCreated(const Aws::Utils::DateTime &value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreated(Aws::Utils::DateTime &&value)
AWS_DEVICEFARM_API TestGridSession(Aws::Utils::Json::JsonView jsonValue)
TestGridSession & WithBillingMinutes(double value)
TestGridSession & WithEnded(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue