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/Tag.h>
11#include <aws/cloudtrail/model/Widget.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));
109 template <
typename TagsListT = Aws::Vector<Tag>>
111 m_tagsListHasBeenSet =
true;
112 m_tagsList = std::forward<TagsListT>(value);
114 template <
typename TagsListT = Aws::Vector<Tag>>
119 template <
typename TagsListT = Tag>
121 m_tagsListHasBeenSet =
true;
122 m_tagsList.emplace_back(std::forward<TagsListT>(value));
132 template <
typename RefreshScheduleT = RefreshSchedule>
134 m_refreshScheduleHasBeenSet =
true;
135 m_refreshSchedule = std::forward<RefreshScheduleT>(value);
137 template <
typename RefreshScheduleT = RefreshSchedule>
150 m_terminationProtectionEnabledHasBeenSet =
true;
151 m_terminationProtectionEnabled = value;
162 template <
typename RequestIdT = Aws::String>
164 m_requestIdHasBeenSet =
true;
165 m_requestId = std::forward<RequestIdT>(value);
167 template <
typename RequestIdT = Aws::String>
184 RefreshSchedule m_refreshSchedule;
186 bool m_terminationProtectionEnabled{
false};
189 bool m_dashboardArnHasBeenSet =
false;
190 bool m_nameHasBeenSet =
false;
191 bool m_typeHasBeenSet =
false;
192 bool m_widgetsHasBeenSet =
false;
193 bool m_tagsListHasBeenSet =
false;
194 bool m_refreshScheduleHasBeenSet =
false;
195 bool m_terminationProtectionEnabledHasBeenSet =
false;
196 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetDashboardArn() const
CreateDashboardResult & WithType(DashboardType value)
void SetWidgets(WidgetsT &&value)
CreateDashboardResult & WithRequestId(RequestIdT &&value)
void SetTerminationProtectionEnabled(bool value)
CreateDashboardResult & WithTerminationProtectionEnabled(bool value)
CreateDashboardResult & WithName(NameT &&value)
void SetName(NameT &&value)
void SetTagsList(TagsListT &&value)
const Aws::Vector< Widget > & GetWidgets() const
bool GetTerminationProtectionEnabled() const
void SetRequestId(RequestIdT &&value)
const RefreshSchedule & GetRefreshSchedule() const
CreateDashboardResult & WithRefreshSchedule(RefreshScheduleT &&value)
CreateDashboardResult & AddTagsList(TagsListT &&value)
CreateDashboardResult & WithWidgets(WidgetsT &&value)
void SetRefreshSchedule(RefreshScheduleT &&value)
AWS_CLOUDTRAIL_API CreateDashboardResult()=default
CreateDashboardResult & WithDashboardArn(DashboardArnT &&value)
const Aws::String & GetName() const
CreateDashboardResult & AddWidgets(WidgetsT &&value)
DashboardType GetType() const
CreateDashboardResult & WithTagsList(TagsListT &&value)
AWS_CLOUDTRAIL_API CreateDashboardResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Tag > & GetTagsList() const
void SetDashboardArn(DashboardArnT &&value)
const Aws::String & GetRequestId() const
AWS_CLOUDTRAIL_API CreateDashboardResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetType(DashboardType 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