7#include <aws/cloudcontrol/CloudControlApi_EXPORTS.h>
8#include <aws/cloudcontrol/model/ResourceDescription.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace CloudControlApi {
36 template <
typename TypeNameT = Aws::String>
38 m_typeNameHasBeenSet =
true;
39 m_typeName = std::forward<TypeNameT>(value);
41 template <
typename TypeNameT = Aws::String>
54 template <
typename ResourceDescriptionsT = Aws::Vector<ResourceDescription>>
56 m_resourceDescriptionsHasBeenSet =
true;
57 m_resourceDescriptions = std::forward<ResourceDescriptionsT>(value);
59 template <
typename ResourceDescriptionsT = Aws::Vector<ResourceDescription>>
64 template <
typename ResourceDescriptionsT = ResourceDescription>
66 m_resourceDescriptionsHasBeenSet =
true;
67 m_resourceDescriptions.emplace_back(std::forward<ResourceDescriptionsT>(value));
81 template <
typename NextTokenT = Aws::String>
83 m_nextTokenHasBeenSet =
true;
84 m_nextToken = std::forward<NextTokenT>(value);
86 template <
typename NextTokenT = Aws::String>
96 template <
typename RequestIdT = Aws::String>
98 m_requestIdHasBeenSet =
true;
99 m_requestId = std::forward<RequestIdT>(value);
101 template <
typename RequestIdT = Aws::String>
115 bool m_typeNameHasBeenSet =
false;
116 bool m_resourceDescriptionsHasBeenSet =
false;
117 bool m_nextTokenHasBeenSet =
false;
118 bool m_requestIdHasBeenSet =
false;
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