7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sms/model/AppStatus.h>
10#include <aws/sms/model/AppReplicationConfigurationStatus.h>
11#include <aws/sms/model/AppReplicationStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/sms/model/AppLaunchConfigurationStatus.h>
14#include <aws/sms/model/AppLaunchStatus.h>
15#include <aws/sms/model/LaunchDetails.h>
53 template<
typename AppIdT = Aws::String>
54 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet =
true; m_appId = std::forward<AppIdT>(value); }
55 template<
typename AppIdT = Aws::String>
65 template<
typename ImportedAppIdT = Aws::String>
66 void SetImportedAppId(ImportedAppIdT&& value) { m_importedAppIdHasBeenSet =
true; m_importedAppId = std::forward<ImportedAppIdT>(value); }
67 template<
typename ImportedAppIdT = Aws::String>
77 template<
typename NameT = Aws::String>
78 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
79 template<
typename NameT = Aws::String>
89 template<
typename DescriptionT = Aws::String>
90 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
91 template<
typename DescriptionT = Aws::String>
111 template<
typename StatusMessageT = Aws::String>
112 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
113 template<
typename StatusMessageT = Aws::String>
143 template<
typename ReplicationStatusMessageT = Aws::String>
144 void SetReplicationStatusMessage(ReplicationStatusMessageT&& value) { m_replicationStatusMessageHasBeenSet =
true; m_replicationStatusMessage = std::forward<ReplicationStatusMessageT>(value); }
145 template<
typename ReplicationStatusMessageT = Aws::String>
155 template<
typename LatestReplicationTimeT = Aws::Utils::DateTime>
156 void SetLatestReplicationTime(LatestReplicationTimeT&& value) { m_latestReplicationTimeHasBeenSet =
true; m_latestReplicationTime = std::forward<LatestReplicationTimeT>(value); }
157 template<
typename LatestReplicationTimeT = Aws::Utils::DateTime>
187 template<
typename LaunchStatusMessageT = Aws::String>
188 void SetLaunchStatusMessage(LaunchStatusMessageT&& value) { m_launchStatusMessageHasBeenSet =
true; m_launchStatusMessage = std::forward<LaunchStatusMessageT>(value); }
189 template<
typename LaunchStatusMessageT = Aws::String>
199 template<
typename LaunchDetailsT = LaunchDetails>
200 void SetLaunchDetails(LaunchDetailsT&& value) { m_launchDetailsHasBeenSet =
true; m_launchDetails = std::forward<LaunchDetailsT>(value); }
201 template<
typename LaunchDetailsT = LaunchDetails>
211 template<
typename CreationTimeT = Aws::Utils::DateTime>
212 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
213 template<
typename CreationTimeT = Aws::Utils::DateTime>
223 template<
typename LastModifiedT = Aws::Utils::DateTime>
224 void SetLastModified(LastModifiedT&& value) { m_lastModifiedHasBeenSet =
true; m_lastModified = std::forward<LastModifiedT>(value); }
225 template<
typename LastModifiedT = Aws::Utils::DateTime>
236 template<
typename RoleNameT = Aws::String>
237 void SetRoleName(RoleNameT&& value) { m_roleNameHasBeenSet =
true; m_roleName = std::forward<RoleNameT>(value); }
238 template<
typename RoleNameT = Aws::String>
248 inline void SetTotalServerGroups(
int value) { m_totalServerGroupsHasBeenSet =
true; m_totalServerGroups = value; }
258 inline void SetTotalServers(
int value) { m_totalServersHasBeenSet =
true; m_totalServers = value; }
264 bool m_appIdHasBeenSet =
false;
267 bool m_importedAppIdHasBeenSet =
false;
270 bool m_nameHasBeenSet =
false;
273 bool m_descriptionHasBeenSet =
false;
276 bool m_statusHasBeenSet =
false;
279 bool m_statusMessageHasBeenSet =
false;
282 bool m_replicationConfigurationStatusHasBeenSet =
false;
285 bool m_replicationStatusHasBeenSet =
false;
288 bool m_replicationStatusMessageHasBeenSet =
false;
291 bool m_latestReplicationTimeHasBeenSet =
false;
294 bool m_launchConfigurationStatusHasBeenSet =
false;
297 bool m_launchStatusHasBeenSet =
false;
300 bool m_launchStatusMessageHasBeenSet =
false;
302 LaunchDetails m_launchDetails;
303 bool m_launchDetailsHasBeenSet =
false;
306 bool m_creationTimeHasBeenSet =
false;
309 bool m_lastModifiedHasBeenSet =
false;
312 bool m_roleNameHasBeenSet =
false;
314 int m_totalServerGroups{0};
315 bool m_totalServerGroupsHasBeenSet =
false;
317 int m_totalServers{0};
318 bool m_totalServersHasBeenSet =
false;
AppSummary & WithLaunchStatusMessage(LaunchStatusMessageT &&value)
bool TotalServerGroupsHasBeenSet() const
bool LaunchStatusHasBeenSet() const
void SetName(NameT &&value)
bool ImportedAppIdHasBeenSet() const
const Aws::String & GetLaunchStatusMessage() const
void SetLaunchConfigurationStatus(AppLaunchConfigurationStatus value)
AppSummary & WithStatusMessage(StatusMessageT &&value)
bool ReplicationStatusMessageHasBeenSet() const
AppSummary & WithCreationTime(CreationTimeT &&value)
bool LatestReplicationTimeHasBeenSet() const
void SetReplicationStatus(AppReplicationStatus value)
void SetLaunchStatusMessage(LaunchStatusMessageT &&value)
AppSummary & WithImportedAppId(ImportedAppIdT &&value)
AppSummary & WithReplicationStatusMessage(ReplicationStatusMessageT &&value)
void SetDescription(DescriptionT &&value)
AWS_SMS_API AppSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AppSummary & WithAppId(AppIdT &&value)
AppSummary & WithLatestReplicationTime(LatestReplicationTimeT &&value)
int GetTotalServers() const
bool StatusMessageHasBeenSet() const
const Aws::String & GetName() const
void SetStatus(AppStatus value)
bool DescriptionHasBeenSet() const
AppSummary & WithName(NameT &&value)
AppSummary & WithTotalServers(int value)
AWS_SMS_API AppSummary(Aws::Utils::Json::JsonView jsonValue)
bool LaunchDetailsHasBeenSet() const
AppLaunchStatus GetLaunchStatus() const
const Aws::String & GetStatusMessage() const
AppLaunchConfigurationStatus GetLaunchConfigurationStatus() const
void SetLaunchStatus(AppLaunchStatus value)
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetCreationTime() const
AppSummary & WithReplicationStatus(AppReplicationStatus value)
bool TotalServersHasBeenSet() const
bool RoleNameHasBeenSet() const
void SetImportedAppId(ImportedAppIdT &&value)
void SetStatusMessage(StatusMessageT &&value)
AppSummary & WithLaunchConfigurationStatus(AppLaunchConfigurationStatus value)
AppSummary & WithTotalServerGroups(int value)
bool LaunchConfigurationStatusHasBeenSet() const
void SetLastModified(LastModifiedT &&value)
bool LaunchStatusMessageHasBeenSet() const
AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusHasBeenSet() const
void SetRoleName(RoleNameT &&value)
void SetTotalServerGroups(int value)
void SetCreationTime(CreationTimeT &&value)
bool LastModifiedHasBeenSet() const
void SetReplicationConfigurationStatus(AppReplicationConfigurationStatus value)
AppSummary & WithLaunchStatus(AppLaunchStatus value)
void SetReplicationStatusMessage(ReplicationStatusMessageT &&value)
void SetLaunchDetails(LaunchDetailsT &&value)
const Aws::String & GetReplicationStatusMessage() const
bool ReplicationConfigurationStatusHasBeenSet() const
const LaunchDetails & GetLaunchDetails() const
bool ReplicationStatusHasBeenSet() const
AppSummary & WithReplicationConfigurationStatus(AppReplicationConfigurationStatus value)
AppSummary & WithDescription(DescriptionT &&value)
void SetAppId(AppIdT &&value)
AWS_SMS_API AppSummary()=default
void SetLatestReplicationTime(LatestReplicationTimeT &&value)
int GetTotalServerGroups() const
AppStatus GetStatus() const
AppSummary & WithStatus(AppStatus value)
AppSummary & WithLaunchDetails(LaunchDetailsT &&value)
AppSummary & WithRoleName(RoleNameT &&value)
const Aws::String & GetRoleName() const
bool CreationTimeHasBeenSet() const
const Aws::String & GetAppId() const
void SetTotalServers(int value)
AppReplicationStatus GetReplicationStatus() const
const Aws::Utils::DateTime & GetLatestReplicationTime() const
bool NameHasBeenSet() const
AppSummary & WithLastModified(LastModifiedT &&value)
const Aws::String & GetImportedAppId() const
bool AppIdHasBeenSet() const
const Aws::Utils::DateTime & GetLastModified() const
AppReplicationConfigurationStatus GetReplicationConfigurationStatus() const
AppLaunchConfigurationStatus
AppReplicationConfigurationStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue