7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
48 template<
typename ActionT = Aws::String>
49 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
50 template<
typename ActionT = Aws::String>
60 template<
typename StartedT = Aws::Utils::DateTime>
61 void SetStarted(StartedT&& value) { m_startedHasBeenSet =
true; m_started = std::forward<StartedT>(value); }
62 template<
typename StartedT = Aws::Utils::DateTime>
73 inline void SetDuration(
long long value) { m_durationHasBeenSet =
true; m_duration = value; }
83 template<
typename StatusCodeT = Aws::String>
84 void SetStatusCode(StatusCodeT&& value) { m_statusCodeHasBeenSet =
true; m_statusCode = std::forward<StatusCodeT>(value); }
85 template<
typename StatusCodeT = Aws::String>
95 template<
typename RequestMethodT = Aws::String>
96 void SetRequestMethod(RequestMethodT&& value) { m_requestMethodHasBeenSet =
true; m_requestMethod = std::forward<RequestMethodT>(value); }
97 template<
typename RequestMethodT = Aws::String>
103 bool m_actionHasBeenSet =
false;
106 bool m_startedHasBeenSet =
false;
108 long long m_duration{0};
109 bool m_durationHasBeenSet =
false;
112 bool m_statusCodeHasBeenSet =
false;
115 bool m_requestMethodHasBeenSet =
false;
TestGridSessionAction & WithDuration(long long value)
void SetStatusCode(StatusCodeT &&value)
TestGridSessionAction & WithRequestMethod(RequestMethodT &&value)
bool StatusCodeHasBeenSet() const
bool DurationHasBeenSet() const
AWS_DEVICEFARM_API TestGridSessionAction()=default
AWS_DEVICEFARM_API TestGridSessionAction(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStatusCode() const
TestGridSessionAction & WithAction(ActionT &&value)
AWS_DEVICEFARM_API TestGridSessionAction & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RequestMethodHasBeenSet() const
const Aws::String & GetAction() const
void SetDuration(long long value)
TestGridSessionAction & WithStatusCode(StatusCodeT &&value)
void SetStarted(StartedT &&value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetStarted() const
TestGridSessionAction & WithStarted(StartedT &&value)
long long GetDuration() const
bool ActionHasBeenSet() const
void SetRequestMethod(RequestMethodT &&value)
void SetAction(ActionT &&value)
const Aws::String & GetRequestMethod() const
bool StartedHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue