AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
33
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 template<typename IdT = Aws::String>
41 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
42 template<typename IdT = Aws::String>
43 StartJobRunResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
45
47
50 inline const Aws::String& GetName() const { return m_name; }
51 template<typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
53 template<typename NameT = Aws::String>
54 StartJobRunResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
56
58
61 inline const Aws::String& GetArn() const { return m_arn; }
62 template<typename ArnT = Aws::String>
63 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
64 template<typename ArnT = Aws::String>
65 StartJobRunResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
67
69
73 inline const Aws::String& GetVirtualClusterId() const { return m_virtualClusterId; }
74 template<typename VirtualClusterIdT = Aws::String>
75 void SetVirtualClusterId(VirtualClusterIdT&& value) { m_virtualClusterIdHasBeenSet = true; m_virtualClusterId = std::forward<VirtualClusterIdT>(value); }
76 template<typename VirtualClusterIdT = Aws::String>
77 StartJobRunResult& WithVirtualClusterId(VirtualClusterIdT&& value) { SetVirtualClusterId(std::forward<VirtualClusterIdT>(value)); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template<typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
85 template<typename RequestIdT = Aws::String>
86 StartJobRunResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
88 private:
89
90 Aws::String m_id;
91 bool m_idHasBeenSet = false;
92
93 Aws::String m_name;
94 bool m_nameHasBeenSet = false;
95
96 Aws::String m_arn;
97 bool m_arnHasBeenSet = false;
98
99 Aws::String m_virtualClusterId;
100 bool m_virtualClusterIdHasBeenSet = false;
101
102 Aws::String m_requestId;
103 bool m_requestIdHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace EMRContainers
108} // namespace Aws
const Aws::String & GetVirtualClusterId() const
AWS_EMRCONTAINERS_API StartJobRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartJobRunResult & WithArn(ArnT &&value)
AWS_EMRCONTAINERS_API StartJobRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartJobRunResult & WithRequestId(RequestIdT &&value)
StartJobRunResult & WithVirtualClusterId(VirtualClusterIdT &&value)
StartJobRunResult & WithId(IdT &&value)
void SetVirtualClusterId(VirtualClusterIdT &&value)
AWS_EMRCONTAINERS_API StartJobRunResult()=default
StartJobRunResult & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue