7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/DashboardStatus.h>
9#include <aws/cloudtrail/model/DashboardType.h>
10#include <aws/cloudtrail/model/RefreshSchedule.h>
11#include <aws/cloudtrail/model/Widget.h>
12#include <aws/core/http/HttpResponse.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
41 template <
typename DashboardArnT = Aws::String>
43 m_dashboardArnHasBeenSet =
true;
44 m_dashboardArn = std::forward<DashboardArnT>(value);
46 template <
typename DashboardArnT = Aws::String>
59 m_typeHasBeenSet =
true;
74 m_statusHasBeenSet =
true;
88 template <
typename W
idgetsT = Aws::Vector<W
idget>>
90 m_widgetsHasBeenSet =
true;
91 m_widgets = std::forward<WidgetsT>(value);
93 template <
typename W
idgetsT = Aws::Vector<W
idget>>
98 template <
typename W
idgetsT = W
idget>
100 m_widgetsHasBeenSet =
true;
101 m_widgets.emplace_back(std::forward<WidgetsT>(value));
111 template <
typename RefreshScheduleT = RefreshSchedule>
113 m_refreshScheduleHasBeenSet =
true;
114 m_refreshSchedule = std::forward<RefreshScheduleT>(value);
116 template <
typename RefreshScheduleT = RefreshSchedule>
128 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
130 m_createdTimestampHasBeenSet =
true;
131 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
133 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
145 template <
typename UpdatedTimestampT = Aws::Utils::DateTime>
147 m_updatedTimestampHasBeenSet =
true;
148 m_updatedTimestamp = std::forward<UpdatedTimestampT>(value);
150 template <
typename UpdatedTimestampT = Aws::Utils::DateTime>
162 template <
typename LastRefreshIdT = Aws::String>
164 m_lastRefreshIdHasBeenSet =
true;
165 m_lastRefreshId = std::forward<LastRefreshIdT>(value);
167 template <
typename LastRefreshIdT = Aws::String>
179 template <
typename LastRefreshFailureReasonT = Aws::String>
181 m_lastRefreshFailureReasonHasBeenSet =
true;
182 m_lastRefreshFailureReason = std::forward<LastRefreshFailureReasonT>(value);
184 template <
typename LastRefreshFailureReasonT = Aws::String>
197 m_terminationProtectionEnabledHasBeenSet =
true;
198 m_terminationProtectionEnabled = value;
209 template <
typename RequestIdT = Aws::String>
211 m_requestIdHasBeenSet =
true;
212 m_requestId = std::forward<RequestIdT>(value);
214 template <
typename RequestIdT = Aws::String>
231 RefreshSchedule m_refreshSchedule;
241 bool m_terminationProtectionEnabled{
false};
245 bool m_dashboardArnHasBeenSet =
false;
246 bool m_typeHasBeenSet =
false;
247 bool m_statusHasBeenSet =
false;
248 bool m_widgetsHasBeenSet =
false;
249 bool m_refreshScheduleHasBeenSet =
false;
250 bool m_createdTimestampHasBeenSet =
false;
251 bool m_updatedTimestampHasBeenSet =
false;
252 bool m_lastRefreshIdHasBeenSet =
false;
253 bool m_lastRefreshFailureReasonHasBeenSet =
false;
254 bool m_terminationProtectionEnabledHasBeenSet =
false;
255 bool m_requestIdHasBeenSet =
false;
GetDashboardResult & WithTerminationProtectionEnabled(bool value)
void SetTerminationProtectionEnabled(bool value)
const Aws::String & GetDashboardArn() const
AWS_CLOUDTRAIL_API GetDashboardResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
bool GetTerminationProtectionEnabled() const
DashboardType GetType() const
const Aws::String & GetLastRefreshId() const
void SetLastRefreshId(LastRefreshIdT &&value)
GetDashboardResult & WithCreatedTimestamp(CreatedTimestampT &&value)
GetDashboardResult & WithRefreshSchedule(RefreshScheduleT &&value)
const RefreshSchedule & GetRefreshSchedule() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() const
void SetDashboardArn(DashboardArnT &&value)
GetDashboardResult & WithUpdatedTimestamp(UpdatedTimestampT &&value)
GetDashboardResult & WithWidgets(WidgetsT &&value)
void SetType(DashboardType value)
GetDashboardResult & AddWidgets(WidgetsT &&value)
void SetStatus(DashboardStatus value)
void SetRefreshSchedule(RefreshScheduleT &&value)
const Aws::Vector< Widget > & GetWidgets() const
void SetLastRefreshFailureReason(LastRefreshFailureReasonT &&value)
GetDashboardResult & WithLastRefreshId(LastRefreshIdT &&value)
GetDashboardResult & WithDashboardArn(DashboardArnT &&value)
void SetCreatedTimestamp(CreatedTimestampT &&value)
GetDashboardResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
GetDashboardResult & WithType(DashboardType value)
DashboardStatus GetStatus() const
const Aws::Utils::DateTime & GetCreatedTimestamp() const
void SetUpdatedTimestamp(UpdatedTimestampT &&value)
GetDashboardResult & WithStatus(DashboardStatus value)
AWS_CLOUDTRAIL_API GetDashboardResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetWidgets(WidgetsT &&value)
const Aws::String & GetLastRefreshFailureReason() const
AWS_CLOUDTRAIL_API GetDashboardResult()=default
GetDashboardResult & WithLastRefreshFailureReason(LastRefreshFailureReasonT &&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