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/greengrass/Greengrass_EXPORTS.h>
11#include <aws/greengrass/model/Deployment.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename DeploymentsT = Aws::Vector<Deployment>>
39 m_deploymentsHasBeenSet =
true;
40 m_deployments = std::forward<DeploymentsT>(value);
42 template <
typename DeploymentsT = Aws::Vector<Deployment>>
47 template <
typename DeploymentsT = Deployment>
49 m_deploymentsHasBeenSet =
true;
50 m_deployments.emplace_back(std::forward<DeploymentsT>(value));
61 template <
typename NextTokenT = Aws::String>
63 m_nextTokenHasBeenSet =
true;
64 m_nextToken = std::forward<NextTokenT>(value);
66 template <
typename NextTokenT = Aws::String>
76 template <
typename RequestIdT = Aws::String>
78 m_requestIdHasBeenSet =
true;
79 m_requestId = std::forward<RequestIdT>(value);
81 template <
typename RequestIdT = Aws::String>
96 bool m_deploymentsHasBeenSet =
false;
97 bool m_nextTokenHasBeenSet =
false;
98 bool m_requestIdHasBeenSet =
false;
AWS_GREENGRASS_API ListDeploymentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
AWS_GREENGRASS_API ListDeploymentsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListDeploymentsResult & WithDeployments(DeploymentsT &&value)
void SetDeployments(DeploymentsT &&value)
const Aws::String & GetRequestId() const
ListDeploymentsResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< Deployment > & GetDeployments() const
ListDeploymentsResult & AddDeployments(DeploymentsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetNextToken(NextTokenT &&value)
ListDeploymentsResult & WithRequestId(RequestIdT &&value)
AWS_GREENGRASS_API ListDeploymentsResult()=default
const Aws::String & GetNextToken() 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