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

Grant ARN.

*/ inline const Aws::String& GetGrantArn() const{ return m_grantArn; } /** *

Grant ARN.

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

Grant ARN.

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

Grant ARN.

*/ inline void SetGrantArn(const char* value) { m_grantArn.assign(value); } /** *

Grant ARN.

*/ inline DeleteGrantResult& WithGrantArn(const Aws::String& value) { SetGrantArn(value); return *this;} /** *

Grant ARN.

*/ inline DeleteGrantResult& WithGrantArn(Aws::String&& value) { SetGrantArn(std::move(value)); return *this;} /** *

Grant ARN.

*/ inline DeleteGrantResult& WithGrantArn(const char* value) { SetGrantArn(value); return *this;} /** *

Grant status.

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

Grant status.

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

Grant status.

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

Grant status.

*/ inline DeleteGrantResult& WithStatus(const GrantStatus& value) { SetStatus(value); return *this;} /** *

Grant status.

*/ inline DeleteGrantResult& WithStatus(GrantStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

Grant version.

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

Grant version.

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

Grant version.

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

Grant version.

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

Grant version.

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

Grant version.

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

Grant version.

*/ inline DeleteGrantResult& WithVersion(const char* value) { SetVersion(value); return *this;} private: Aws::String m_grantArn; GrantStatus m_status; Aws::String m_version; }; } // namespace Model } // namespace LicenseManager } // namespace Aws