7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
11#include <aws/imagebuilder/model/ComponentVersion.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace imagebuilder {
37 template <
typename RequestIdT = Aws::String>
39 m_requestIdHasBeenSet =
true;
40 m_requestId = std::forward<RequestIdT>(value);
42 template <
typename RequestIdT = Aws::String>
56 template <
typename ComponentVersionListT = Aws::Vector<ComponentVersion>>
58 m_componentVersionListHasBeenSet =
true;
59 m_componentVersionList = std::forward<ComponentVersionListT>(value);
61 template <
typename ComponentVersionListT = Aws::Vector<ComponentVersion>>
66 template <
typename ComponentVersionListT = ComponentVersion>
68 m_componentVersionListHasBeenSet =
true;
69 m_componentVersionList.emplace_back(std::forward<ComponentVersionListT>(value));
81 template <
typename NextTokenT = Aws::String>
83 m_nextTokenHasBeenSet =
true;
84 m_nextToken = std::forward<NextTokenT>(value);
86 template <
typename NextTokenT = Aws::String>
101 bool m_requestIdHasBeenSet =
false;
102 bool m_componentVersionListHasBeenSet =
false;
103 bool m_nextTokenHasBeenSet =
false;
const Aws::String & GetNextToken() const
void SetNextToken(NextTokenT &&value)
void SetRequestId(RequestIdT &&value)
AWS_IMAGEBUILDER_API ListComponentsResult()=default
ListComponentsResult & WithNextToken(NextTokenT &&value)
AWS_IMAGEBUILDER_API ListComponentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListComponentsResult & WithRequestId(RequestIdT &&value)
AWS_IMAGEBUILDER_API ListComponentsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ListComponentsResult & WithComponentVersionList(ComponentVersionListT &&value)
ListComponentsResult & AddComponentVersionList(ComponentVersionListT &&value)
void SetComponentVersionList(ComponentVersionListT &&value)
const Aws::Vector< ComponentVersion > & GetComponentVersionList() const
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