/** * 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 AWS_APPLICATIONINSIGHTS_API UpdateLogPatternResult { public: UpdateLogPatternResult(); UpdateLogPatternResult(const Aws::AmazonWebServiceResult& result); UpdateLogPatternResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the resource group.

*/ inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; } /** *

The name of the resource group.

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

The name of the resource group.

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

The name of the resource group.

*/ inline void SetResourceGroupName(const char* value) { m_resourceGroupName.assign(value); } /** *

The name of the resource group.

*/ inline UpdateLogPatternResult& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;} /** *

The name of the resource group.

*/ inline UpdateLogPatternResult& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;} /** *

The name of the resource group.

*/ inline UpdateLogPatternResult& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;} /** *

The successfully created log pattern.

*/ inline const LogPattern& GetLogPattern() const{ return m_logPattern; } /** *

The successfully created log pattern.

*/ inline void SetLogPattern(const LogPattern& value) { m_logPattern = value; } /** *

The successfully created log pattern.

*/ inline void SetLogPattern(LogPattern&& value) { m_logPattern = std::move(value); } /** *

The successfully created log pattern.

*/ inline UpdateLogPatternResult& WithLogPattern(const LogPattern& value) { SetLogPattern(value); return *this;} /** *

The successfully created log pattern.

*/ inline UpdateLogPatternResult& WithLogPattern(LogPattern&& value) { SetLogPattern(std::move(value)); return *this;} private: Aws::String m_resourceGroupName; LogPattern m_logPattern; }; } // namespace Model } // namespace ApplicationInsights } // namespace Aws