AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateVirtualClusterResult.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 CreateVirtualClusterResult();
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 CreateVirtualClusterResult& WithId(const Aws::String& value) { SetId(value); return *this;}
44 inline CreateVirtualClusterResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
45 inline CreateVirtualClusterResult& 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 CreateVirtualClusterResult& WithName(const Aws::String& value) { SetName(value); return *this;}
57 inline CreateVirtualClusterResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
58 inline CreateVirtualClusterResult& 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 CreateVirtualClusterResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
70 inline CreateVirtualClusterResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
71 inline CreateVirtualClusterResult& WithArn(const char* value) { SetArn(value); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline CreateVirtualClusterResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline CreateVirtualClusterResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline CreateVirtualClusterResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::String m_id;
87
88 Aws::String m_name;
89
90 Aws::String m_arn;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace EMRContainers
97} // namespace Aws
CreateVirtualClusterResult & WithName(const Aws::String &value)
CreateVirtualClusterResult & WithId(const char *value)
CreateVirtualClusterResult & WithRequestId(Aws::String &&value)
CreateVirtualClusterResult & WithRequestId(const Aws::String &value)
CreateVirtualClusterResult & WithName(Aws::String &&value)
CreateVirtualClusterResult & WithArn(const char *value)
CreateVirtualClusterResult & WithId(const Aws::String &value)
CreateVirtualClusterResult & WithName(const char *value)
CreateVirtualClusterResult & WithArn(Aws::String &&value)
CreateVirtualClusterResult & WithRequestId(const char *value)
AWS_EMRCONTAINERS_API CreateVirtualClusterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateVirtualClusterResult & WithId(Aws::String &&value)
AWS_EMRCONTAINERS_API CreateVirtualClusterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateVirtualClusterResult & WithArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue