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/InstanceSummary.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace ServiceDiscovery {
38 template <
typename ResourceOwnerT = Aws::String>
40 m_resourceOwnerHasBeenSet =
true;
41 m_resourceOwner = std::forward<ResourceOwnerT>(value);
43 template <
typename ResourceOwnerT = Aws::String>
56 template <
typename InstancesT = Aws::Vector<InstanceSummary>>
58 m_instancesHasBeenSet =
true;
59 m_instances = std::forward<InstancesT>(value);
61 template <
typename InstancesT = Aws::Vector<InstanceSummary>>
66 template <
typename InstancesT = InstanceSummary>
68 m_instancesHasBeenSet =
true;
69 m_instances.emplace_back(std::forward<InstancesT>(value));
82 template <
typename NextTokenT = Aws::String>
84 m_nextTokenHasBeenSet =
true;
85 m_nextToken = std::forward<NextTokenT>(value);
87 template <
typename NextTokenT = Aws::String>
97 template <
typename RequestIdT = Aws::String>
99 m_requestIdHasBeenSet =
true;
100 m_requestId = std::forward<RequestIdT>(value);
102 template <
typename RequestIdT = Aws::String>
116 bool m_resourceOwnerHasBeenSet =
false;
117 bool m_instancesHasBeenSet =
false;
118 bool m_nextTokenHasBeenSet =
false;
119 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetNextToken() const
AWS_SERVICEDISCOVERY_API ListInstancesResult()=default
void SetNextToken(NextTokenT &&value)
void SetRequestId(RequestIdT &&value)
AWS_SERVICEDISCOVERY_API ListInstancesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListInstancesResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetResourceOwner() const
void SetInstances(InstancesT &&value)
void SetResourceOwner(ResourceOwnerT &&value)
ListInstancesResult & WithResourceOwner(ResourceOwnerT &&value)
ListInstancesResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< InstanceSummary > & GetInstances() const
ListInstancesResult & WithInstances(InstancesT &&value)
ListInstancesResult & AddInstances(InstancesT &&value)
AWS_SERVICEDISCOVERY_API ListInstancesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue