AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
RegisterJobDefinitionResult.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Batch {
23namespace Model {
25 public:
26 AWS_BATCH_API RegisterJobDefinitionResult() = default;
29
31
34 inline const Aws::String& GetJobDefinitionName() const { return m_jobDefinitionName; }
35 template <typename JobDefinitionNameT = Aws::String>
36 void SetJobDefinitionName(JobDefinitionNameT&& value) {
37 m_jobDefinitionNameHasBeenSet = true;
38 m_jobDefinitionName = std::forward<JobDefinitionNameT>(value);
39 }
40 template <typename JobDefinitionNameT = Aws::String>
42 SetJobDefinitionName(std::forward<JobDefinitionNameT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetJobDefinitionArn() const { return m_jobDefinitionArn; }
52 template <typename JobDefinitionArnT = Aws::String>
53 void SetJobDefinitionArn(JobDefinitionArnT&& value) {
54 m_jobDefinitionArnHasBeenSet = true;
55 m_jobDefinitionArn = std::forward<JobDefinitionArnT>(value);
56 }
57 template <typename JobDefinitionArnT = Aws::String>
59 SetJobDefinitionArn(std::forward<JobDefinitionArnT>(value));
60 return *this;
61 }
63
65
68 inline int GetRevision() const { return m_revision; }
69 inline void SetRevision(int value) {
70 m_revisionHasBeenSet = true;
71 m_revision = value;
72 }
74 SetRevision(value);
75 return *this;
76 }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template <typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) {
84 m_requestIdHasBeenSet = true;
85 m_requestId = std::forward<RequestIdT>(value);
86 }
87 template <typename RequestIdT = Aws::String>
89 SetRequestId(std::forward<RequestIdT>(value));
90 return *this;
91 }
93 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
94
95 private:
96 Aws::String m_jobDefinitionName;
97
98 Aws::String m_jobDefinitionArn;
99
100 int m_revision{0};
101
102 Aws::String m_requestId;
103 Aws::Http::HttpResponseCode m_HttpResponseCode;
104 bool m_jobDefinitionNameHasBeenSet = false;
105 bool m_jobDefinitionArnHasBeenSet = false;
106 bool m_revisionHasBeenSet = false;
107 bool m_requestIdHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace Batch
112} // namespace Aws
RegisterJobDefinitionResult & WithJobDefinitionArn(JobDefinitionArnT &&value)
AWS_BATCH_API RegisterJobDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
RegisterJobDefinitionResult & WithRevision(int value)
RegisterJobDefinitionResult & WithJobDefinitionName(JobDefinitionNameT &&value)
AWS_BATCH_API RegisterJobDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterJobDefinitionResult & WithRequestId(RequestIdT &&value)
AWS_BATCH_API RegisterJobDefinitionResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue