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/Widget.h>
11#include <aws/core/http/HttpResponse.h>
12#include <aws/core/utils/DateTime.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));
112 template <
typename RefreshScheduleT = RefreshSchedule>
114 m_refreshScheduleHasBeenSet =
true;
115 m_refreshSchedule = std::forward<RefreshScheduleT>(value);
117 template <
typename RefreshScheduleT = RefreshSchedule>
130 m_terminationProtectionEnabledHasBeenSet =
true;
131 m_terminationProtectionEnabled = value;
144 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
146 m_createdTimestampHasBeenSet =
true;
147 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
149 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
161 template <
typename UpdatedTimestampT = Aws::Utils::DateTime>
163 m_updatedTimestampHasBeenSet =
true;
164 m_updatedTimestamp = std::forward<UpdatedTimestampT>(value);
166 template <
typename UpdatedTimestampT = Aws::Utils::DateTime>
176 template <
typename RequestIdT = Aws::String>
178 m_requestIdHasBeenSet =
true;
179 m_requestId = std::forward<RequestIdT>(value);
181 template <
typename RequestIdT = Aws::String>
198 RefreshSchedule m_refreshSchedule;
200 bool m_terminationProtectionEnabled{
false};
208 bool m_dashboardArnHasBeenSet =
false;
209 bool m_nameHasBeenSet =
false;
210 bool m_typeHasBeenSet =
false;
211 bool m_widgetsHasBeenSet =
false;
212 bool m_refreshScheduleHasBeenSet =
false;
213 bool m_terminationProtectionEnabledHasBeenSet =
false;
214 bool m_createdTimestampHasBeenSet =
false;
215 bool m_updatedTimestampHasBeenSet =
false;
216 bool m_requestIdHasBeenSet =
false;
void SetType(DashboardType value)
const RefreshSchedule & GetRefreshSchedule() const
const Aws::String & GetDashboardArn() const
const Aws::Utils::DateTime & GetCreatedTimestamp() const
UpdateDashboardResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Widget > & GetWidgets() const
UpdateDashboardResult & WithDashboardArn(DashboardArnT &&value)
UpdateDashboardResult & AddWidgets(WidgetsT &&value)
void SetName(NameT &&value)
UpdateDashboardResult & WithWidgets(WidgetsT &&value)
void SetDashboardArn(DashboardArnT &&value)
bool GetTerminationProtectionEnabled() const
UpdateDashboardResult & WithCreatedTimestamp(CreatedTimestampT &&value)
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
AWS_CLOUDTRAIL_API UpdateDashboardResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedTimestamp(CreatedTimestampT &&value)
const Aws::String & GetRequestId() const
UpdateDashboardResult & WithUpdatedTimestamp(UpdatedTimestampT &&value)
AWS_CLOUDTRAIL_API UpdateDashboardResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDTRAIL_API UpdateDashboardResult()=default
void SetWidgets(WidgetsT &&value)
void SetTerminationProtectionEnabled(bool value)
void SetUpdatedTimestamp(UpdatedTimestampT &&value)
DashboardType GetType() const
void SetRequestId(RequestIdT &&value)
UpdateDashboardResult & WithRefreshSchedule(RefreshScheduleT &&value)
UpdateDashboardResult & WithName(NameT &&value)
UpdateDashboardResult & WithType(DashboardType value)
void SetRefreshSchedule(RefreshScheduleT &&value)
const Aws::String & GetName() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateDashboardResult & WithTerminationProtectionEnabled(bool 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