7#include <aws/AWSMigrationHub/MigrationHub_EXPORTS.h>
8#include <aws/AWSMigrationHub/model/Status.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace MigrationHub {
30 AWS_MIGRATIONHUB_API
Task() =
default;
42 m_statusHasBeenSet =
true;
59 template <
typename StatusDetailT = Aws::String>
61 m_statusDetailHasBeenSet =
true;
62 m_statusDetail = std::forward<StatusDetailT>(value);
64 template <
typename StatusDetailT = Aws::String>
78 m_progressPercentHasBeenSet =
true;
79 m_progressPercent = value;
91 int m_progressPercent{0};
92 bool m_statusHasBeenSet =
false;
93 bool m_statusDetailHasBeenSet =
false;
94 bool m_progressPercentHasBeenSet =
false;
AWS_MIGRATIONHUB_API Task()=default
AWS_MIGRATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProgressPercent(int value)
AWS_MIGRATIONHUB_API Task & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStatusDetail() const
void SetStatusDetail(StatusDetailT &&value)
bool ProgressPercentHasBeenSet() const
bool StatusDetailHasBeenSet() const
void SetStatus(Status value)
bool StatusHasBeenSet() const
Task & WithProgressPercent(int value)
Task & WithStatus(Status value)
int GetProgressPercent() const
Task & WithStatusDetail(StatusDetailT &&value)
AWS_MIGRATIONHUB_API Task(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue