AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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 template<typename NodeIDT = Aws::String>
43 void SetNodeID(NodeIDT&& value) { m_nodeIDHasBeenSet = true; m_nodeID = std::forward<NodeIDT>(value); }
44 template<typename NodeIDT = Aws::String>
45 RegisterComputeNodeGroupInstanceResult& WithNodeID(NodeIDT&& value) { SetNodeID(std::forward<NodeIDT>(value)); return *this;}
47
49
53 inline const Aws::String& GetSharedSecret() const { return m_sharedSecret; }
54 template<typename SharedSecretT = Aws::String>
55 void SetSharedSecret(SharedSecretT&& value) { m_sharedSecretHasBeenSet = true; m_sharedSecret = std::forward<SharedSecretT>(value); }
56 template<typename SharedSecretT = Aws::String>
57 RegisterComputeNodeGroupInstanceResult& WithSharedSecret(SharedSecretT&& value) { SetSharedSecret(std::forward<SharedSecretT>(value)); return *this;}
59
61
64 inline const Aws::Vector<Endpoint>& GetEndpoints() const { return m_endpoints; }
65 template<typename EndpointsT = Aws::Vector<Endpoint>>
66 void SetEndpoints(EndpointsT&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::forward<EndpointsT>(value); }
67 template<typename EndpointsT = Aws::Vector<Endpoint>>
68 RegisterComputeNodeGroupInstanceResult& WithEndpoints(EndpointsT&& value) { SetEndpoints(std::forward<EndpointsT>(value)); return *this;}
69 template<typename EndpointsT = Endpoint>
70 RegisterComputeNodeGroupInstanceResult& AddEndpoints(EndpointsT&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace_back(std::forward<EndpointsT>(value)); return *this; }
72
74
75 inline const Aws::String& GetRequestId() const { return m_requestId; }
76 template<typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
78 template<typename RequestIdT = Aws::String>
79 RegisterComputeNodeGroupInstanceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
81 private:
82
83 Aws::String m_nodeID;
84 bool m_nodeIDHasBeenSet = false;
85
86 Aws::String m_sharedSecret;
87 bool m_sharedSecretHasBeenSet = false;
88
89 Aws::Vector<Endpoint> m_endpoints;
90 bool m_endpointsHasBeenSet = false;
91
92 Aws::String m_requestId;
93 bool m_requestIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace PCS
98} // namespace Aws
RegisterComputeNodeGroupInstanceResult & AddEndpoints(EndpointsT &&value)
AWS_PCS_API RegisterComputeNodeGroupInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterComputeNodeGroupInstanceResult & WithSharedSecret(SharedSecretT &&value)
RegisterComputeNodeGroupInstanceResult & WithNodeID(NodeIDT &&value)
RegisterComputeNodeGroupInstanceResult & WithEndpoints(EndpointsT &&value)
AWS_PCS_API RegisterComputeNodeGroupInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterComputeNodeGroupInstanceResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue