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/crt/cbor/Cbor.h>
11#include <aws/health/Health_EXPORTS.h>
12#include <aws/health/model/ServiceLifecycle.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename ServiceLifecyclesT = Aws::Vector<ServiceLifecycle>>
39 m_serviceLifecyclesHasBeenSet =
true;
40 m_serviceLifecycles = std::forward<ServiceLifecyclesT>(value);
42 template <
typename ServiceLifecyclesT = Aws::Vector<ServiceLifecycle>>
47 template <
typename ServiceLifecyclesT = ServiceLifecycle>
49 m_serviceLifecyclesHasBeenSet =
true;
50 m_serviceLifecycles.emplace_back(std::forward<ServiceLifecyclesT>(value));
64 template <
typename NextTokenT = Aws::String>
66 m_nextTokenHasBeenSet =
true;
67 m_nextToken = std::forward<NextTokenT>(value);
69 template <
typename NextTokenT = Aws::String>
79 template <
typename RequestIdT = Aws::String>
81 m_requestIdHasBeenSet =
true;
82 m_requestId = std::forward<RequestIdT>(value);
84 template <
typename RequestIdT = Aws::String>
99 bool m_serviceLifecyclesHasBeenSet =
false;
100 bool m_nextTokenHasBeenSet =
false;
101 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
DescribeServiceLifecycleResult & WithRequestId(RequestIdT &&value)
DescribeServiceLifecycleResult & AddServiceLifecycles(ServiceLifecyclesT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_HEALTH_API DescribeServiceLifecycleResult()=default
void SetServiceLifecycles(ServiceLifecyclesT &&value)
void SetRequestId(RequestIdT &&value)
DescribeServiceLifecycleResult & WithServiceLifecycles(ServiceLifecyclesT &&value)
void SetNextToken(NextTokenT &&value)
AWS_HEALTH_API DescribeServiceLifecycleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
AWS_HEALTH_API DescribeServiceLifecycleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
const Aws::Vector< ServiceLifecycle > & GetServiceLifecycles() const
DescribeServiceLifecycleResult & WithNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector