/** * 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 XRay { namespace Model { /** *

A list of resources ARNs corresponding to the segments in a * trace.

See Also:

AWS * API Reference

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

The ARN of a corresponding resource.

*/ inline const Aws::String& GetARN() const{ return m_aRN; } /** *

The ARN of a corresponding resource.

*/ inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; } /** *

The ARN of a corresponding resource.

*/ inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; } /** *

The ARN of a corresponding resource.

*/ inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); } /** *

The ARN of a corresponding resource.

*/ inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); } /** *

The ARN of a corresponding resource.

*/ inline ResourceARNDetail& WithARN(const Aws::String& value) { SetARN(value); return *this;} /** *

The ARN of a corresponding resource.

*/ inline ResourceARNDetail& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;} /** *

The ARN of a corresponding resource.

*/ inline ResourceARNDetail& WithARN(const char* value) { SetARN(value); return *this;} private: Aws::String m_aRN; bool m_aRNHasBeenSet = false; }; } // namespace Model } // namespace XRay } // namespace Aws