/** * 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 LicenseManager { namespace Model { class CreateLicenseVersionResult { public: AWS_LICENSEMANAGER_API CreateLicenseVersionResult(); AWS_LICENSEMANAGER_API CreateLicenseVersionResult(const Aws::AmazonWebServiceResult& result); AWS_LICENSEMANAGER_API CreateLicenseVersionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

License ARN.

*/ inline const Aws::String& GetLicenseArn() const{ return m_licenseArn; } /** *

License ARN.

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

License ARN.

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

License ARN.

*/ inline void SetLicenseArn(const char* value) { m_licenseArn.assign(value); } /** *

License ARN.

*/ inline CreateLicenseVersionResult& WithLicenseArn(const Aws::String& value) { SetLicenseArn(value); return *this;} /** *

License ARN.

*/ inline CreateLicenseVersionResult& WithLicenseArn(Aws::String&& value) { SetLicenseArn(std::move(value)); return *this;} /** *

License ARN.

*/ inline CreateLicenseVersionResult& WithLicenseArn(const char* value) { SetLicenseArn(value); return *this;} /** *

New version of the license.

*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *

New version of the license.

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

New version of the license.

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

New version of the license.

*/ inline void SetVersion(const char* value) { m_version.assign(value); } /** *

New version of the license.

*/ inline CreateLicenseVersionResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *

New version of the license.

*/ inline CreateLicenseVersionResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *

New version of the license.

*/ inline CreateLicenseVersionResult& WithVersion(const char* value) { SetVersion(value); return *this;} /** *

License status.

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

License status.

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

License status.

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

License status.

*/ inline CreateLicenseVersionResult& WithStatus(const LicenseStatus& value) { SetStatus(value); return *this;} /** *

License status.

*/ inline CreateLicenseVersionResult& WithStatus(LicenseStatus&& 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 CreateLicenseVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateLicenseVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateLicenseVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_licenseArn; Aws::String m_version; LicenseStatus m_status; Aws::String m_requestId; }; } // namespace Model } // namespace LicenseManager } // namespace Aws