AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegisterComputeNodeGroupInstanceResult.h
1
6#pragma once
7#include <aws/pcs/PCS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pcs/model/Endpoint.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace PCS
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::String& GetNodeID() const{ return m_nodeID; }
42 inline void SetNodeID(const Aws::String& value) { m_nodeID = value; }
43 inline void SetNodeID(Aws::String&& value) { m_nodeID = std::move(value); }
44 inline void SetNodeID(const char* value) { m_nodeID.assign(value); }
45 inline RegisterComputeNodeGroupInstanceResult& WithNodeID(const Aws::String& value) { SetNodeID(value); return *this;}
46 inline RegisterComputeNodeGroupInstanceResult& WithNodeID(Aws::String&& value) { SetNodeID(std::move(value)); return *this;}
47 inline RegisterComputeNodeGroupInstanceResult& WithNodeID(const char* value) { SetNodeID(value); return *this;}
49
51
55 inline const Aws::String& GetSharedSecret() const{ return m_sharedSecret; }
56 inline void SetSharedSecret(const Aws::String& value) { m_sharedSecret = value; }
57 inline void SetSharedSecret(Aws::String&& value) { m_sharedSecret = std::move(value); }
58 inline void SetSharedSecret(const char* value) { m_sharedSecret.assign(value); }
60 inline RegisterComputeNodeGroupInstanceResult& WithSharedSecret(Aws::String&& value) { SetSharedSecret(std::move(value)); return *this;}
61 inline RegisterComputeNodeGroupInstanceResult& WithSharedSecret(const char* value) { SetSharedSecret(value); return *this;}
63
65
68 inline const Aws::Vector<Endpoint>& GetEndpoints() const{ return m_endpoints; }
69 inline void SetEndpoints(const Aws::Vector<Endpoint>& value) { m_endpoints = value; }
70 inline void SetEndpoints(Aws::Vector<Endpoint>&& value) { m_endpoints = std::move(value); }
73 inline RegisterComputeNodeGroupInstanceResult& AddEndpoints(const Endpoint& value) { m_endpoints.push_back(value); return *this; }
74 inline RegisterComputeNodeGroupInstanceResult& AddEndpoints(Endpoint&& value) { m_endpoints.push_back(std::move(value)); return *this; }
76
78
79 inline const Aws::String& GetRequestId() const{ return m_requestId; }
80 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
81 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
82 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
84 inline RegisterComputeNodeGroupInstanceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline RegisterComputeNodeGroupInstanceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87 private:
88
89 Aws::String m_nodeID;
90
91 Aws::String m_sharedSecret;
92
93 Aws::Vector<Endpoint> m_endpoints;
94
95 Aws::String m_requestId;
96 };
97
98} // namespace Model
99} // namespace PCS
100} // namespace Aws
RegisterComputeNodeGroupInstanceResult & AddEndpoints(const Endpoint &value)
RegisterComputeNodeGroupInstanceResult & WithSharedSecret(Aws::String &&value)
RegisterComputeNodeGroupInstanceResult & WithSharedSecret(const Aws::String &value)
AWS_PCS_API RegisterComputeNodeGroupInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterComputeNodeGroupInstanceResult & WithNodeID(const char *value)
RegisterComputeNodeGroupInstanceResult & AddEndpoints(Endpoint &&value)
RegisterComputeNodeGroupInstanceResult & WithNodeID(const Aws::String &value)
RegisterComputeNodeGroupInstanceResult & WithRequestId(const char *value)
RegisterComputeNodeGroupInstanceResult & WithNodeID(Aws::String &&value)
RegisterComputeNodeGroupInstanceResult & WithEndpoints(const Aws::Vector< Endpoint > &value)
RegisterComputeNodeGroupInstanceResult & WithEndpoints(Aws::Vector< Endpoint > &&value)
RegisterComputeNodeGroupInstanceResult & WithSharedSecret(const char *value)
RegisterComputeNodeGroupInstanceResult & WithRequestId(Aws::String &&value)
RegisterComputeNodeGroupInstanceResult & WithRequestId(const Aws::String &value)
AWS_PCS_API RegisterComputeNodeGroupInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue