/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that contains details about a resource policy.See
* Also:
AWS
* API Reference
A structure that contains resource policy ID and Amazon Resource Name * (ARN).
*/ inline const ResourcePolicySummary& GetResourcePolicySummary() const{ return m_resourcePolicySummary; } /** *A structure that contains resource policy ID and Amazon Resource Name * (ARN).
*/ inline bool ResourcePolicySummaryHasBeenSet() const { return m_resourcePolicySummaryHasBeenSet; } /** *A structure that contains resource policy ID and Amazon Resource Name * (ARN).
*/ inline void SetResourcePolicySummary(const ResourcePolicySummary& value) { m_resourcePolicySummaryHasBeenSet = true; m_resourcePolicySummary = value; } /** *A structure that contains resource policy ID and Amazon Resource Name * (ARN).
*/ inline void SetResourcePolicySummary(ResourcePolicySummary&& value) { m_resourcePolicySummaryHasBeenSet = true; m_resourcePolicySummary = std::move(value); } /** *A structure that contains resource policy ID and Amazon Resource Name * (ARN).
*/ inline ResourcePolicy& WithResourcePolicySummary(const ResourcePolicySummary& value) { SetResourcePolicySummary(value); return *this;} /** *A structure that contains resource policy ID and Amazon Resource Name * (ARN).
*/ inline ResourcePolicy& WithResourcePolicySummary(ResourcePolicySummary&& value) { SetResourcePolicySummary(std::move(value)); return *this;} /** *The policy text of the resource policy.
*/ inline const Aws::String& GetContent() const{ return m_content; } /** *The policy text of the resource policy.
*/ inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } /** *The policy text of the resource policy.
*/ inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; } /** *The policy text of the resource policy.
*/ inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } /** *The policy text of the resource policy.
*/ inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); } /** *The policy text of the resource policy.
*/ inline ResourcePolicy& WithContent(const Aws::String& value) { SetContent(value); return *this;} /** *The policy text of the resource policy.
*/ inline ResourcePolicy& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;} /** *The policy text of the resource policy.
*/ inline ResourcePolicy& WithContent(const char* value) { SetContent(value); return *this;} private: ResourcePolicySummary m_resourcePolicySummary; bool m_resourcePolicySummaryHasBeenSet = false; Aws::String m_content; bool m_contentHasBeenSet = false; }; } // namespace Model } // namespace Organizations } // namespace Aws