/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CloudWatchLogs { namespace Model { class DescribeAccountPoliciesResult { public: AWS_CLOUDWATCHLOGS_API DescribeAccountPoliciesResult(); AWS_CLOUDWATCHLOGS_API DescribeAccountPoliciesResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDWATCHLOGS_API DescribeAccountPoliciesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of structures that contain information about the CloudWatch Logs * account policies that match the specified filters.

*/ inline const Aws::Vector& GetAccountPolicies() const{ return m_accountPolicies; } /** *

An array of structures that contain information about the CloudWatch Logs * account policies that match the specified filters.

*/ inline void SetAccountPolicies(const Aws::Vector& value) { m_accountPolicies = value; } /** *

An array of structures that contain information about the CloudWatch Logs * account policies that match the specified filters.

*/ inline void SetAccountPolicies(Aws::Vector&& value) { m_accountPolicies = std::move(value); } /** *

An array of structures that contain information about the CloudWatch Logs * account policies that match the specified filters.

*/ inline DescribeAccountPoliciesResult& WithAccountPolicies(const Aws::Vector& value) { SetAccountPolicies(value); return *this;} /** *

An array of structures that contain information about the CloudWatch Logs * account policies that match the specified filters.

*/ inline DescribeAccountPoliciesResult& WithAccountPolicies(Aws::Vector&& value) { SetAccountPolicies(std::move(value)); return *this;} /** *

An array of structures that contain information about the CloudWatch Logs * account policies that match the specified filters.

*/ inline DescribeAccountPoliciesResult& AddAccountPolicies(const AccountPolicy& value) { m_accountPolicies.push_back(value); return *this; } /** *

An array of structures that contain information about the CloudWatch Logs * account policies that match the specified filters.

*/ inline DescribeAccountPoliciesResult& AddAccountPolicies(AccountPolicy&& value) { m_accountPolicies.push_back(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 DescribeAccountPoliciesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeAccountPoliciesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeAccountPoliciesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_accountPolicies; Aws::String m_requestId; }; } // namespace Model } // namespace CloudWatchLogs } // namespace Aws