/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SMS { namespace Model { /** *

Contains validation output.

See Also:

AWS * API Reference

*/ class ValidationOutput { public: AWS_SMS_API ValidationOutput(); AWS_SMS_API ValidationOutput(Aws::Utils::Json::JsonView jsonValue); AWS_SMS_API ValidationOutput& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ID of the validation.

*/ inline const Aws::String& GetValidationId() const{ return m_validationId; } /** *

The ID of the validation.

*/ inline bool ValidationIdHasBeenSet() const { return m_validationIdHasBeenSet; } /** *

The ID of the validation.

*/ inline void SetValidationId(const Aws::String& value) { m_validationIdHasBeenSet = true; m_validationId = value; } /** *

The ID of the validation.

*/ inline void SetValidationId(Aws::String&& value) { m_validationIdHasBeenSet = true; m_validationId = std::move(value); } /** *

The ID of the validation.

*/ inline void SetValidationId(const char* value) { m_validationIdHasBeenSet = true; m_validationId.assign(value); } /** *

The ID of the validation.

*/ inline ValidationOutput& WithValidationId(const Aws::String& value) { SetValidationId(value); return *this;} /** *

The ID of the validation.

*/ inline ValidationOutput& WithValidationId(Aws::String&& value) { SetValidationId(std::move(value)); return *this;} /** *

The ID of the validation.

*/ inline ValidationOutput& WithValidationId(const char* value) { SetValidationId(value); return *this;} /** *

The name of the validation.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the validation.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the validation.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the validation.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the validation.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the validation.

*/ inline ValidationOutput& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the validation.

*/ inline ValidationOutput& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the validation.

*/ inline ValidationOutput& WithName(const char* value) { SetName(value); return *this;} /** *

The status of the validation.

*/ inline const ValidationStatus& GetStatus() const{ return m_status; } /** *

The status of the validation.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the validation.

*/ inline void SetStatus(const ValidationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the validation.

*/ inline void SetStatus(ValidationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the validation.

*/ inline ValidationOutput& WithStatus(const ValidationStatus& value) { SetStatus(value); return *this;} /** *

The status of the validation.

*/ inline ValidationOutput& WithStatus(ValidationStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The status message.

*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *

The status message.

*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *

The status message.

*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *

The status message.

*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *

The status message.

*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *

The status message.

*/ inline ValidationOutput& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *

The status message.

*/ inline ValidationOutput& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *

The status message.

*/ inline ValidationOutput& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *

The latest time that the validation was performed.

*/ inline const Aws::Utils::DateTime& GetLatestValidationTime() const{ return m_latestValidationTime; } /** *

The latest time that the validation was performed.

*/ inline bool LatestValidationTimeHasBeenSet() const { return m_latestValidationTimeHasBeenSet; } /** *

The latest time that the validation was performed.

*/ inline void SetLatestValidationTime(const Aws::Utils::DateTime& value) { m_latestValidationTimeHasBeenSet = true; m_latestValidationTime = value; } /** *

The latest time that the validation was performed.

*/ inline void SetLatestValidationTime(Aws::Utils::DateTime&& value) { m_latestValidationTimeHasBeenSet = true; m_latestValidationTime = std::move(value); } /** *

The latest time that the validation was performed.

*/ inline ValidationOutput& WithLatestValidationTime(const Aws::Utils::DateTime& value) { SetLatestValidationTime(value); return *this;} /** *

The latest time that the validation was performed.

*/ inline ValidationOutput& WithLatestValidationTime(Aws::Utils::DateTime&& value) { SetLatestValidationTime(std::move(value)); return *this;} /** *

The output from validating an application.

*/ inline const AppValidationOutput& GetAppValidationOutput() const{ return m_appValidationOutput; } /** *

The output from validating an application.

*/ inline bool AppValidationOutputHasBeenSet() const { return m_appValidationOutputHasBeenSet; } /** *

The output from validating an application.

*/ inline void SetAppValidationOutput(const AppValidationOutput& value) { m_appValidationOutputHasBeenSet = true; m_appValidationOutput = value; } /** *

The output from validating an application.

*/ inline void SetAppValidationOutput(AppValidationOutput&& value) { m_appValidationOutputHasBeenSet = true; m_appValidationOutput = std::move(value); } /** *

The output from validating an application.

*/ inline ValidationOutput& WithAppValidationOutput(const AppValidationOutput& value) { SetAppValidationOutput(value); return *this;} /** *

The output from validating an application.

*/ inline ValidationOutput& WithAppValidationOutput(AppValidationOutput&& value) { SetAppValidationOutput(std::move(value)); return *this;} /** *

The output from validation an instance.

*/ inline const ServerValidationOutput& GetServerValidationOutput() const{ return m_serverValidationOutput; } /** *

The output from validation an instance.

*/ inline bool ServerValidationOutputHasBeenSet() const { return m_serverValidationOutputHasBeenSet; } /** *

The output from validation an instance.

*/ inline void SetServerValidationOutput(const ServerValidationOutput& value) { m_serverValidationOutputHasBeenSet = true; m_serverValidationOutput = value; } /** *

The output from validation an instance.

*/ inline void SetServerValidationOutput(ServerValidationOutput&& value) { m_serverValidationOutputHasBeenSet = true; m_serverValidationOutput = std::move(value); } /** *

The output from validation an instance.

*/ inline ValidationOutput& WithServerValidationOutput(const ServerValidationOutput& value) { SetServerValidationOutput(value); return *this;} /** *

The output from validation an instance.

*/ inline ValidationOutput& WithServerValidationOutput(ServerValidationOutput&& value) { SetServerValidationOutput(std::move(value)); return *this;} private: Aws::String m_validationId; bool m_validationIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; ValidationStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; Aws::Utils::DateTime m_latestValidationTime; bool m_latestValidationTimeHasBeenSet = false; AppValidationOutput m_appValidationOutput; bool m_appValidationOutputHasBeenSet = false; ServerValidationOutput m_serverValidationOutput; bool m_serverValidationOutputHasBeenSet = false; }; } // namespace Model } // namespace SMS } // namespace Aws