7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
10#include <aws/servicediscovery/model/ServiceSummary.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace ServiceDiscovery {
37 template <
typename ServicesT = Aws::Vector<ServiceSummary>>
39 m_servicesHasBeenSet =
true;
40 m_services = std::forward<ServicesT>(value);
42 template <
typename ServicesT = Aws::Vector<ServiceSummary>>
47 template <
typename ServicesT = ServiceSummary>
49 m_servicesHasBeenSet =
true;
50 m_services.emplace_back(std::forward<ServicesT>(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_servicesHasBeenSet =
false;
100 bool m_nextTokenHasBeenSet =
false;
101 bool m_requestIdHasBeenSet =
false;
AWS_SERVICEDISCOVERY_API ListServicesResult()=default
ListServicesResult & WithNextToken(NextTokenT &&value)
AWS_SERVICEDISCOVERY_API ListServicesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
ListServicesResult & AddServices(ServicesT &&value)
const Aws::Vector< ServiceSummary > & GetServices() const
void SetServices(ServicesT &&value)
const Aws::String & GetNextToken() const
void SetNextToken(NextTokenT &&value)
AWS_SERVICEDISCOVERY_API ListServicesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListServicesResult & WithServices(ServicesT &&value)
ListServicesResult & WithRequestId(RequestIdT &&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