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/datasync/DataSync_EXPORTS.h>
11#include <aws/datasync/model/AgentListEntry.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
44 template <
typename AgentsT = Aws::Vector<AgentListEntry>>
46 m_agentsHasBeenSet =
true;
47 m_agents = std::forward<AgentsT>(value);
49 template <
typename AgentsT = Aws::Vector<AgentListEntry>>
54 template <
typename AgentsT = AgentListEntry>
56 m_agentsHasBeenSet =
true;
57 m_agents.emplace_back(std::forward<AgentsT>(value));
68 template <
typename NextTokenT = Aws::String>
70 m_nextTokenHasBeenSet =
true;
71 m_nextToken = std::forward<NextTokenT>(value);
73 template <
typename NextTokenT = Aws::String>
83 template <
typename RequestIdT = Aws::String>
85 m_requestIdHasBeenSet =
true;
86 m_requestId = std::forward<RequestIdT>(value);
88 template <
typename RequestIdT = Aws::String>
103 bool m_agentsHasBeenSet =
false;
104 bool m_nextTokenHasBeenSet =
false;
105 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
const Aws::Vector< AgentListEntry > & GetAgents() const
AWS_DATASYNC_API ListAgentsResult()=default
ListAgentsResult & AddAgents(AgentsT &&value)
AWS_DATASYNC_API ListAgentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ListAgentsResult & WithAgents(AgentsT &&value)
ListAgentsResult & WithRequestId(RequestIdT &&value)
void SetAgents(AgentsT &&value)
void SetNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
ListAgentsResult & WithNextToken(NextTokenT &&value)
const Aws::String & GetRequestId() const
AWS_DATASYNC_API ListAgentsResult & 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