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

The information about a dimension.

See Also:

AWS * API Reference

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

The identifier of a dimension.

*/ inline const Aws::String& GetIdentifier() const{ return m_identifier; } /** *

The identifier of a dimension.

*/ inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } /** *

The identifier of a dimension.

*/ inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } /** *

The identifier of a dimension.

*/ inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } /** *

The identifier of a dimension.

*/ inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } /** *

The identifier of a dimension.

*/ inline DimensionDetail& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} /** *

The identifier of a dimension.

*/ inline DimensionDetail& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} /** *

The identifier of a dimension.

*/ inline DimensionDetail& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} private: Aws::String m_identifier; bool m_identifierHasBeenSet = false; }; } // namespace Model } // namespace PI } // namespace Aws