/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the category by which the session analytics were grouped and a
* member of that category.See Also:
AWS
* API Reference
The category by which the session analytics were grouped.
*/ inline const AnalyticsSessionField& GetName() const{ return m_name; } /** *The category by which the session analytics were grouped.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The category by which the session analytics were grouped.
*/ inline void SetName(const AnalyticsSessionField& value) { m_nameHasBeenSet = true; m_name = value; } /** *The category by which the session analytics were grouped.
*/ inline void SetName(AnalyticsSessionField&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The category by which the session analytics were grouped.
*/ inline AnalyticsSessionGroupByKey& WithName(const AnalyticsSessionField& value) { SetName(value); return *this;} /** *The category by which the session analytics were grouped.
*/ inline AnalyticsSessionGroupByKey& WithName(AnalyticsSessionField&& value) { SetName(std::move(value)); return *this;} /** *A member of the category by which the session analytics were grouped.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *A member of the category by which the session analytics were grouped.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *A member of the category by which the session analytics were grouped.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *A member of the category by which the session analytics were grouped.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *A member of the category by which the session analytics were grouped.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *A member of the category by which the session analytics were grouped.
*/ inline AnalyticsSessionGroupByKey& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *A member of the category by which the session analytics were grouped.
*/ inline AnalyticsSessionGroupByKey& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *A member of the category by which the session analytics were grouped.
*/ inline AnalyticsSessionGroupByKey& WithValue(const char* value) { SetValue(value); return *this;} private: AnalyticsSessionField m_name; bool m_nameHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws