AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartJobRunResult.h
1
6#pragma once
7#include <aws/emr-containers/EMRContainers_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 EMRContainers
24{
25namespace Model
26{
28 {
29 public:
30 AWS_EMRCONTAINERS_API StartJobRunResult();
33
34
36
39 inline const Aws::String& GetId() const{ return m_id; }
40 inline void SetId(const Aws::String& value) { m_id = value; }
41 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
42 inline void SetId(const char* value) { m_id.assign(value); }
43 inline StartJobRunResult& WithId(const Aws::String& value) { SetId(value); return *this;}
44 inline StartJobRunResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
45 inline StartJobRunResult& WithId(const char* value) { SetId(value); return *this;}
47
49
52 inline const Aws::String& GetName() const{ return m_name; }
53 inline void SetName(const Aws::String& value) { m_name = value; }
54 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
55 inline void SetName(const char* value) { m_name.assign(value); }
56 inline StartJobRunResult& WithName(const Aws::String& value) { SetName(value); return *this;}
57 inline StartJobRunResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
58 inline StartJobRunResult& WithName(const char* value) { SetName(value); return *this;}
60
62
65 inline const Aws::String& GetArn() const{ return m_arn; }
66 inline void SetArn(const Aws::String& value) { m_arn = value; }
67 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
68 inline void SetArn(const char* value) { m_arn.assign(value); }
69 inline StartJobRunResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
70 inline StartJobRunResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
71 inline StartJobRunResult& WithArn(const char* value) { SetArn(value); return *this;}
73
75
79 inline const Aws::String& GetVirtualClusterId() const{ return m_virtualClusterId; }
80 inline void SetVirtualClusterId(const Aws::String& value) { m_virtualClusterId = value; }
81 inline void SetVirtualClusterId(Aws::String&& value) { m_virtualClusterId = std::move(value); }
82 inline void SetVirtualClusterId(const char* value) { m_virtualClusterId.assign(value); }
83 inline StartJobRunResult& WithVirtualClusterId(const Aws::String& value) { SetVirtualClusterId(value); return *this;}
84 inline StartJobRunResult& WithVirtualClusterId(Aws::String&& value) { SetVirtualClusterId(std::move(value)); return *this;}
85 inline StartJobRunResult& WithVirtualClusterId(const char* value) { SetVirtualClusterId(value); return *this;}
87
89
90 inline const Aws::String& GetRequestId() const{ return m_requestId; }
91 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
92 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
93 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
94 inline StartJobRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
95 inline StartJobRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
96 inline StartJobRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
98 private:
99
100 Aws::String m_id;
101
102 Aws::String m_name;
103
104 Aws::String m_arn;
105
106 Aws::String m_virtualClusterId;
107
108 Aws::String m_requestId;
109 };
110
111} // namespace Model
112} // namespace EMRContainers
113} // namespace Aws
const Aws::String & GetVirtualClusterId() const
StartJobRunResult & WithVirtualClusterId(const Aws::String &value)
AWS_EMRCONTAINERS_API StartJobRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartJobRunResult & WithName(const char *value)
StartJobRunResult & WithRequestId(const char *value)
StartJobRunResult & WithId(const char *value)
StartJobRunResult & WithArn(const Aws::String &value)
StartJobRunResult & WithVirtualClusterId(Aws::String &&value)
StartJobRunResult & WithArn(const char *value)
AWS_EMRCONTAINERS_API StartJobRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetVirtualClusterId(const Aws::String &value)
StartJobRunResult & WithArn(Aws::String &&value)
StartJobRunResult & WithId(const Aws::String &value)
StartJobRunResult & WithId(Aws::String &&value)
StartJobRunResult & WithName(const Aws::String &value)
StartJobRunResult & WithName(Aws::String &&value)
StartJobRunResult & WithRequestId(const Aws::String &value)
StartJobRunResult & WithVirtualClusterId(const char *value)
StartJobRunResult & WithRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue