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

The ARN of the Project or ReportGroup resource * that is associated with a resource policy.

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *

The ARN of the Project or ReportGroup resource * that is associated with a resource policy.

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

The ARN of the Project or ReportGroup resource * that is associated with a resource policy.

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

The ARN of the Project or ReportGroup resource * that is associated with a resource policy.

*/ inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); } /** *

The ARN of the Project or ReportGroup resource * that is associated with a resource policy.

*/ inline PutResourcePolicyResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *

The ARN of the Project or ReportGroup resource * that is associated with a resource policy.

*/ inline PutResourcePolicyResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *

The ARN of the Project or ReportGroup resource * that is associated with a resource policy.

*/ inline PutResourcePolicyResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} private: Aws::String m_resourceArn; }; } // namespace Model } // namespace CodeBuild } // namespace Aws