7#include <aws/cloudcontrol/CloudControlApi_EXPORTS.h>
8#include <aws/cloudcontrol/model/ResourceDescription.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace CloudControlApi {
37 template <
typename TypeNameT = Aws::String>
39 m_typeNameHasBeenSet =
true;
40 m_typeName = std::forward<TypeNameT>(value);
42 template <
typename TypeNameT = Aws::String>
55 template <
typename ResourceDescriptionsT = Aws::Vector<ResourceDescription>>
57 m_resourceDescriptionsHasBeenSet =
true;
58 m_resourceDescriptions = std::forward<ResourceDescriptionsT>(value);
60 template <
typename ResourceDescriptionsT = Aws::Vector<ResourceDescription>>
65 template <
typename ResourceDescriptionsT = ResourceDescription>
67 m_resourceDescriptionsHasBeenSet =
true;
68 m_resourceDescriptions.emplace_back(std::forward<ResourceDescriptionsT>(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>
119 bool m_typeNameHasBeenSet =
false;
120 bool m_resourceDescriptionsHasBeenSet =
false;
121 bool m_nextTokenHasBeenSet =
false;
122 bool m_requestIdHasBeenSet =
false;
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ListResourcesResult & AddResourceDescriptions(ResourceDescriptionsT &&value)
AWS_CLOUDCONTROLAPI_API ListResourcesResult()=default
void SetResourceDescriptions(ResourceDescriptionsT &&value)
ListResourcesResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< ResourceDescription > & GetResourceDescriptions() const
AWS_CLOUDCONTROLAPI_API ListResourcesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDCONTROLAPI_API ListResourcesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListResourcesResult & WithResourceDescriptions(ResourceDescriptionsT &&value)
void SetTypeName(TypeNameT &&value)
const Aws::String & GetTypeName() const
void SetNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
void SetRequestId(RequestIdT &&value)
ListResourcesResult & WithTypeName(TypeNameT &&value)
const Aws::String & GetRequestId() const
ListResourcesResult & WithNextToken(NextTokenT &&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