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/cloudtrail/model/Tag.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
67 template <
typename RefreshScheduleT = RefreshSchedule>
69 m_refreshScheduleHasBeenSet =
true;
70 m_refreshSchedule = std::forward<RefreshScheduleT>(value);
72 template <
typename RefreshScheduleT = RefreshSchedule>
83 template <
typename TagsListT = Aws::Vector<Tag>>
85 m_tagsListHasBeenSet =
true;
86 m_tagsList = std::forward<TagsListT>(value);
88 template <
typename TagsListT = Aws::Vector<Tag>>
93 template <
typename TagsListT = Tag>
95 m_tagsListHasBeenSet =
true;
96 m_tagsList.emplace_back(std::forward<TagsListT>(value));
110 m_terminationProtectionEnabledHasBeenSet =
true;
111 m_terminationProtectionEnabled = value;
127 template <
typename W
idgetsT = Aws::Vector<RequestW
idget>>
129 m_widgetsHasBeenSet =
true;
130 m_widgets = std::forward<WidgetsT>(value);
132 template <
typename W
idgetsT = Aws::Vector<RequestW
idget>>
137 template <
typename W
idgetsT = RequestW
idget>
139 m_widgetsHasBeenSet =
true;
140 m_widgets.emplace_back(std::forward<WidgetsT>(value));
151 bool m_terminationProtectionEnabled{
false};
154 bool m_nameHasBeenSet =
false;
155 bool m_refreshScheduleHasBeenSet =
false;
156 bool m_tagsListHasBeenSet =
false;
157 bool m_terminationProtectionEnabledHasBeenSet =
false;
158 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