7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datasync/DataSync_EXPORTS.h>
10#include <aws/datasync/model/AgentListEntry.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
43 template <
typename AgentsT = Aws::Vector<AgentListEntry>>
45 m_agentsHasBeenSet =
true;
46 m_agents = std::forward<AgentsT>(value);
48 template <
typename AgentsT = Aws::Vector<AgentListEntry>>
53 template <
typename AgentsT = AgentListEntry>
55 m_agentsHasBeenSet =
true;
56 m_agents.emplace_back(std::forward<AgentsT>(value));
67 template <
typename NextTokenT = Aws::String>
69 m_nextTokenHasBeenSet =
true;
70 m_nextToken = std::forward<NextTokenT>(value);
72 template <
typename NextTokenT = Aws::String>
82 template <
typename RequestIdT = Aws::String>
84 m_requestIdHasBeenSet =
true;
85 m_requestId = std::forward<RequestIdT>(value);
87 template <
typename RequestIdT = Aws::String>
99 bool m_agentsHasBeenSet =
false;
100 bool m_nextTokenHasBeenSet =
false;
101 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