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

The details of the AWS Firewall Manager policy.

*/ inline const Policy& GetPolicy() const{ return m_policy; } /** *

The details of the AWS Firewall Manager policy.

*/ inline void SetPolicy(const Policy& value) { m_policy = value; } /** *

The details of the AWS Firewall Manager policy.

*/ inline void SetPolicy(Policy&& value) { m_policy = std::move(value); } /** *

The details of the AWS Firewall Manager policy.

*/ inline PutPolicyResult& WithPolicy(const Policy& value) { SetPolicy(value); return *this;} /** *

The details of the AWS Firewall Manager policy.

*/ inline PutPolicyResult& WithPolicy(Policy&& value) { SetPolicy(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the policy.

*/ inline const Aws::String& GetPolicyArn() const{ return m_policyArn; } /** *

The Amazon Resource Name (ARN) of the policy.

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

The Amazon Resource Name (ARN) of the policy.

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

The Amazon Resource Name (ARN) of the policy.

*/ inline void SetPolicyArn(const char* value) { m_policyArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the policy.

*/ inline PutPolicyResult& WithPolicyArn(const Aws::String& value) { SetPolicyArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the policy.

*/ inline PutPolicyResult& WithPolicyArn(Aws::String&& value) { SetPolicyArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the policy.

*/ inline PutPolicyResult& WithPolicyArn(const char* value) { SetPolicyArn(value); return *this;} private: Policy m_policy; Aws::String m_policyArn; }; } // namespace Model } // namespace FMS } // namespace Aws