/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace PI { namespace Model { /** *

Information about dimensions within a dimension group.

See * Also:

AWS * API Reference

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

The name of the dimension group.

*/ inline const Aws::String& GetGroup() const{ return m_group; } /** *

The name of the dimension group.

*/ inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; } /** *

The name of the dimension group.

*/ inline void SetGroup(const Aws::String& value) { m_groupHasBeenSet = true; m_group = value; } /** *

The name of the dimension group.

*/ inline void SetGroup(Aws::String&& value) { m_groupHasBeenSet = true; m_group = std::move(value); } /** *

The name of the dimension group.

*/ inline void SetGroup(const char* value) { m_groupHasBeenSet = true; m_group.assign(value); } /** *

The name of the dimension group.

*/ inline DimensionGroupDetail& WithGroup(const Aws::String& value) { SetGroup(value); return *this;} /** *

The name of the dimension group.

*/ inline DimensionGroupDetail& WithGroup(Aws::String&& value) { SetGroup(std::move(value)); return *this;} /** *

The name of the dimension group.

*/ inline DimensionGroupDetail& WithGroup(const char* value) { SetGroup(value); return *this;} /** *

The dimensions within a dimension group.

*/ inline const Aws::Vector& GetDimensions() const{ return m_dimensions; } /** *

The dimensions within a dimension group.

*/ inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; } /** *

The dimensions within a dimension group.

*/ inline void SetDimensions(const Aws::Vector& value) { m_dimensionsHasBeenSet = true; m_dimensions = value; } /** *

The dimensions within a dimension group.

*/ inline void SetDimensions(Aws::Vector&& value) { m_dimensionsHasBeenSet = true; m_dimensions = std::move(value); } /** *

The dimensions within a dimension group.

*/ inline DimensionGroupDetail& WithDimensions(const Aws::Vector& value) { SetDimensions(value); return *this;} /** *

The dimensions within a dimension group.

*/ inline DimensionGroupDetail& WithDimensions(Aws::Vector&& value) { SetDimensions(std::move(value)); return *this;} /** *

The dimensions within a dimension group.

*/ inline DimensionGroupDetail& AddDimensions(const DimensionDetail& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(value); return *this; } /** *

The dimensions within a dimension group.

*/ inline DimensionGroupDetail& AddDimensions(DimensionDetail&& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(std::move(value)); return *this; } private: Aws::String m_group; bool m_groupHasBeenSet = false; Aws::Vector m_dimensions; bool m_dimensionsHasBeenSet = false; }; } // namespace Model } // namespace PI } // namespace Aws