/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ApplicationInsights { namespace Model { class ListLogPatternsResult { public: AWS_APPLICATIONINSIGHTS_API ListLogPatternsResult(); AWS_APPLICATIONINSIGHTS_API ListLogPatternsResult(const Aws::AmazonWebServiceResult& result); AWS_APPLICATIONINSIGHTS_API ListLogPatternsResult& 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 ListLogPatternsResult& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;} /** *

The name of the resource group.

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

The name of the resource group.

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

The AWS account ID for the resource group owner.

*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *

The AWS account ID for the resource group owner.

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

The AWS account ID for the resource group owner.

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

The AWS account ID for the resource group owner.

*/ inline void SetAccountId(const char* value) { m_accountId.assign(value); } /** *

The AWS account ID for the resource group owner.

*/ inline ListLogPatternsResult& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *

The AWS account ID for the resource group owner.

*/ inline ListLogPatternsResult& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *

The AWS account ID for the resource group owner.

*/ inline ListLogPatternsResult& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *

The list of log patterns.

*/ inline const Aws::Vector& GetLogPatterns() const{ return m_logPatterns; } /** *

The list of log patterns.

*/ inline void SetLogPatterns(const Aws::Vector& value) { m_logPatterns = value; } /** *

The list of log patterns.

*/ inline void SetLogPatterns(Aws::Vector&& value) { m_logPatterns = std::move(value); } /** *

The list of log patterns.

*/ inline ListLogPatternsResult& WithLogPatterns(const Aws::Vector& value) { SetLogPatterns(value); return *this;} /** *

The list of log patterns.

*/ inline ListLogPatternsResult& WithLogPatterns(Aws::Vector&& value) { SetLogPatterns(std::move(value)); return *this;} /** *

The list of log patterns.

*/ inline ListLogPatternsResult& AddLogPatterns(const LogPattern& value) { m_logPatterns.push_back(value); return *this; } /** *

The list of log patterns.

*/ inline ListLogPatternsResult& AddLogPatterns(LogPattern&& value) { m_logPatterns.push_back(std::move(value)); return *this; } /** *

The token used to retrieve the next page of results. This value is * null when there are no more results to return.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The token used to retrieve the next page of results. This value is * null when there are no more results to return.

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

The token used to retrieve the next page of results. This value is * null when there are no more results to return.

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

The token used to retrieve the next page of results. This value is * null when there are no more results to return.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The token used to retrieve the next page of results. This value is * null when there are no more results to return.

*/ inline ListLogPatternsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token used to retrieve the next page of results. This value is * null when there are no more results to return.

*/ inline ListLogPatternsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token used to retrieve the next page of results. This value is * null when there are no more results to return.

*/ inline ListLogPatternsResult& WithNextToken(const char* value) { SetNextToken(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 ListLogPatternsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListLogPatternsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListLogPatternsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_resourceGroupName; Aws::String m_accountId; Aws::Vector m_logPatterns; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace ApplicationInsights } // namespace Aws