/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ApplicationInsights { namespace Model { class DescribeComponentConfigurationResult { public: AWS_APPLICATIONINSIGHTS_API DescribeComponentConfigurationResult(); AWS_APPLICATIONINSIGHTS_API DescribeComponentConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_APPLICATIONINSIGHTS_API DescribeComponentConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Indicates whether the application component is monitored.

*/ inline bool GetMonitor() const{ return m_monitor; } /** *

Indicates whether the application component is monitored.

*/ inline void SetMonitor(bool value) { m_monitor = value; } /** *

Indicates whether the application component is monitored.

*/ inline DescribeComponentConfigurationResult& WithMonitor(bool value) { SetMonitor(value); return *this;} /** *

The tier of the application component. Supported tiers include * DOT_NET_CORE, DOT_NET_WORKER, * DOT_NET_WEB, SQL_SERVER, and DEFAULT

*/ inline const Tier& GetTier() const{ return m_tier; } /** *

The tier of the application component. Supported tiers include * DOT_NET_CORE, DOT_NET_WORKER, * DOT_NET_WEB, SQL_SERVER, and DEFAULT

*/ inline void SetTier(const Tier& value) { m_tier = value; } /** *

The tier of the application component. Supported tiers include * DOT_NET_CORE, DOT_NET_WORKER, * DOT_NET_WEB, SQL_SERVER, and DEFAULT

*/ inline void SetTier(Tier&& value) { m_tier = std::move(value); } /** *

The tier of the application component. Supported tiers include * DOT_NET_CORE, DOT_NET_WORKER, * DOT_NET_WEB, SQL_SERVER, and DEFAULT

*/ inline DescribeComponentConfigurationResult& WithTier(const Tier& value) { SetTier(value); return *this;} /** *

The tier of the application component. Supported tiers include * DOT_NET_CORE, DOT_NET_WORKER, * DOT_NET_WEB, SQL_SERVER, and DEFAULT

*/ inline DescribeComponentConfigurationResult& WithTier(Tier&& value) { SetTier(std::move(value)); return *this;} /** *

The configuration settings of the component. The value is the escaped JSON of * the configuration.

*/ inline const Aws::String& GetComponentConfiguration() const{ return m_componentConfiguration; } /** *

The configuration settings of the component. The value is the escaped JSON of * the configuration.

*/ inline void SetComponentConfiguration(const Aws::String& value) { m_componentConfiguration = value; } /** *

The configuration settings of the component. The value is the escaped JSON of * the configuration.

*/ inline void SetComponentConfiguration(Aws::String&& value) { m_componentConfiguration = std::move(value); } /** *

The configuration settings of the component. The value is the escaped JSON of * the configuration.

*/ inline void SetComponentConfiguration(const char* value) { m_componentConfiguration.assign(value); } /** *

The configuration settings of the component. The value is the escaped JSON of * the configuration.

*/ inline DescribeComponentConfigurationResult& WithComponentConfiguration(const Aws::String& value) { SetComponentConfiguration(value); return *this;} /** *

The configuration settings of the component. The value is the escaped JSON of * the configuration.

*/ inline DescribeComponentConfigurationResult& WithComponentConfiguration(Aws::String&& value) { SetComponentConfiguration(std::move(value)); return *this;} /** *

The configuration settings of the component. The value is the escaped JSON of * the configuration.

*/ inline DescribeComponentConfigurationResult& WithComponentConfiguration(const char* value) { SetComponentConfiguration(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeComponentConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeComponentConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeComponentConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: bool m_monitor; Tier m_tier; Aws::String m_componentConfiguration; Aws::String m_requestId; }; } // namespace Model } // namespace ApplicationInsights } // namespace Aws