7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
10#include <aws/greengrassv2/model/Component.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace GreengrassV2 {
36 template <
typename ComponentsT = Aws::Vector<Component>>
38 m_componentsHasBeenSet =
true;
39 m_components = std::forward<ComponentsT>(value);
41 template <
typename ComponentsT = Aws::Vector<Component>>
46 template <
typename ComponentsT = Component>
48 m_componentsHasBeenSet =
true;
49 m_components.emplace_back(std::forward<ComponentsT>(value));
60 template <
typename NextTokenT = Aws::String>
62 m_nextTokenHasBeenSet =
true;
63 m_nextToken = std::forward<NextTokenT>(value);
65 template <
typename NextTokenT = Aws::String>
75 template <
typename RequestIdT = Aws::String>
77 m_requestIdHasBeenSet =
true;
78 m_requestId = std::forward<RequestIdT>(value);
80 template <
typename RequestIdT = Aws::String>
88 bool m_componentsHasBeenSet =
false;
91 bool m_nextTokenHasBeenSet =
false;
94 bool m_requestIdHasBeenSet =
false;
ListComponentsResult & WithComponents(ComponentsT &&value)
const Aws::String & GetNextToken() const
void SetRequestId(RequestIdT &&value)
const Aws::Vector< Component > & GetComponents() const
AWS_GREENGRASSV2_API ListComponentsResult()=default
const Aws::String & GetRequestId() const
AWS_GREENGRASSV2_API ListComponentsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListComponentsResult & AddComponents(ComponentsT &&value)
void SetNextToken(NextTokenT &&value)
ListComponentsResult & WithNextToken(NextTokenT &&value)
ListComponentsResult & WithRequestId(RequestIdT &&value)
AWS_GREENGRASSV2_API ListComponentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetComponents(ComponentsT &&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