AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
BatchGetAgentSpacesResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityagent/SecurityAgent_EXPORTS.h>
11#include <aws/securityagent/model/AgentSpace.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SecurityAgent {
25namespace Model {
32 public:
33 AWS_SECURITYAGENT_API BatchGetAgentSpacesResult() = default;
36
38
41 inline const Aws::Vector<AgentSpace>& GetAgentSpaces() const { return m_agentSpaces; }
42 template <typename AgentSpacesT = Aws::Vector<AgentSpace>>
43 void SetAgentSpaces(AgentSpacesT&& value) {
44 m_agentSpacesHasBeenSet = true;
45 m_agentSpaces = std::forward<AgentSpacesT>(value);
46 }
47 template <typename AgentSpacesT = Aws::Vector<AgentSpace>>
49 SetAgentSpaces(std::forward<AgentSpacesT>(value));
50 return *this;
51 }
52 template <typename AgentSpacesT = AgentSpace>
54 m_agentSpacesHasBeenSet = true;
55 m_agentSpaces.emplace_back(std::forward<AgentSpacesT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::Vector<Aws::String>& GetNotFound() const { return m_notFound; }
65 template <typename NotFoundT = Aws::Vector<Aws::String>>
66 void SetNotFound(NotFoundT&& value) {
67 m_notFoundHasBeenSet = true;
68 m_notFound = std::forward<NotFoundT>(value);
69 }
70 template <typename NotFoundT = Aws::Vector<Aws::String>>
72 SetNotFound(std::forward<NotFoundT>(value));
73 return *this;
74 }
75 template <typename NotFoundT = Aws::String>
77 m_notFoundHasBeenSet = true;
78 m_notFound.emplace_back(std::forward<NotFoundT>(value));
79 return *this;
80 }
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template <typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) {
88 m_requestIdHasBeenSet = true;
89 m_requestId = std::forward<RequestIdT>(value);
90 }
91 template <typename RequestIdT = Aws::String>
93 SetRequestId(std::forward<RequestIdT>(value));
94 return *this;
95 }
97 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
98
99 private:
100 Aws::Vector<AgentSpace> m_agentSpaces;
101
102 Aws::Vector<Aws::String> m_notFound;
103
104 Aws::String m_requestId;
105 Aws::Http::HttpResponseCode m_HttpResponseCode;
106 bool m_agentSpacesHasBeenSet = false;
107 bool m_notFoundHasBeenSet = false;
108 bool m_requestIdHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace SecurityAgent
113} // namespace Aws
AWS_SECURITYAGENT_API BatchGetAgentSpacesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetAgentSpacesResult & AddAgentSpaces(AgentSpacesT &&value)
BatchGetAgentSpacesResult & WithAgentSpaces(AgentSpacesT &&value)
BatchGetAgentSpacesResult & WithRequestId(RequestIdT &&value)
BatchGetAgentSpacesResult & AddNotFound(NotFoundT &&value)
const Aws::Vector< AgentSpace > & GetAgentSpaces() const
AWS_SECURITYAGENT_API BatchGetAgentSpacesResult()=default
AWS_SECURITYAGENT_API BatchGetAgentSpacesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetNotFound() const
BatchGetAgentSpacesResult & WithNotFound(NotFoundT &&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