AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CancelJobRunResult.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 CancelJobRunResult();
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 CancelJobRunResult& WithId(const Aws::String& value) { SetId(value); return *this;}
44 inline CancelJobRunResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
45 inline CancelJobRunResult& WithId(const char* value) { SetId(value); return *this;}
47
49
53 inline const Aws::String& GetVirtualClusterId() const{ return m_virtualClusterId; }
54 inline void SetVirtualClusterId(const Aws::String& value) { m_virtualClusterId = value; }
55 inline void SetVirtualClusterId(Aws::String&& value) { m_virtualClusterId = std::move(value); }
56 inline void SetVirtualClusterId(const char* value) { m_virtualClusterId.assign(value); }
57 inline CancelJobRunResult& WithVirtualClusterId(const Aws::String& value) { SetVirtualClusterId(value); return *this;}
58 inline CancelJobRunResult& WithVirtualClusterId(Aws::String&& value) { SetVirtualClusterId(std::move(value)); return *this;}
59 inline CancelJobRunResult& WithVirtualClusterId(const char* value) { SetVirtualClusterId(value); return *this;}
61
63
64 inline const Aws::String& GetRequestId() const{ return m_requestId; }
65 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
66 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
67 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
68 inline CancelJobRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
69 inline CancelJobRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
70 inline CancelJobRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
72 private:
73
74 Aws::String m_id;
75
76 Aws::String m_virtualClusterId;
77
78 Aws::String m_requestId;
79 };
80
81} // namespace Model
82} // namespace EMRContainers
83} // namespace Aws
CancelJobRunResult & WithId(Aws::String &&value)
CancelJobRunResult & WithVirtualClusterId(const char *value)
CancelJobRunResult & WithVirtualClusterId(const Aws::String &value)
CancelJobRunResult & WithVirtualClusterId(Aws::String &&value)
CancelJobRunResult & WithRequestId(const Aws::String &value)
CancelJobRunResult & WithId(const char *value)
CancelJobRunResult & WithRequestId(const char *value)
void SetVirtualClusterId(const Aws::String &value)
AWS_EMRCONTAINERS_API CancelJobRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_EMRCONTAINERS_API CancelJobRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelJobRunResult & WithId(const Aws::String &value)
CancelJobRunResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue