AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
BatchGetDevEndpointsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/DevEndpoint.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Glue {
24namespace Model {
26 public:
27 AWS_GLUE_API BatchGetDevEndpointsResult() = default;
30
32
35 inline const Aws::Vector<DevEndpoint>& GetDevEndpoints() const { return m_devEndpoints; }
36 template <typename DevEndpointsT = Aws::Vector<DevEndpoint>>
37 void SetDevEndpoints(DevEndpointsT&& value) {
38 m_devEndpointsHasBeenSet = true;
39 m_devEndpoints = std::forward<DevEndpointsT>(value);
40 }
41 template <typename DevEndpointsT = Aws::Vector<DevEndpoint>>
43 SetDevEndpoints(std::forward<DevEndpointsT>(value));
44 return *this;
45 }
46 template <typename DevEndpointsT = DevEndpoint>
48 m_devEndpointsHasBeenSet = true;
49 m_devEndpoints.emplace_back(std::forward<DevEndpointsT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<Aws::String>& GetDevEndpointsNotFound() const { return m_devEndpointsNotFound; }
59 template <typename DevEndpointsNotFoundT = Aws::Vector<Aws::String>>
60 void SetDevEndpointsNotFound(DevEndpointsNotFoundT&& value) {
61 m_devEndpointsNotFoundHasBeenSet = true;
62 m_devEndpointsNotFound = std::forward<DevEndpointsNotFoundT>(value);
63 }
64 template <typename DevEndpointsNotFoundT = Aws::Vector<Aws::String>>
65 BatchGetDevEndpointsResult& WithDevEndpointsNotFound(DevEndpointsNotFoundT&& value) {
66 SetDevEndpointsNotFound(std::forward<DevEndpointsNotFoundT>(value));
67 return *this;
68 }
69 template <typename DevEndpointsNotFoundT = Aws::String>
70 BatchGetDevEndpointsResult& AddDevEndpointsNotFound(DevEndpointsNotFoundT&& value) {
71 m_devEndpointsNotFoundHasBeenSet = true;
72 m_devEndpointsNotFound.emplace_back(std::forward<DevEndpointsNotFoundT>(value));
73 return *this;
74 }
76
78
79 inline const Aws::String& GetRequestId() const { return m_requestId; }
80 template <typename RequestIdT = Aws::String>
81 void SetRequestId(RequestIdT&& value) {
82 m_requestIdHasBeenSet = true;
83 m_requestId = std::forward<RequestIdT>(value);
84 }
85 template <typename RequestIdT = Aws::String>
87 SetRequestId(std::forward<RequestIdT>(value));
88 return *this;
89 }
91 private:
92 Aws::Vector<DevEndpoint> m_devEndpoints;
93
94 Aws::Vector<Aws::String> m_devEndpointsNotFound;
95
96 Aws::String m_requestId;
97 bool m_devEndpointsHasBeenSet = false;
98 bool m_devEndpointsNotFoundHasBeenSet = false;
99 bool m_requestIdHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Glue
104} // namespace Aws
AWS_GLUE_API BatchGetDevEndpointsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GLUE_API BatchGetDevEndpointsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetDevEndpointsResult & WithRequestId(RequestIdT &&value)
BatchGetDevEndpointsResult & WithDevEndpointsNotFound(DevEndpointsNotFoundT &&value)
AWS_GLUE_API BatchGetDevEndpointsResult()=default
const Aws::Vector< DevEndpoint > & GetDevEndpoints() const
BatchGetDevEndpointsResult & AddDevEndpoints(DevEndpointsT &&value)
BatchGetDevEndpointsResult & WithDevEndpoints(DevEndpointsT &&value)
void SetDevEndpointsNotFound(DevEndpointsNotFoundT &&value)
BatchGetDevEndpointsResult & AddDevEndpointsNotFound(DevEndpointsNotFoundT &&value)
const Aws::Vector< Aws::String > & GetDevEndpointsNotFound() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue