/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Updates findings with the new values provided in the request.See
* Also:
AWS
* API Reference
The ARN * of the analyzer that generated the findings to update.
*/ inline const Aws::String& GetAnalyzerArn() const{ return m_analyzerArn; } /** *The ARN * of the analyzer that generated the findings to update.
*/ inline bool AnalyzerArnHasBeenSet() const { return m_analyzerArnHasBeenSet; } /** *The ARN * of the analyzer that generated the findings to update.
*/ inline void SetAnalyzerArn(const Aws::String& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = value; } /** *The ARN * of the analyzer that generated the findings to update.
*/ inline void SetAnalyzerArn(Aws::String&& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = std::move(value); } /** *The ARN * of the analyzer that generated the findings to update.
*/ inline void SetAnalyzerArn(const char* value) { m_analyzerArnHasBeenSet = true; m_analyzerArn.assign(value); } /** *The ARN * of the analyzer that generated the findings to update.
*/ inline UpdateFindingsRequest& WithAnalyzerArn(const Aws::String& value) { SetAnalyzerArn(value); return *this;} /** *The ARN * of the analyzer that generated the findings to update.
*/ inline UpdateFindingsRequest& WithAnalyzerArn(Aws::String&& value) { SetAnalyzerArn(std::move(value)); return *this;} /** *The ARN * of the analyzer that generated the findings to update.
*/ inline UpdateFindingsRequest& WithAnalyzerArn(const char* value) { SetAnalyzerArn(value); return *this;} /** *The state represents the action to take to update the finding Status. Use
* ARCHIVE
to change an Active finding to an Archived finding. Use
* ACTIVE
to change an Archived finding to an Active finding.
The state represents the action to take to update the finding Status. Use
* ARCHIVE
to change an Active finding to an Archived finding. Use
* ACTIVE
to change an Archived finding to an Active finding.
The state represents the action to take to update the finding Status. Use
* ARCHIVE
to change an Active finding to an Archived finding. Use
* ACTIVE
to change an Archived finding to an Active finding.
The state represents the action to take to update the finding Status. Use
* ARCHIVE
to change an Active finding to an Archived finding. Use
* ACTIVE
to change an Archived finding to an Active finding.
The state represents the action to take to update the finding Status. Use
* ARCHIVE
to change an Active finding to an Archived finding. Use
* ACTIVE
to change an Archived finding to an Active finding.
The state represents the action to take to update the finding Status. Use
* ARCHIVE
to change an Active finding to an Archived finding. Use
* ACTIVE
to change an Archived finding to an Active finding.
The IDs of the findings to update.
*/ inline const Aws::VectorThe IDs of the findings to update.
*/ inline bool IdsHasBeenSet() const { return m_idsHasBeenSet; } /** *The IDs of the findings to update.
*/ inline void SetIds(const Aws::VectorThe IDs of the findings to update.
*/ inline void SetIds(Aws::VectorThe IDs of the findings to update.
*/ inline UpdateFindingsRequest& WithIds(const Aws::VectorThe IDs of the findings to update.
*/ inline UpdateFindingsRequest& WithIds(Aws::VectorThe IDs of the findings to update.
*/ inline UpdateFindingsRequest& AddIds(const Aws::String& value) { m_idsHasBeenSet = true; m_ids.push_back(value); return *this; } /** *The IDs of the findings to update.
*/ inline UpdateFindingsRequest& AddIds(Aws::String&& value) { m_idsHasBeenSet = true; m_ids.push_back(std::move(value)); return *this; } /** *The IDs of the findings to update.
*/ inline UpdateFindingsRequest& AddIds(const char* value) { m_idsHasBeenSet = true; m_ids.push_back(value); return *this; } /** *The ARN of the resource identified in the finding.
*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *The ARN of the resource identified in the finding.
*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *The ARN of the resource identified in the finding.
*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *The ARN of the resource identified in the finding.
*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *The ARN of the resource identified in the finding.
*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *The ARN of the resource identified in the finding.
*/ inline UpdateFindingsRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *The ARN of the resource identified in the finding.
*/ inline UpdateFindingsRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *The ARN of the resource identified in the finding.
*/ inline UpdateFindingsRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *A client token.
*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *A client token.
*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *A client token.
*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *A client token.
*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *A client token.
*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *A client token.
*/ inline UpdateFindingsRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *A client token.
*/ inline UpdateFindingsRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *A client token.
*/ inline UpdateFindingsRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: Aws::String m_analyzerArn; bool m_analyzerArnHasBeenSet = false; FindingStatusUpdate m_status; bool m_statusHasBeenSet = false; Aws::Vector