/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ServiceCatalog { namespace Model { class DescribeConstraintResult { public: AWS_SERVICECATALOG_API DescribeConstraintResult(); AWS_SERVICECATALOG_API DescribeConstraintResult(const Aws::AmazonWebServiceResult& result); AWS_SERVICECATALOG_API DescribeConstraintResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the constraint.

*/ inline const ConstraintDetail& GetConstraintDetail() const{ return m_constraintDetail; } /** *

Information about the constraint.

*/ inline void SetConstraintDetail(const ConstraintDetail& value) { m_constraintDetail = value; } /** *

Information about the constraint.

*/ inline void SetConstraintDetail(ConstraintDetail&& value) { m_constraintDetail = std::move(value); } /** *

Information about the constraint.

*/ inline DescribeConstraintResult& WithConstraintDetail(const ConstraintDetail& value) { SetConstraintDetail(value); return *this;} /** *

Information about the constraint.

*/ inline DescribeConstraintResult& WithConstraintDetail(ConstraintDetail&& value) { SetConstraintDetail(std::move(value)); return *this;} /** *

The constraint parameters.

*/ inline const Aws::String& GetConstraintParameters() const{ return m_constraintParameters; } /** *

The constraint parameters.

*/ inline void SetConstraintParameters(const Aws::String& value) { m_constraintParameters = value; } /** *

The constraint parameters.

*/ inline void SetConstraintParameters(Aws::String&& value) { m_constraintParameters = std::move(value); } /** *

The constraint parameters.

*/ inline void SetConstraintParameters(const char* value) { m_constraintParameters.assign(value); } /** *

The constraint parameters.

*/ inline DescribeConstraintResult& WithConstraintParameters(const Aws::String& value) { SetConstraintParameters(value); return *this;} /** *

The constraint parameters.

*/ inline DescribeConstraintResult& WithConstraintParameters(Aws::String&& value) { SetConstraintParameters(std::move(value)); return *this;} /** *

The constraint parameters.

*/ inline DescribeConstraintResult& WithConstraintParameters(const char* value) { SetConstraintParameters(value); return *this;} /** *

The status of the current request.

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

The status of the current request.

*/ inline void SetStatus(const Status& value) { m_status = value; } /** *

The status of the current request.

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

The status of the current request.

*/ inline DescribeConstraintResult& WithStatus(const Status& value) { SetStatus(value); return *this;} /** *

The status of the current request.

*/ inline DescribeConstraintResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeConstraintResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeConstraintResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeConstraintResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ConstraintDetail m_constraintDetail; Aws::String m_constraintParameters; Status m_status; Aws::String m_requestId; }; } // namespace Model } // namespace ServiceCatalog } // namespace Aws