7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/m2/MainframeModernization_EXPORTS.h>
10#include <aws/m2/model/DeploymentSummary.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace MainframeModernization {
36 template <
typename DeploymentsT = Aws::Vector<DeploymentSummary>>
38 m_deploymentsHasBeenSet =
true;
39 m_deployments = std::forward<DeploymentsT>(value);
41 template <
typename DeploymentsT = Aws::Vector<DeploymentSummary>>
46 template <
typename DeploymentsT = DeploymentSummary>
48 m_deploymentsHasBeenSet =
true;
49 m_deployments.emplace_back(std::forward<DeploymentsT>(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>
92 bool m_deploymentsHasBeenSet =
false;
93 bool m_nextTokenHasBeenSet =
false;
94 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetNextToken() const
void SetNextToken(NextTokenT &&value)
ListDeploymentsResult & WithNextToken(NextTokenT &&value)
ListDeploymentsResult & WithDeployments(DeploymentsT &&value)
void SetRequestId(RequestIdT &&value)
ListDeploymentsResult & AddDeployments(DeploymentsT &&value)
AWS_MAINFRAMEMODERNIZATION_API ListDeploymentsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
void SetDeployments(DeploymentsT &&value)
const Aws::Vector< DeploymentSummary > & GetDeployments() const
AWS_MAINFRAMEMODERNIZATION_API ListDeploymentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListDeploymentsResult & WithRequestId(RequestIdT &&value)
AWS_MAINFRAMEMODERNIZATION_API ListDeploymentsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue