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

The list of scheduling policies.

*/ inline const Aws::Vector& GetSchedulingPolicies() const{ return m_schedulingPolicies; } /** *

The list of scheduling policies.

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

The list of scheduling policies.

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

The list of scheduling policies.

*/ inline DescribeSchedulingPoliciesResult& WithSchedulingPolicies(const Aws::Vector& value) { SetSchedulingPolicies(value); return *this;} /** *

The list of scheduling policies.

*/ inline DescribeSchedulingPoliciesResult& WithSchedulingPolicies(Aws::Vector&& value) { SetSchedulingPolicies(std::move(value)); return *this;} /** *

The list of scheduling policies.

*/ inline DescribeSchedulingPoliciesResult& AddSchedulingPolicies(const SchedulingPolicyDetail& value) { m_schedulingPolicies.push_back(value); return *this; } /** *

The list of scheduling policies.

*/ inline DescribeSchedulingPoliciesResult& AddSchedulingPolicies(SchedulingPolicyDetail&& value) { m_schedulingPolicies.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 DescribeSchedulingPoliciesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeSchedulingPoliciesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeSchedulingPoliciesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_schedulingPolicies; Aws::String m_requestId; }; } // namespace Model } // namespace Batch } // namespace Aws