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;
65 inline void SetNextToken(
const char* value) { m_nextToken.assign(value); }
76 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
ListAgentsResult & WithRequestId(Aws::String &&value)
void SetNextToken(Aws::String &&value)
void SetRequestId(const char *value)
const Aws::Vector< AgentListEntry > & GetAgents() const
void SetAgents(Aws::Vector< AgentListEntry > &&value)
void SetNextToken(const char *value)
AWS_DATASYNC_API ListAgentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextToken(const Aws::String &value)
ListAgentsResult & WithRequestId(const char *value)
ListAgentsResult & WithNextToken(const char *value)
ListAgentsResult & AddAgents(AgentListEntry &&value)
void SetRequestId(const Aws::String &value)
AWS_DATASYNC_API ListAgentsResult()
ListAgentsResult & WithAgents(const Aws::Vector< AgentListEntry > &value)
void SetAgents(const Aws::Vector< AgentListEntry > &value)
ListAgentsResult & AddAgents(const AgentListEntry &value)
ListAgentsResult & WithNextToken(Aws::String &&value)
const Aws::String & GetNextToken() const
ListAgentsResult & WithNextToken(const Aws::String &value)
ListAgentsResult & WithRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
void SetRequestId(Aws::String &&value)
ListAgentsResult & WithAgents(Aws::Vector< AgentListEntry > &&value)
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