/**
* 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;} /** *The Amazon Web Services account ID that owns the resource. For most Amazon * Web Services resources, the owning account is the account in which the resource * was created.
*/ inline const Aws::String& GetResourceOwnerAccount() const{ return m_resourceOwnerAccount; } /** *The Amazon Web Services account ID that owns the resource. For most Amazon * Web Services resources, the owning account is the account in which the resource * was created.
*/ inline bool ResourceOwnerAccountHasBeenSet() const { return m_resourceOwnerAccountHasBeenSet; } /** *The Amazon Web Services account ID that owns the resource. For most Amazon * Web Services resources, the owning account is the account in which the resource * was created.
*/ inline void SetResourceOwnerAccount(const Aws::String& value) { m_resourceOwnerAccountHasBeenSet = true; m_resourceOwnerAccount = value; } /** *The Amazon Web Services account ID that owns the resource. For most Amazon * Web Services resources, the owning account is the account in which the resource * was created.
*/ inline void SetResourceOwnerAccount(Aws::String&& value) { m_resourceOwnerAccountHasBeenSet = true; m_resourceOwnerAccount = std::move(value); } /** *The Amazon Web Services account ID that owns the resource. For most Amazon * Web Services resources, the owning account is the account in which the resource * was created.
*/ inline void SetResourceOwnerAccount(const char* value) { m_resourceOwnerAccountHasBeenSet = true; m_resourceOwnerAccount.assign(value); } /** *The Amazon Web Services account ID that owns the resource. For most Amazon * Web Services resources, the owning account is the account in which the resource * was created.
*/ inline StartResourceScanRequest& WithResourceOwnerAccount(const Aws::String& value) { SetResourceOwnerAccount(value); return *this;} /** *The Amazon Web Services account ID that owns the resource. For most Amazon * Web Services resources, the owning account is the account in which the resource * was created.
*/ inline StartResourceScanRequest& WithResourceOwnerAccount(Aws::String&& value) { SetResourceOwnerAccount(std::move(value)); return *this;} /** *The Amazon Web Services account ID that owns the resource. For most Amazon * Web Services resources, the owning account is the account in which the resource * was created.
*/ inline StartResourceScanRequest& WithResourceOwnerAccount(const char* value) { SetResourceOwnerAccount(value); return *this;} private: Aws::String m_analyzerArn; bool m_analyzerArnHasBeenSet = false; Aws::String m_resourceArn; bool m_resourceArnHasBeenSet = false; Aws::String m_resourceOwnerAccount; bool m_resourceOwnerAccountHasBeenSet = false; }; } // namespace Model } // namespace AccessAnalyzer } // namespace Aws