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

Current applied schema ARN, including the minor version in use if one was * provided.

*/ inline const Aws::String& GetAppliedSchemaArn() const{ return m_appliedSchemaArn; } /** *

Current applied schema ARN, including the minor version in use if one was * provided.

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

Current applied schema ARN, including the minor version in use if one was * provided.

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

Current applied schema ARN, including the minor version in use if one was * provided.

*/ inline void SetAppliedSchemaArn(const char* value) { m_appliedSchemaArn.assign(value); } /** *

Current applied schema ARN, including the minor version in use if one was * provided.

*/ inline GetAppliedSchemaVersionResult& WithAppliedSchemaArn(const Aws::String& value) { SetAppliedSchemaArn(value); return *this;} /** *

Current applied schema ARN, including the minor version in use if one was * provided.

*/ inline GetAppliedSchemaVersionResult& WithAppliedSchemaArn(Aws::String&& value) { SetAppliedSchemaArn(std::move(value)); return *this;} /** *

Current applied schema ARN, including the minor version in use if one was * provided.

*/ inline GetAppliedSchemaVersionResult& WithAppliedSchemaArn(const char* value) { SetAppliedSchemaArn(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 GetAppliedSchemaVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetAppliedSchemaVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetAppliedSchemaVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_appliedSchemaArn; Aws::String m_requestId; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws