/** * 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 ApplicationInsights { namespace Model { /** */ class DescribeLogPatternRequest : public ApplicationInsightsRequest { public: AWS_APPLICATIONINSIGHTS_API DescribeLogPatternRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeLogPattern"; } AWS_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override; AWS_APPLICATIONINSIGHTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the resource group.

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

The name of the resource group.

*/ inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; } /** *

The name of the resource group.

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

The name of the resource group.

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

The name of the resource group.

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

The name of the resource group.

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

The name of the resource group.

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

The name of the resource group.

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

The name of the log pattern set.

*/ inline const Aws::String& GetPatternSetName() const{ return m_patternSetName; } /** *

The name of the log pattern set.

*/ inline bool PatternSetNameHasBeenSet() const { return m_patternSetNameHasBeenSet; } /** *

The name of the log pattern set.

*/ inline void SetPatternSetName(const Aws::String& value) { m_patternSetNameHasBeenSet = true; m_patternSetName = value; } /** *

The name of the log pattern set.

*/ inline void SetPatternSetName(Aws::String&& value) { m_patternSetNameHasBeenSet = true; m_patternSetName = std::move(value); } /** *

The name of the log pattern set.

*/ inline void SetPatternSetName(const char* value) { m_patternSetNameHasBeenSet = true; m_patternSetName.assign(value); } /** *

The name of the log pattern set.

*/ inline DescribeLogPatternRequest& WithPatternSetName(const Aws::String& value) { SetPatternSetName(value); return *this;} /** *

The name of the log pattern set.

*/ inline DescribeLogPatternRequest& WithPatternSetName(Aws::String&& value) { SetPatternSetName(std::move(value)); return *this;} /** *

The name of the log pattern set.

*/ inline DescribeLogPatternRequest& WithPatternSetName(const char* value) { SetPatternSetName(value); return *this;} /** *

The name of the log pattern.

*/ inline const Aws::String& GetPatternName() const{ return m_patternName; } /** *

The name of the log pattern.

*/ inline bool PatternNameHasBeenSet() const { return m_patternNameHasBeenSet; } /** *

The name of the log pattern.

*/ inline void SetPatternName(const Aws::String& value) { m_patternNameHasBeenSet = true; m_patternName = value; } /** *

The name of the log pattern.

*/ inline void SetPatternName(Aws::String&& value) { m_patternNameHasBeenSet = true; m_patternName = std::move(value); } /** *

The name of the log pattern.

*/ inline void SetPatternName(const char* value) { m_patternNameHasBeenSet = true; m_patternName.assign(value); } /** *

The name of the log pattern.

*/ inline DescribeLogPatternRequest& WithPatternName(const Aws::String& value) { SetPatternName(value); return *this;} /** *

The name of the log pattern.

*/ inline DescribeLogPatternRequest& WithPatternName(Aws::String&& value) { SetPatternName(std::move(value)); return *this;} /** *

The name of the log pattern.

*/ inline DescribeLogPatternRequest& WithPatternName(const char* value) { SetPatternName(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 bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *

The AWS account ID for the resource group owner.

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

The AWS account ID for the resource group owner.

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

The AWS account ID for the resource group owner.

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

The AWS account ID for the resource group owner.

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

The AWS account ID for the resource group owner.

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

The AWS account ID for the resource group owner.

*/ inline DescribeLogPatternRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;} private: Aws::String m_resourceGroupName; bool m_resourceGroupNameHasBeenSet = false; Aws::String m_patternSetName; bool m_patternSetNameHasBeenSet = false; Aws::String m_patternName; bool m_patternNameHasBeenSet = false; Aws::String m_accountId; bool m_accountIdHasBeenSet = false; }; } // namespace Model } // namespace ApplicationInsights } // namespace Aws