317 lines
9.9 KiB
C++
317 lines
9.9 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/sms/SMS_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/sms/model/ValidationStatus.h>
|
|
#include <aws/core/utils/DateTime.h>
|
|
#include <aws/sms/model/AppValidationOutput.h>
|
|
#include <aws/sms/model/ServerValidationOutput.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace SMS
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Contains validation output.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ValidationOutput">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_SMS_API ValidationOutput
|
|
{
|
|
public:
|
|
ValidationOutput();
|
|
ValidationOutput(Aws::Utils::Json::JsonView jsonValue);
|
|
ValidationOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The ID of the validation.</p>
|
|
*/
|
|
inline const Aws::String& GetValidationId() const{ return m_validationId; }
|
|
|
|
/**
|
|
* <p>The ID of the validation.</p>
|
|
*/
|
|
inline bool ValidationIdHasBeenSet() const { return m_validationIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The ID of the validation.</p>
|
|
*/
|
|
inline void SetValidationId(const Aws::String& value) { m_validationIdHasBeenSet = true; m_validationId = value; }
|
|
|
|
/**
|
|
* <p>The ID of the validation.</p>
|
|
*/
|
|
inline void SetValidationId(Aws::String&& value) { m_validationIdHasBeenSet = true; m_validationId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ID of the validation.</p>
|
|
*/
|
|
inline void SetValidationId(const char* value) { m_validationIdHasBeenSet = true; m_validationId.assign(value); }
|
|
|
|
/**
|
|
* <p>The ID of the validation.</p>
|
|
*/
|
|
inline ValidationOutput& WithValidationId(const Aws::String& value) { SetValidationId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ID of the validation.</p>
|
|
*/
|
|
inline ValidationOutput& WithValidationId(Aws::String&& value) { SetValidationId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ID of the validation.</p>
|
|
*/
|
|
inline ValidationOutput& WithValidationId(const char* value) { SetValidationId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The name of the validation.</p>
|
|
*/
|
|
inline const Aws::String& GetName() const{ return m_name; }
|
|
|
|
/**
|
|
* <p>The name of the validation.</p>
|
|
*/
|
|
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the validation.</p>
|
|
*/
|
|
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
|
|
|
|
/**
|
|
* <p>The name of the validation.</p>
|
|
*/
|
|
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the validation.</p>
|
|
*/
|
|
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the validation.</p>
|
|
*/
|
|
inline ValidationOutput& WithName(const Aws::String& value) { SetName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the validation.</p>
|
|
*/
|
|
inline ValidationOutput& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the validation.</p>
|
|
*/
|
|
inline ValidationOutput& WithName(const char* value) { SetName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The status of the validation.</p>
|
|
*/
|
|
inline const ValidationStatus& GetStatus() const{ return m_status; }
|
|
|
|
/**
|
|
* <p>The status of the validation.</p>
|
|
*/
|
|
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The status of the validation.</p>
|
|
*/
|
|
inline void SetStatus(const ValidationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
|
|
|
|
/**
|
|
* <p>The status of the validation.</p>
|
|
*/
|
|
inline void SetStatus(ValidationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
|
|
|
|
/**
|
|
* <p>The status of the validation.</p>
|
|
*/
|
|
inline ValidationOutput& WithStatus(const ValidationStatus& value) { SetStatus(value); return *this;}
|
|
|
|
/**
|
|
* <p>The status of the validation.</p>
|
|
*/
|
|
inline ValidationOutput& WithStatus(ValidationStatus&& value) { SetStatus(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The status message.</p>
|
|
*/
|
|
inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
|
|
|
|
/**
|
|
* <p>The status message.</p>
|
|
*/
|
|
inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The status message.</p>
|
|
*/
|
|
inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
|
|
|
|
/**
|
|
* <p>The status message.</p>
|
|
*/
|
|
inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
|
|
|
|
/**
|
|
* <p>The status message.</p>
|
|
*/
|
|
inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
|
|
|
|
/**
|
|
* <p>The status message.</p>
|
|
*/
|
|
inline ValidationOutput& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
|
|
|
|
/**
|
|
* <p>The status message.</p>
|
|
*/
|
|
inline ValidationOutput& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The status message.</p>
|
|
*/
|
|
inline ValidationOutput& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The latest time that the validation was performed.</p>
|
|
*/
|
|
inline const Aws::Utils::DateTime& GetLatestValidationTime() const{ return m_latestValidationTime; }
|
|
|
|
/**
|
|
* <p>The latest time that the validation was performed.</p>
|
|
*/
|
|
inline bool LatestValidationTimeHasBeenSet() const { return m_latestValidationTimeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The latest time that the validation was performed.</p>
|
|
*/
|
|
inline void SetLatestValidationTime(const Aws::Utils::DateTime& value) { m_latestValidationTimeHasBeenSet = true; m_latestValidationTime = value; }
|
|
|
|
/**
|
|
* <p>The latest time that the validation was performed.</p>
|
|
*/
|
|
inline void SetLatestValidationTime(Aws::Utils::DateTime&& value) { m_latestValidationTimeHasBeenSet = true; m_latestValidationTime = std::move(value); }
|
|
|
|
/**
|
|
* <p>The latest time that the validation was performed.</p>
|
|
*/
|
|
inline ValidationOutput& WithLatestValidationTime(const Aws::Utils::DateTime& value) { SetLatestValidationTime(value); return *this;}
|
|
|
|
/**
|
|
* <p>The latest time that the validation was performed.</p>
|
|
*/
|
|
inline ValidationOutput& WithLatestValidationTime(Aws::Utils::DateTime&& value) { SetLatestValidationTime(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The output from validating an application.</p>
|
|
*/
|
|
inline const AppValidationOutput& GetAppValidationOutput() const{ return m_appValidationOutput; }
|
|
|
|
/**
|
|
* <p>The output from validating an application.</p>
|
|
*/
|
|
inline bool AppValidationOutputHasBeenSet() const { return m_appValidationOutputHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The output from validating an application.</p>
|
|
*/
|
|
inline void SetAppValidationOutput(const AppValidationOutput& value) { m_appValidationOutputHasBeenSet = true; m_appValidationOutput = value; }
|
|
|
|
/**
|
|
* <p>The output from validating an application.</p>
|
|
*/
|
|
inline void SetAppValidationOutput(AppValidationOutput&& value) { m_appValidationOutputHasBeenSet = true; m_appValidationOutput = std::move(value); }
|
|
|
|
/**
|
|
* <p>The output from validating an application.</p>
|
|
*/
|
|
inline ValidationOutput& WithAppValidationOutput(const AppValidationOutput& value) { SetAppValidationOutput(value); return *this;}
|
|
|
|
/**
|
|
* <p>The output from validating an application.</p>
|
|
*/
|
|
inline ValidationOutput& WithAppValidationOutput(AppValidationOutput&& value) { SetAppValidationOutput(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The output from validation an instance.</p>
|
|
*/
|
|
inline const ServerValidationOutput& GetServerValidationOutput() const{ return m_serverValidationOutput; }
|
|
|
|
/**
|
|
* <p>The output from validation an instance.</p>
|
|
*/
|
|
inline bool ServerValidationOutputHasBeenSet() const { return m_serverValidationOutputHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The output from validation an instance.</p>
|
|
*/
|
|
inline void SetServerValidationOutput(const ServerValidationOutput& value) { m_serverValidationOutputHasBeenSet = true; m_serverValidationOutput = value; }
|
|
|
|
/**
|
|
* <p>The output from validation an instance.</p>
|
|
*/
|
|
inline void SetServerValidationOutput(ServerValidationOutput&& value) { m_serverValidationOutputHasBeenSet = true; m_serverValidationOutput = std::move(value); }
|
|
|
|
/**
|
|
* <p>The output from validation an instance.</p>
|
|
*/
|
|
inline ValidationOutput& WithServerValidationOutput(const ServerValidationOutput& value) { SetServerValidationOutput(value); return *this;}
|
|
|
|
/**
|
|
* <p>The output from validation an instance.</p>
|
|
*/
|
|
inline ValidationOutput& WithServerValidationOutput(ServerValidationOutput&& value) { SetServerValidationOutput(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_validationId;
|
|
bool m_validationIdHasBeenSet;
|
|
|
|
Aws::String m_name;
|
|
bool m_nameHasBeenSet;
|
|
|
|
ValidationStatus m_status;
|
|
bool m_statusHasBeenSet;
|
|
|
|
Aws::String m_statusMessage;
|
|
bool m_statusMessageHasBeenSet;
|
|
|
|
Aws::Utils::DateTime m_latestValidationTime;
|
|
bool m_latestValidationTimeHasBeenSet;
|
|
|
|
AppValidationOutput m_appValidationOutput;
|
|
bool m_appValidationOutputHasBeenSet;
|
|
|
|
ServerValidationOutput m_serverValidationOutput;
|
|
bool m_serverValidationOutputHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SMS
|
|
} // namespace Aws
|