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/cloudtrail/model/RefreshSchedule.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/cloudtrail/model/Tag.h>
13#include <aws/cloudtrail/model/RequestWidget.h>
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
65 template<
typename RefreshScheduleT = RefreshSchedule>
66 void SetRefreshSchedule(RefreshScheduleT&& value) { m_refreshScheduleHasBeenSet =
true; m_refreshSchedule = std::forward<RefreshScheduleT>(value); }
67 template<
typename RefreshScheduleT = RefreshSchedule>
75 template<
typename TagsListT = Aws::Vector<Tag>>
76 void SetTagsList(TagsListT&& value) { m_tagsListHasBeenSet =
true; m_tagsList = std::forward<TagsListT>(value); }
77 template<
typename TagsListT = Aws::Vector<Tag>>
79 template<
typename TagsListT = Tag>
103 template<
typename W
idgetsT = Aws::Vector<RequestW
idget>>
104 void SetWidgets(WidgetsT&& value) { m_widgetsHasBeenSet =
true; m_widgets = std::forward<WidgetsT>(value); }
105 template<
typename W
idgetsT = Aws::Vector<RequestW
idget>>
107 template<
typename W
idgetsT = RequestW
idget>
113 bool m_nameHasBeenSet =
false;
116 bool m_refreshScheduleHasBeenSet =
false;
119 bool m_tagsListHasBeenSet =
false;
121 bool m_terminationProtectionEnabled{
false};
122 bool m_terminationProtectionEnabledHasBeenSet =
false;
125 bool m_widgetsHasBeenSet =
false;
void SetTerminationProtectionEnabled(bool value)
const RefreshSchedule & GetRefreshSchedule() const
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetWidgets(WidgetsT &&value)
bool RefreshScheduleHasBeenSet() const
const Aws::String & GetName() const
bool NameHasBeenSet() const
const Aws::Vector< Tag > & GetTagsList() const
CreateDashboardRequest & WithTagsList(TagsListT &&value)
CreateDashboardRequest & WithName(NameT &&value)
void SetRefreshSchedule(RefreshScheduleT &&value)
void SetName(NameT &&value)
void SetTagsList(TagsListT &&value)
CreateDashboardRequest & WithWidgets(WidgetsT &&value)
virtual const char * GetServiceRequestName() const override
bool TagsListHasBeenSet() const
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
CreateDashboardRequest & AddWidgets(WidgetsT &&value)
const Aws::Vector< RequestWidget > & GetWidgets() const
bool GetTerminationProtectionEnabled() const
CreateDashboardRequest & AddTagsList(TagsListT &&value)
CreateDashboardRequest & WithRefreshSchedule(RefreshScheduleT &&value)
bool TerminationProtectionEnabledHasBeenSet() const
AWS_CLOUDTRAIL_API CreateDashboardRequest()=default
bool WidgetsHasBeenSet() const
CreateDashboardRequest & WithTerminationProtectionEnabled(bool value)
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