7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/CloudTrailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/cloudtrail/model/RefreshSchedule.h>
12#include <aws/cloudtrail/model/RequestWidget.h>
46 template<
typename DashboardIdT = Aws::String>
47 void SetDashboardId(DashboardIdT&& value) { m_dashboardIdHasBeenSet =
true; m_dashboardId = std::forward<DashboardIdT>(value); }
48 template<
typename DashboardIdT = Aws::String>
63 template<
typename W
idgetsT = Aws::Vector<RequestW
idget>>
64 void SetWidgets(WidgetsT&& value) { m_widgetsHasBeenSet =
true; m_widgets = std::forward<WidgetsT>(value); }
65 template<
typename W
idgetsT = Aws::Vector<RequestW
idget>>
67 template<
typename W
idgetsT = RequestW
idget>
77 template<
typename RefreshScheduleT = RefreshSchedule>
78 void SetRefreshSchedule(RefreshScheduleT&& value) { m_refreshScheduleHasBeenSet =
true; m_refreshSchedule = std::forward<RefreshScheduleT>(value); }
79 template<
typename RefreshScheduleT = RefreshSchedule>
97 bool m_dashboardIdHasBeenSet =
false;
100 bool m_widgetsHasBeenSet =
false;
103 bool m_refreshScheduleHasBeenSet =
false;
105 bool m_terminationProtectionEnabled{
false};
106 bool m_terminationProtectionEnabledHasBeenSet =
false;
UpdateDashboardRequest & WithTerminationProtectionEnabled(bool value)
const Aws::Vector< RequestWidget > & GetWidgets() const
bool GetTerminationProtectionEnabled() const
UpdateDashboardRequest & WithDashboardId(DashboardIdT &&value)
void SetWidgets(WidgetsT &&value)
UpdateDashboardRequest & WithWidgets(WidgetsT &&value)
AWS_CLOUDTRAIL_API UpdateDashboardRequest()=default
void SetRefreshSchedule(RefreshScheduleT &&value)
void SetTerminationProtectionEnabled(bool value)
UpdateDashboardRequest & AddWidgets(WidgetsT &&value)
UpdateDashboardRequest & WithRefreshSchedule(RefreshScheduleT &&value)
void SetDashboardId(DashboardIdT &&value)
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool WidgetsHasBeenSet() const
bool TerminationProtectionEnabledHasBeenSet() const
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
const Aws::String & GetDashboardId() const
const RefreshSchedule & GetRefreshSchedule() const
virtual const char * GetServiceRequestName() const override
bool RefreshScheduleHasBeenSet() const
bool DashboardIdHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector