AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegisterJobDefinitionResult.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:
33
34
36
39 inline const Aws::String& GetJobDefinitionName() const{ return m_jobDefinitionName; }
40 inline void SetJobDefinitionName(const Aws::String& value) { m_jobDefinitionName = value; }
41 inline void SetJobDefinitionName(Aws::String&& value) { m_jobDefinitionName = std::move(value); }
42 inline void SetJobDefinitionName(const char* value) { m_jobDefinitionName.assign(value); }
44 inline RegisterJobDefinitionResult& WithJobDefinitionName(Aws::String&& value) { SetJobDefinitionName(std::move(value)); return *this;}
45 inline RegisterJobDefinitionResult& WithJobDefinitionName(const char* value) { SetJobDefinitionName(value); return *this;}
47
49
52 inline const Aws::String& GetJobDefinitionArn() const{ return m_jobDefinitionArn; }
53 inline void SetJobDefinitionArn(const Aws::String& value) { m_jobDefinitionArn = value; }
54 inline void SetJobDefinitionArn(Aws::String&& value) { m_jobDefinitionArn = std::move(value); }
55 inline void SetJobDefinitionArn(const char* value) { m_jobDefinitionArn.assign(value); }
57 inline RegisterJobDefinitionResult& WithJobDefinitionArn(Aws::String&& value) { SetJobDefinitionArn(std::move(value)); return *this;}
58 inline RegisterJobDefinitionResult& WithJobDefinitionArn(const char* value) { SetJobDefinitionArn(value); return *this;}
60
62
65 inline int GetRevision() const{ return m_revision; }
66 inline void SetRevision(int value) { m_revision = value; }
67 inline RegisterJobDefinitionResult& WithRevision(int value) { SetRevision(value); return *this;}
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
76 inline RegisterJobDefinitionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline RegisterJobDefinitionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline RegisterJobDefinitionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
82 Aws::String m_jobDefinitionName;
83
84 Aws::String m_jobDefinitionArn;
85
86 int m_revision;
87
88 Aws::String m_requestId;
89 };
90
91} // namespace Model
92} // namespace Batch
93} // namespace Aws
AWS_BATCH_API RegisterJobDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterJobDefinitionResult & WithJobDefinitionArn(const char *value)
RegisterJobDefinitionResult & WithJobDefinitionArn(const Aws::String &value)
RegisterJobDefinitionResult & WithJobDefinitionName(Aws::String &&value)
RegisterJobDefinitionResult & WithRevision(int value)
RegisterJobDefinitionResult & WithJobDefinitionArn(Aws::String &&value)
RegisterJobDefinitionResult & WithJobDefinitionName(const Aws::String &value)
RegisterJobDefinitionResult & WithRequestId(Aws::String &&value)
RegisterJobDefinitionResult & WithRequestId(const Aws::String &value)
AWS_BATCH_API RegisterJobDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterJobDefinitionResult & WithJobDefinitionName(const char *value)
RegisterJobDefinitionResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue