/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Starts a scan of the policies applied to the specified
* resource.See Also:
AWS
* API Reference
The ARN of the analyzer to use to scan the policies applied to the specified * resource.
*/ inline const Aws::String& GetAnalyzerArn() const{ return m_analyzerArn; } /** *The ARN of the analyzer to use to scan the policies applied to the specified * resource.
*/ inline bool AnalyzerArnHasBeenSet() const { return m_analyzerArnHasBeenSet; } /** *The ARN of the analyzer to use to scan the policies applied to the specified * resource.
*/ inline void SetAnalyzerArn(const Aws::String& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = value; } /** *The ARN of the analyzer to use to scan the policies applied to the specified * resource.
*/ inline void SetAnalyzerArn(Aws::String&& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = std::move(value); } /** *The ARN of the analyzer to use to scan the policies applied to the specified * resource.
*/ inline void SetAnalyzerArn(const char* value) { m_analyzerArnHasBeenSet = true; m_analyzerArn.assign(value); } /** *The ARN of the analyzer to use to scan the policies applied to the specified * resource.
*/ inline StartResourceScanRequest& WithAnalyzerArn(const Aws::String& value) { SetAnalyzerArn(value); return *this;} /** *The ARN of the analyzer to use to scan the policies applied to the specified * resource.
*/ inline StartResourceScanRequest& WithAnalyzerArn(Aws::String&& value) { SetAnalyzerArn(std::move(value)); return *this;} /** *The ARN of the analyzer to use to scan the policies applied to the specified * resource.
*/ inline StartResourceScanRequest& WithAnalyzerArn(const char* value) { SetAnalyzerArn(value); return *this;} /** *The ARN of the resource to scan.
*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *The ARN of the resource to scan.
*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *The ARN of the resource to scan.
*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *The ARN of the resource to scan.
*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *The ARN of the resource to scan.
*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *The ARN of the resource to scan.
*/ inline StartResourceScanRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *The ARN of the resource to scan.
*/ inline StartResourceScanRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *The ARN of the resource to scan.
*/ inline StartResourceScanRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} private: Aws::String m_analyzerArn; bool m_analyzerArnHasBeenSet; Aws::String m_resourceArn; bool m_resourceArnHasBeenSet; }; } // namespace Model } // namespace AccessAnalyzer } // namespace Aws