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/http/HttpResponse.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename DashboardArnT = Aws::String>
42 m_dashboardArnHasBeenSet =
true;
43 m_dashboardArn = std::forward<DashboardArnT>(value);
45 template <
typename DashboardArnT = Aws::String>
57 template <
typename NameT = Aws::String>
59 m_nameHasBeenSet =
true;
60 m_name = std::forward<NameT>(value);
62 template <
typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
75 m_typeHasBeenSet =
true;
89 template <
typename W
idgetsT = Aws::Vector<W
idget>>
91 m_widgetsHasBeenSet =
true;
92 m_widgets = std::forward<WidgetsT>(value);
94 template <
typename W
idgetsT = Aws::Vector<W
idget>>
99 template <
typename W
idgetsT = W
idget>
101 m_widgetsHasBeenSet =
true;
102 m_widgets.emplace_back(std::forward<WidgetsT>(value));
110 template <
typename TagsListT = Aws::Vector<Tag>>
112 m_tagsListHasBeenSet =
true;
113 m_tagsList = std::forward<TagsListT>(value);
115 template <
typename TagsListT = Aws::Vector<Tag>>
120 template <
typename TagsListT = Tag>
122 m_tagsListHasBeenSet =
true;
123 m_tagsList.emplace_back(std::forward<TagsListT>(value));
133 template <
typename RefreshScheduleT = RefreshSchedule>
135 m_refreshScheduleHasBeenSet =
true;
136 m_refreshSchedule = std::forward<RefreshScheduleT>(value);
138 template <
typename RefreshScheduleT = RefreshSchedule>
151 m_terminationProtectionEnabledHasBeenSet =
true;
152 m_terminationProtectionEnabled = value;
163 template <
typename RequestIdT = Aws::String>
165 m_requestIdHasBeenSet =
true;
166 m_requestId = std::forward<RequestIdT>(value);
168 template <
typename RequestIdT = Aws::String>
187 RefreshSchedule m_refreshSchedule;
189 bool m_terminationProtectionEnabled{
false};
193 bool m_dashboardArnHasBeenSet =
false;
194 bool m_nameHasBeenSet =
false;
195 bool m_typeHasBeenSet =
false;
196 bool m_widgetsHasBeenSet =
false;
197 bool m_tagsListHasBeenSet =
false;
198 bool m_refreshScheduleHasBeenSet =
false;
199 bool m_terminationProtectionEnabledHasBeenSet =
false;
200 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::Http::HttpResponseCode GetHttpResponseCode() const
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