AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetJobResult.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/devicefarm/model/Job.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DeviceFarm
25{
26namespace Model
27{
34 {
35 public:
36 AWS_DEVICEFARM_API GetJobResult();
39
40
42
45 inline const Job& GetJob() const{ return m_job; }
46 inline void SetJob(const Job& value) { m_job = value; }
47 inline void SetJob(Job&& value) { m_job = std::move(value); }
48 inline GetJobResult& WithJob(const Job& value) { SetJob(value); return *this;}
49 inline GetJobResult& WithJob(Job&& value) { SetJob(std::move(value)); return *this;}
51
53
54 inline const Aws::String& GetRequestId() const{ return m_requestId; }
55 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
56 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
57 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
58 inline GetJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
59 inline GetJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
60 inline GetJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
62 private:
63
64 Job m_job;
65
66 Aws::String m_requestId;
67 };
68
69} // namespace Model
70} // namespace DeviceFarm
71} // namespace Aws
void SetRequestId(const char *value)
GetJobResult & WithJob(Job &&value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
void SetRequestId(Aws::String &&value)
GetJobResult & WithJob(const Job &value)
AWS_DEVICEFARM_API GetJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetJobResult & WithRequestId(Aws::String &&value)
AWS_DEVICEFARM_API GetJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetJobResult & WithRequestId(const char *value)
GetJobResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue