7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
12#include <aws/resiliencehubv2/model/DependencyInsight.h>
13#include <aws/resiliencehubv2/model/DependencyInsightsErrorCode.h>
14#include <aws/resiliencehubv2/model/DependencyInsightsStatus.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace resiliencehubv2 {
41 template <
typename OverviewT = Aws::String>
43 m_overviewHasBeenSet =
true;
44 m_overview = std::forward<OverviewT>(value);
46 template <
typename OverviewT = Aws::String>
59 template <
typename InsightsT = Aws::Vector<DependencyInsight>>
61 m_insightsHasBeenSet =
true;
62 m_insights = std::forward<InsightsT>(value);
64 template <
typename InsightsT = Aws::Vector<DependencyInsight>>
69 template <
typename InsightsT = DependencyInsight>
71 m_insightsHasBeenSet =
true;
72 m_insights.emplace_back(std::forward<InsightsT>(value));
87 m_statusHasBeenSet =
true;
101 template <
typename CreatedAtT = Aws::Utils::DateTime>
103 m_createdAtHasBeenSet =
true;
104 m_createdAt = std::forward<CreatedAtT>(value);
106 template <
typename CreatedAtT = Aws::Utils::DateTime>
123 m_errorCodeHasBeenSet =
true;
137 template <
typename ErrorMessageT = Aws::String>
139 m_errorMessageHasBeenSet =
true;
140 m_errorMessage = std::forward<ErrorMessageT>(value);
142 template <
typename ErrorMessageT = Aws::String>
152 template <
typename RequestIdT = Aws::String>
154 m_requestIdHasBeenSet =
true;
155 m_requestId = std::forward<RequestIdT>(value);
157 template <
typename RequestIdT = Aws::String>
180 bool m_overviewHasBeenSet =
false;
181 bool m_insightsHasBeenSet =
false;
182 bool m_statusHasBeenSet =
false;
183 bool m_createdAtHasBeenSet =
false;
184 bool m_errorCodeHasBeenSet =
false;
185 bool m_errorMessageHasBeenSet =
false;
186 bool m_requestIdHasBeenSet =
false;
void SetErrorMessage(ErrorMessageT &&value)
DependencyInsightsErrorCode GetErrorCode() const
void SetErrorCode(DependencyInsightsErrorCode value)
void SetStatus(DependencyInsightsStatus value)
GetDependencyInsightsResult & WithInsights(InsightsT &&value)
void SetRequestId(RequestIdT &&value)
GetDependencyInsightsResult & AddInsights(InsightsT &&value)
void SetInsights(InsightsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetErrorMessage() const
GetDependencyInsightsResult & WithErrorCode(DependencyInsightsErrorCode value)
GetDependencyInsightsResult & WithOverview(OverviewT &&value)
AWS_RESILIENCEHUBV2_API GetDependencyInsightsResult()=default
GetDependencyInsightsResult & WithStatus(DependencyInsightsStatus value)
DependencyInsightsStatus GetStatus() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetOverview() const
GetDependencyInsightsResult & WithErrorMessage(ErrorMessageT &&value)
void SetOverview(OverviewT &&value)
GetDependencyInsightsResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetRequestId() const
AWS_RESILIENCEHUBV2_API GetDependencyInsightsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< DependencyInsight > & GetInsights() const
GetDependencyInsightsResult & WithCreatedAt(CreatedAtT &&value)
AWS_RESILIENCEHUBV2_API GetDependencyInsightsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DependencyInsightsErrorCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue