7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datasync/model/AgentListEntry.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
49 template<
typename AgentsT = Aws::Vector<AgentListEntry>>
50 void SetAgents(AgentsT&& value) { m_agentsHasBeenSet =
true; m_agents = std::forward<AgentsT>(value); }
51 template<
typename AgentsT = Aws::Vector<AgentListEntry>>
53 template<
typename AgentsT = AgentListEntry>
54 ListAgentsResult&
AddAgents(AgentsT&& value) { m_agentsHasBeenSet =
true; m_agents.emplace_back(std::forward<AgentsT>(value));
return *
this; }
63 template<
typename NextTokenT = Aws::String>
64 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
65 template<
typename NextTokenT = Aws::String>
72 template<
typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
74 template<
typename RequestIdT = Aws::String>
80 bool m_agentsHasBeenSet =
false;
83 bool m_nextTokenHasBeenSet =
false;
86 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)
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