7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/DashboardType.h>
9#include <aws/cloudtrail/model/RefreshSchedule.h>
10#include <aws/cloudtrail/model/Widget.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
39 template <
typename DashboardArnT = Aws::String>
41 m_dashboardArnHasBeenSet =
true;
42 m_dashboardArn = std::forward<DashboardArnT>(value);
44 template <
typename DashboardArnT = Aws::String>
56 template <
typename NameT = Aws::String>
58 m_nameHasBeenSet =
true;
59 m_name = std::forward<NameT>(value);
61 template <
typename NameT = Aws::String>
63 SetName(std::forward<NameT>(value));
74 m_typeHasBeenSet =
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>
129 m_terminationProtectionEnabledHasBeenSet =
true;
130 m_terminationProtectionEnabled = value;
143 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
145 m_createdTimestampHasBeenSet =
true;
146 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
148 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
160 template <
typename UpdatedTimestampT = Aws::Utils::DateTime>
162 m_updatedTimestampHasBeenSet =
true;
163 m_updatedTimestamp = std::forward<UpdatedTimestampT>(value);
165 template <
typename UpdatedTimestampT = Aws::Utils::DateTime>
175 template <
typename RequestIdT = Aws::String>
177 m_requestIdHasBeenSet =
true;
178 m_requestId = std::forward<RequestIdT>(value);
180 template <
typename RequestIdT = Aws::String>
195 RefreshSchedule m_refreshSchedule;
197 bool m_terminationProtectionEnabled{
false};
204 bool m_dashboardArnHasBeenSet =
false;
205 bool m_nameHasBeenSet =
false;
206 bool m_typeHasBeenSet =
false;
207 bool m_widgetsHasBeenSet =
false;
208 bool m_refreshScheduleHasBeenSet =
false;
209 bool m_terminationProtectionEnabledHasBeenSet =
false;
210 bool m_createdTimestampHasBeenSet =
false;
211 bool m_updatedTimestampHasBeenSet =
false;
212 bool m_requestIdHasBeenSet =
false;
void SetType(DashboardType value)
const RefreshSchedule & GetRefreshSchedule() const
const Aws::String & GetDashboardArn() const
const Aws::Utils::DateTime & GetCreatedTimestamp() const
UpdateDashboardResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Widget > & GetWidgets() const
UpdateDashboardResult & WithDashboardArn(DashboardArnT &&value)
UpdateDashboardResult & AddWidgets(WidgetsT &&value)
void SetName(NameT &&value)
UpdateDashboardResult & WithWidgets(WidgetsT &&value)
void SetDashboardArn(DashboardArnT &&value)
bool GetTerminationProtectionEnabled() const
UpdateDashboardResult & WithCreatedTimestamp(CreatedTimestampT &&value)
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
AWS_CLOUDTRAIL_API UpdateDashboardResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedTimestamp(CreatedTimestampT &&value)
const Aws::String & GetRequestId() const
UpdateDashboardResult & WithUpdatedTimestamp(UpdatedTimestampT &&value)
AWS_CLOUDTRAIL_API UpdateDashboardResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDTRAIL_API UpdateDashboardResult()=default
void SetWidgets(WidgetsT &&value)
void SetTerminationProtectionEnabled(bool value)
void SetUpdatedTimestamp(UpdatedTimestampT &&value)
DashboardType GetType() const
void SetRequestId(RequestIdT &&value)
UpdateDashboardResult & WithRefreshSchedule(RefreshScheduleT &&value)
UpdateDashboardResult & WithName(NameT &&value)
UpdateDashboardResult & WithType(DashboardType value)
void SetRefreshSchedule(RefreshScheduleT &&value)
const Aws::String & GetName() const
UpdateDashboardResult & WithTerminationProtectionEnabled(bool 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