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

Details for a group without metadata.

See Also:

AWS * API Reference

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

The unique case-sensitive name of the group.

*/ inline const Aws::String& GetGroupName() const{ return m_groupName; } /** *

The unique case-sensitive name of the group.

*/ inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; } /** *

The unique case-sensitive name of the group.

*/ inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; } /** *

The unique case-sensitive name of the group.

*/ inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); } /** *

The unique case-sensitive name of the group.

*/ inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); } /** *

The unique case-sensitive name of the group.

*/ inline GroupSummary& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;} /** *

The unique case-sensitive name of the group.

*/ inline GroupSummary& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;} /** *

The unique case-sensitive name of the group.

*/ inline GroupSummary& WithGroupName(const char* value) { SetGroupName(value); return *this;} /** *

The ARN of the group generated based on the GroupName.

*/ inline const Aws::String& GetGroupARN() const{ return m_groupARN; } /** *

The ARN of the group generated based on the GroupName.

*/ inline bool GroupARNHasBeenSet() const { return m_groupARNHasBeenSet; } /** *

The ARN of the group generated based on the GroupName.

*/ inline void SetGroupARN(const Aws::String& value) { m_groupARNHasBeenSet = true; m_groupARN = value; } /** *

The ARN of the group generated based on the GroupName.

*/ inline void SetGroupARN(Aws::String&& value) { m_groupARNHasBeenSet = true; m_groupARN = std::move(value); } /** *

The ARN of the group generated based on the GroupName.

*/ inline void SetGroupARN(const char* value) { m_groupARNHasBeenSet = true; m_groupARN.assign(value); } /** *

The ARN of the group generated based on the GroupName.

*/ inline GroupSummary& WithGroupARN(const Aws::String& value) { SetGroupARN(value); return *this;} /** *

The ARN of the group generated based on the GroupName.

*/ inline GroupSummary& WithGroupARN(Aws::String&& value) { SetGroupARN(std::move(value)); return *this;} /** *

The ARN of the group generated based on the GroupName.

*/ inline GroupSummary& WithGroupARN(const char* value) { SetGroupARN(value); return *this;} /** *

The filter expression defining the parameters to include traces.

*/ inline const Aws::String& GetFilterExpression() const{ return m_filterExpression; } /** *

The filter expression defining the parameters to include traces.

*/ inline bool FilterExpressionHasBeenSet() const { return m_filterExpressionHasBeenSet; } /** *

The filter expression defining the parameters to include traces.

*/ inline void SetFilterExpression(const Aws::String& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = value; } /** *

The filter expression defining the parameters to include traces.

*/ inline void SetFilterExpression(Aws::String&& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = std::move(value); } /** *

The filter expression defining the parameters to include traces.

*/ inline void SetFilterExpression(const char* value) { m_filterExpressionHasBeenSet = true; m_filterExpression.assign(value); } /** *

The filter expression defining the parameters to include traces.

*/ inline GroupSummary& WithFilterExpression(const Aws::String& value) { SetFilterExpression(value); return *this;} /** *

The filter expression defining the parameters to include traces.

*/ inline GroupSummary& WithFilterExpression(Aws::String&& value) { SetFilterExpression(std::move(value)); return *this;} /** *

The filter expression defining the parameters to include traces.

*/ inline GroupSummary& WithFilterExpression(const char* value) { SetFilterExpression(value); return *this;} /** *

The structure containing configurations related to insights.

  • *

    The InsightsEnabled boolean can be set to true to enable insights for the * group or false to disable insights for the group.

  • The * NotificationsEnabled boolean can be set to true to enable insights * notifications. Notifications can only be enabled on a group with InsightsEnabled * set to true.

*/ inline const InsightsConfiguration& GetInsightsConfiguration() const{ return m_insightsConfiguration; } /** *

The structure containing configurations related to insights.

  • *

    The InsightsEnabled boolean can be set to true to enable insights for the * group or false to disable insights for the group.

  • The * NotificationsEnabled boolean can be set to true to enable insights * notifications. Notifications can only be enabled on a group with InsightsEnabled * set to true.

*/ inline bool InsightsConfigurationHasBeenSet() const { return m_insightsConfigurationHasBeenSet; } /** *

The structure containing configurations related to insights.

  • *

    The InsightsEnabled boolean can be set to true to enable insights for the * group or false to disable insights for the group.

  • The * NotificationsEnabled boolean can be set to true to enable insights * notifications. Notifications can only be enabled on a group with InsightsEnabled * set to true.

*/ inline void SetInsightsConfiguration(const InsightsConfiguration& value) { m_insightsConfigurationHasBeenSet = true; m_insightsConfiguration = value; } /** *

The structure containing configurations related to insights.

  • *

    The InsightsEnabled boolean can be set to true to enable insights for the * group or false to disable insights for the group.

  • The * NotificationsEnabled boolean can be set to true to enable insights * notifications. Notifications can only be enabled on a group with InsightsEnabled * set to true.

*/ inline void SetInsightsConfiguration(InsightsConfiguration&& value) { m_insightsConfigurationHasBeenSet = true; m_insightsConfiguration = std::move(value); } /** *

The structure containing configurations related to insights.

  • *

    The InsightsEnabled boolean can be set to true to enable insights for the * group or false to disable insights for the group.

  • The * NotificationsEnabled boolean can be set to true to enable insights * notifications. Notifications can only be enabled on a group with InsightsEnabled * set to true.

*/ inline GroupSummary& WithInsightsConfiguration(const InsightsConfiguration& value) { SetInsightsConfiguration(value); return *this;} /** *

The structure containing configurations related to insights.

  • *

    The InsightsEnabled boolean can be set to true to enable insights for the * group or false to disable insights for the group.

  • The * NotificationsEnabled boolean can be set to true to enable insights * notifications. Notifications can only be enabled on a group with InsightsEnabled * set to true.

*/ inline GroupSummary& WithInsightsConfiguration(InsightsConfiguration&& value) { SetInsightsConfiguration(std::move(value)); return *this;} private: Aws::String m_groupName; bool m_groupNameHasBeenSet = false; Aws::String m_groupARN; bool m_groupARNHasBeenSet = false; Aws::String m_filterExpression; bool m_filterExpressionHasBeenSet = false; InsightsConfiguration m_insightsConfiguration; bool m_insightsConfigurationHasBeenSet = false; }; } // namespace Model } // namespace XRay } // namespace Aws