This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

107 lines
3.0 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/application-insights/model/LogPattern.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
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<Aws::Utils::Json::JsonValue>& result);
UpdateLogPatternResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The name of the resource group.</p>
*/
inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; }
/**
* <p>The name of the resource group.</p>
*/
inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupName = value; }
/**
* <p>The name of the resource group.</p>
*/
inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupName = std::move(value); }
/**
* <p>The name of the resource group.</p>
*/
inline void SetResourceGroupName(const char* value) { m_resourceGroupName.assign(value); }
/**
* <p>The name of the resource group.</p>
*/
inline UpdateLogPatternResult& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
/**
* <p>The name of the resource group.</p>
*/
inline UpdateLogPatternResult& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
/**
* <p>The name of the resource group.</p>
*/
inline UpdateLogPatternResult& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;}
/**
* <p>The successfully created log pattern.</p>
*/
inline const LogPattern& GetLogPattern() const{ return m_logPattern; }
/**
* <p>The successfully created log pattern.</p>
*/
inline void SetLogPattern(const LogPattern& value) { m_logPattern = value; }
/**
* <p>The successfully created log pattern.</p>
*/
inline void SetLogPattern(LogPattern&& value) { m_logPattern = std::move(value); }
/**
* <p>The successfully created log pattern.</p>
*/
inline UpdateLogPatternResult& WithLogPattern(const LogPattern& value) { SetLogPattern(value); return *this;}
/**
* <p>The successfully created log pattern.</p>
*/
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