/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Batch { namespace Model { /** *

An object that contains the details of a scheduling policy that's returned in * a ListSchedulingPolicy action.

See Also:

AWS * API Reference

*/ class SchedulingPolicyListingDetail { public: AWS_BATCH_API SchedulingPolicyListingDetail(); AWS_BATCH_API SchedulingPolicyListingDetail(Aws::Utils::Json::JsonView jsonValue); AWS_BATCH_API SchedulingPolicyListingDetail& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Amazon Resource Name (ARN) of the scheduling policy.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

Amazon Resource Name (ARN) of the scheduling policy.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

Amazon Resource Name (ARN) of the scheduling policy.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

Amazon Resource Name (ARN) of the scheduling policy.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

Amazon Resource Name (ARN) of the scheduling policy.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

Amazon Resource Name (ARN) of the scheduling policy.

*/ inline SchedulingPolicyListingDetail& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

Amazon Resource Name (ARN) of the scheduling policy.

*/ inline SchedulingPolicyListingDetail& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

Amazon Resource Name (ARN) of the scheduling policy.

*/ inline SchedulingPolicyListingDetail& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; }; } // namespace Model } // namespace Batch } // namespace Aws