7#include <aws/cloudtrail/CloudTrailRequest.h>
8#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
9#include <aws/cloudtrail/model/RefreshSchedule.h>
10#include <aws/cloudtrail/model/RequestWidget.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
42 template <
typename DashboardIdT = Aws::String>
44 m_dashboardIdHasBeenSet =
true;
45 m_dashboardId = std::forward<DashboardIdT>(value);
47 template <
typename DashboardIdT = Aws::String>
65 template <
typename W
idgetsT = Aws::Vector<RequestW
idget>>
67 m_widgetsHasBeenSet =
true;
68 m_widgets = std::forward<WidgetsT>(value);
70 template <
typename W
idgetsT = Aws::Vector<RequestW
idget>>
75 template <
typename W
idgetsT = RequestW
idget>
77 m_widgetsHasBeenSet =
true;
78 m_widgets.emplace_back(std::forward<WidgetsT>(value));
89 template <
typename RefreshScheduleT = RefreshSchedule>
91 m_refreshScheduleHasBeenSet =
true;
92 m_refreshSchedule = std::forward<RefreshScheduleT>(value);
94 template <
typename RefreshScheduleT = RefreshSchedule>
110 m_terminationProtectionEnabledHasBeenSet =
true;
111 m_terminationProtectionEnabled = value;
125 bool m_terminationProtectionEnabled{
false};
126 bool m_dashboardIdHasBeenSet =
false;
127 bool m_widgetsHasBeenSet =
false;
128 bool m_refreshScheduleHasBeenSet =
false;
129 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