7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
10#include <aws/imagebuilder/model/ComponentVersion.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace imagebuilder {
36 template <
typename RequestIdT = Aws::String>
38 m_requestIdHasBeenSet =
true;
39 m_requestId = std::forward<RequestIdT>(value);
41 template <
typename RequestIdT = Aws::String>
55 template <
typename ComponentVersionListT = Aws::Vector<ComponentVersion>>
57 m_componentVersionListHasBeenSet =
true;
58 m_componentVersionList = std::forward<ComponentVersionListT>(value);
60 template <
typename ComponentVersionListT = Aws::Vector<ComponentVersion>>
65 template <
typename ComponentVersionListT = ComponentVersion>
67 m_componentVersionListHasBeenSet =
true;
68 m_componentVersionList.emplace_back(std::forward<ComponentVersionListT>(value));
80 template <
typename NextTokenT = Aws::String>
82 m_nextTokenHasBeenSet =
true;
83 m_nextToken = std::forward<NextTokenT>(value);
85 template <
typename NextTokenT = Aws::String>
97 bool m_requestIdHasBeenSet =
false;
98 bool m_componentVersionListHasBeenSet =
false;
99 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)
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