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/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename DashboardArnT = Aws::String>
42 m_dashboardArnHasBeenSet =
true;
43 m_dashboardArn = std::forward<DashboardArnT>(value);
45 template <
typename DashboardArnT = Aws::String>
58 m_typeHasBeenSet =
true;
73 m_statusHasBeenSet =
true;
87 template <
typename W
idgetsT = Aws::Vector<W
idget>>
89 m_widgetsHasBeenSet =
true;
90 m_widgets = std::forward<WidgetsT>(value);
92 template <
typename W
idgetsT = Aws::Vector<W
idget>>
97 template <
typename W
idgetsT = W
idget>
99 m_widgetsHasBeenSet =
true;
100 m_widgets.emplace_back(std::forward<WidgetsT>(value));
110 template <
typename RefreshScheduleT = RefreshSchedule>
112 m_refreshScheduleHasBeenSet =
true;
113 m_refreshSchedule = std::forward<RefreshScheduleT>(value);
115 template <
typename RefreshScheduleT = RefreshSchedule>
127 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
129 m_createdTimestampHasBeenSet =
true;
130 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
132 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
144 template <
typename UpdatedTimestampT = Aws::Utils::DateTime>
146 m_updatedTimestampHasBeenSet =
true;
147 m_updatedTimestamp = std::forward<UpdatedTimestampT>(value);
149 template <
typename UpdatedTimestampT = Aws::Utils::DateTime>
161 template <
typename LastRefreshIdT = Aws::String>
163 m_lastRefreshIdHasBeenSet =
true;
164 m_lastRefreshId = std::forward<LastRefreshIdT>(value);
166 template <
typename LastRefreshIdT = Aws::String>
178 template <
typename LastRefreshFailureReasonT = Aws::String>
180 m_lastRefreshFailureReasonHasBeenSet =
true;
181 m_lastRefreshFailureReason = std::forward<LastRefreshFailureReasonT>(value);
183 template <
typename LastRefreshFailureReasonT = Aws::String>
196 m_terminationProtectionEnabledHasBeenSet =
true;
197 m_terminationProtectionEnabled = value;
208 template <
typename RequestIdT = Aws::String>
210 m_requestIdHasBeenSet =
true;
211 m_requestId = std::forward<RequestIdT>(value);
213 template <
typename RequestIdT = Aws::String>
228 RefreshSchedule m_refreshSchedule;
238 bool m_terminationProtectionEnabled{
false};
241 bool m_dashboardArnHasBeenSet =
false;
242 bool m_typeHasBeenSet =
false;
243 bool m_statusHasBeenSet =
false;
244 bool m_widgetsHasBeenSet =
false;
245 bool m_refreshScheduleHasBeenSet =
false;
246 bool m_createdTimestampHasBeenSet =
false;
247 bool m_updatedTimestampHasBeenSet =
false;
248 bool m_lastRefreshIdHasBeenSet =
false;
249 bool m_lastRefreshFailureReasonHasBeenSet =
false;
250 bool m_terminationProtectionEnabledHasBeenSet =
false;
251 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
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