7#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/resource-groups/model/ListGroupResourcesItem.h>
11#include <aws/resource-groups/model/QueryError.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
26namespace ResourceGroups
44 template<
typename ResourcesT = Aws::Vector<ListGroupResourcesItem>>
45 void SetResources(ResourcesT&& value) { m_resourcesHasBeenSet =
true; m_resources = std::forward<ResourcesT>(value); }
46 template<
typename ResourcesT = Aws::Vector<ListGroupResourcesItem>>
48 template<
typename ResourcesT = ListGroupResourcesItem>
61 template<
typename NextTokenT = Aws::String>
62 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
63 template<
typename NextTokenT = Aws::String>
77 template<
typename QueryErrorsT = Aws::Vector<QueryError>>
78 void SetQueryErrors(QueryErrorsT&& value) { m_queryErrorsHasBeenSet =
true; m_queryErrors = std::forward<QueryErrorsT>(value); }
79 template<
typename QueryErrorsT = Aws::Vector<QueryError>>
81 template<
typename QueryErrorsT = QueryError>
88 template<
typename RequestIdT = Aws::String>
89 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
90 template<
typename RequestIdT = Aws::String>
96 bool m_resourcesHasBeenSet =
false;
99 bool m_nextTokenHasBeenSet =
false;
102 bool m_queryErrorsHasBeenSet =
false;
105 bool m_requestIdHasBeenSet =
false;
ListGroupResourcesResult & WithQueryErrors(QueryErrorsT &&value)
ListGroupResourcesResult & AddResources(ResourcesT &&value)
void SetNextToken(NextTokenT &&value)
ListGroupResourcesResult & WithResources(ResourcesT &&value)
AWS_RESOURCEGROUPS_API ListGroupResourcesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ListGroupResourcesItem > & GetResources() const
AWS_RESOURCEGROUPS_API ListGroupResourcesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_RESOURCEGROUPS_API ListGroupResourcesResult()=default
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetNextToken() const
ListGroupResourcesResult & WithNextToken(NextTokenT &&value)
void SetQueryErrors(QueryErrorsT &&value)
const Aws::Vector< QueryError > & GetQueryErrors() const
ListGroupResourcesResult & AddQueryErrors(QueryErrorsT &&value)
void SetResources(ResourcesT &&value)
ListGroupResourcesResult & 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