7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/migrationhubstrategy/model/AssessmentStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
23namespace MigrationHubStrategyRecommendations
60 inline void SetFailed(
int value) { m_failedHasBeenSet =
true; m_failed = value; }
71 inline void SetInProgress(
int value) { m_inProgressHasBeenSet =
true; m_inProgress = value; }
81 inline void SetServers(
int value) { m_serversHasBeenSet =
true; m_servers = value; }
117 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
129 inline void SetSuccess(
int value) { m_successHasBeenSet =
true; m_success = value; }
135 bool m_completionTimeHasBeenSet =
false;
138 bool m_failedHasBeenSet =
false;
141 bool m_inProgressHasBeenSet =
false;
144 bool m_serversHasBeenSet =
false;
147 bool m_startTimeHasBeenSet =
false;
150 bool m_statusHasBeenSet =
false;
153 bool m_statusMessageHasBeenSet =
false;
156 bool m_successHasBeenSet =
false;
DataCollectionDetails & WithCompletionTime(Aws::Utils::DateTime &&value)
DataCollectionDetails & WithFailed(int value)
const AssessmentStatus & GetStatus() const
DataCollectionDetails & WithStartTime(const Aws::Utils::DateTime &value)
DataCollectionDetails & WithStartTime(Aws::Utils::DateTime &&value)
DataCollectionDetails & WithStatusMessage(const char *value)
DataCollectionDetails & WithServers(int value)
DataCollectionDetails & WithInProgress(int value)
DataCollectionDetails & WithStatusMessage(Aws::String &&value)
int GetInProgress() const
void SetStartTime(const Aws::Utils::DateTime &value)
bool StatusHasBeenSet() const
void SetSuccess(int value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API DataCollectionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
DataCollectionDetails & WithStatusMessage(const Aws::String &value)
void SetCompletionTime(Aws::Utils::DateTime &&value)
bool CompletionTimeHasBeenSet() const
DataCollectionDetails & WithCompletionTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCompletionTime() const
bool StatusMessageHasBeenSet() const
void SetStatus(const AssessmentStatus &value)
void SetStatus(AssessmentStatus &&value)
void SetStatusMessage(const Aws::String &value)
void SetCompletionTime(const Aws::Utils::DateTime &value)
DataCollectionDetails & WithStatus(const AssessmentStatus &value)
bool StartTimeHasBeenSet() const
DataCollectionDetails & WithSuccess(int value)
void SetFailed(int value)
void SetServers(int value)
void SetInProgress(int value)
bool ServersHasBeenSet() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API DataCollectionDetails()
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatusMessage(Aws::String &&value)
bool InProgressHasBeenSet() const
const Aws::String & GetStatusMessage() const
const Aws::Utils::DateTime & GetStartTime() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API DataCollectionDetails(Aws::Utils::Json::JsonView jsonValue)
void SetStartTime(Aws::Utils::DateTime &&value)
bool FailedHasBeenSet() const
void SetStatusMessage(const char *value)
DataCollectionDetails & WithStatus(AssessmentStatus &&value)
bool SuccessHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue