7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
50 inline void SetAction(
const char* value) { m_actionHasBeenSet =
true; m_action.assign(value); }
75 inline void SetDuration(
long long value) { m_durationHasBeenSet =
true; m_duration = value; }
87 inline void SetStatusCode(
const char* value) { m_statusCodeHasBeenSet =
true; m_statusCode.assign(value); }
101 inline void SetRequestMethod(
const char* value) { m_requestMethodHasBeenSet =
true; m_requestMethod.assign(value); }
109 bool m_actionHasBeenSet =
false;
112 bool m_startedHasBeenSet =
false;
114 long long m_duration;
115 bool m_durationHasBeenSet =
false;
118 bool m_statusCodeHasBeenSet =
false;
121 bool m_requestMethodHasBeenSet =
false;
TestGridSessionAction & WithStatusCode(Aws::String &&value)
void SetAction(const Aws::String &value)
void SetRequestMethod(Aws::String &&value)
TestGridSessionAction & WithDuration(long long value)
bool StatusCodeHasBeenSet() const
TestGridSessionAction & WithRequestMethod(Aws::String &&value)
bool DurationHasBeenSet() const
void SetStarted(const Aws::Utils::DateTime &value)
AWS_DEVICEFARM_API TestGridSessionAction(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStatusCode() const
TestGridSessionAction & WithStatusCode(const Aws::String &value)
AWS_DEVICEFARM_API TestGridSessionAction & operator=(Aws::Utils::Json::JsonView jsonValue)
TestGridSessionAction & WithAction(Aws::String &&value)
TestGridSessionAction & WithRequestMethod(const Aws::String &value)
bool RequestMethodHasBeenSet() const
const Aws::String & GetAction() const
void SetRequestMethod(const char *value)
void SetDuration(long long value)
void SetStatusCode(const char *value)
void SetAction(const char *value)
TestGridSessionAction & WithStarted(Aws::Utils::DateTime &&value)
void SetRequestMethod(const Aws::String &value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
TestGridSessionAction & WithRequestMethod(const char *value)
TestGridSessionAction & WithStarted(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStarted() const
TestGridSessionAction & WithAction(const char *value)
long long GetDuration() const
void SetStatusCode(Aws::String &&value)
void SetAction(Aws::String &&value)
AWS_DEVICEFARM_API TestGridSessionAction()
void SetStarted(Aws::Utils::DateTime &&value)
bool ActionHasBeenSet() const
TestGridSessionAction & WithStatusCode(const char *value)
TestGridSessionAction & WithAction(const Aws::String &value)
const Aws::String & GetRequestMethod() const
void SetStatusCode(const Aws::String &value)
bool StartedHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue