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

The version of the extension.

*/ inline const ExtensionVersionDetails& GetExtensionVersion() const{ return m_extensionVersion; } /** *

The version of the extension.

*/ inline void SetExtensionVersion(const ExtensionVersionDetails& value) { m_extensionVersion = value; } /** *

The version of the extension.

*/ inline void SetExtensionVersion(ExtensionVersionDetails&& value) { m_extensionVersion = std::move(value); } /** *

The version of the extension.

*/ inline GetExtensionVersionResult& WithExtensionVersion(const ExtensionVersionDetails& value) { SetExtensionVersion(value); return *this;} /** *

The version of the extension.

*/ inline GetExtensionVersionResult& WithExtensionVersion(ExtensionVersionDetails&& value) { SetExtensionVersion(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 GetExtensionVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetExtensionVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetExtensionVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ExtensionVersionDetails m_extensionVersion; Aws::String m_requestId; }; } // namespace Model } // namespace GameSparks } // namespace Aws