AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SubmitJobResult.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Batch
24{
25namespace Model
26{
28 {
29 public:
30 AWS_BATCH_API SubmitJobResult();
33
34
36
39 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
40 inline void SetJobArn(const Aws::String& value) { m_jobArn = value; }
41 inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); }
42 inline void SetJobArn(const char* value) { m_jobArn.assign(value); }
43 inline SubmitJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
44 inline SubmitJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
45 inline SubmitJobResult& WithJobArn(const char* value) { SetJobArn(value); return *this;}
47
49
52 inline const Aws::String& GetJobName() const{ return m_jobName; }
53 inline void SetJobName(const Aws::String& value) { m_jobName = value; }
54 inline void SetJobName(Aws::String&& value) { m_jobName = std::move(value); }
55 inline void SetJobName(const char* value) { m_jobName.assign(value); }
56 inline SubmitJobResult& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
57 inline SubmitJobResult& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
58 inline SubmitJobResult& WithJobName(const char* value) { SetJobName(value); return *this;}
60
62
65 inline const Aws::String& GetJobId() const{ return m_jobId; }
66 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
67 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
68 inline void SetJobId(const char* value) { m_jobId.assign(value); }
69 inline SubmitJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
70 inline SubmitJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
71 inline SubmitJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline SubmitJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline SubmitJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline SubmitJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::String m_jobArn;
87
88 Aws::String m_jobName;
89
90 Aws::String m_jobId;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace Batch
97} // namespace Aws
void SetJobName(const Aws::String &value)
SubmitJobResult & WithJobId(const char *value)
const Aws::String & GetJobName() const
SubmitJobResult & WithRequestId(const char *value)
SubmitJobResult & WithJobName(const Aws::String &value)
const Aws::String & GetRequestId() const
const Aws::String & GetJobArn() const
void SetJobArn(Aws::String &&value)
void SetJobArn(const char *value)
void SetJobName(const char *value)
AWS_BATCH_API SubmitJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SubmitJobResult & WithJobId(Aws::String &&value)
void SetJobArn(const Aws::String &value)
void SetRequestId(const char *value)
void SetJobId(Aws::String &&value)
SubmitJobResult & WithJobArn(const Aws::String &value)
AWS_BATCH_API SubmitJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SubmitJobResult & WithJobId(const Aws::String &value)
void SetRequestId(Aws::String &&value)
SubmitJobResult & WithJobName(const char *value)
SubmitJobResult & WithJobArn(const char *value)
SubmitJobResult & WithJobArn(Aws::String &&value)
SubmitJobResult & WithRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
void SetJobId(const Aws::String &value)
void SetJobName(Aws::String &&value)
const Aws::String & GetJobId() const
SubmitJobResult & WithRequestId(const Aws::String &value)
SubmitJobResult & WithJobName(Aws::String &&value)
void SetJobId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue