AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateManagedEndpointResult.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 CreateManagedEndpointResult();
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 CreateManagedEndpointResult& WithId(const Aws::String& value) { SetId(value); return *this;}
44 inline CreateManagedEndpointResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
45 inline CreateManagedEndpointResult& 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 CreateManagedEndpointResult& WithName(const Aws::String& value) { SetName(value); return *this;}
57 inline CreateManagedEndpointResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
58 inline CreateManagedEndpointResult& 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 CreateManagedEndpointResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
70 inline CreateManagedEndpointResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
71 inline CreateManagedEndpointResult& WithArn(const char* value) { SetArn(value); return *this;}
73
75
78 inline const Aws::String& GetVirtualClusterId() const{ return m_virtualClusterId; }
79 inline void SetVirtualClusterId(const Aws::String& value) { m_virtualClusterId = value; }
80 inline void SetVirtualClusterId(Aws::String&& value) { m_virtualClusterId = std::move(value); }
81 inline void SetVirtualClusterId(const char* value) { m_virtualClusterId.assign(value); }
83 inline CreateManagedEndpointResult& WithVirtualClusterId(Aws::String&& value) { SetVirtualClusterId(std::move(value)); return *this;}
84 inline CreateManagedEndpointResult& WithVirtualClusterId(const char* value) { SetVirtualClusterId(value); return *this;}
86
88
89 inline const Aws::String& GetRequestId() const{ return m_requestId; }
90 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
91 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
92 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
93 inline CreateManagedEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
94 inline CreateManagedEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
95 inline CreateManagedEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
97 private:
98
99 Aws::String m_id;
100
101 Aws::String m_name;
102
103 Aws::String m_arn;
104
105 Aws::String m_virtualClusterId;
106
107 Aws::String m_requestId;
108 };
109
110} // namespace Model
111} // namespace EMRContainers
112} // namespace Aws
CreateManagedEndpointResult & WithVirtualClusterId(Aws::String &&value)
CreateManagedEndpointResult & WithVirtualClusterId(const Aws::String &value)
CreateManagedEndpointResult & WithRequestId(Aws::String &&value)
CreateManagedEndpointResult & WithName(const Aws::String &value)
CreateManagedEndpointResult & WithVirtualClusterId(const char *value)
CreateManagedEndpointResult & WithName(const char *value)
CreateManagedEndpointResult & WithArn(const Aws::String &value)
AWS_EMRCONTAINERS_API CreateManagedEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_EMRCONTAINERS_API CreateManagedEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateManagedEndpointResult & WithId(Aws::String &&value)
CreateManagedEndpointResult & WithArn(Aws::String &&value)
CreateManagedEndpointResult & WithArn(const char *value)
CreateManagedEndpointResult & WithRequestId(const Aws::String &value)
CreateManagedEndpointResult & WithId(const char *value)
CreateManagedEndpointResult & WithId(const Aws::String &value)
CreateManagedEndpointResult & WithName(Aws::String &&value)
CreateManagedEndpointResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue