/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Identifies the source of the finding change event. See Also:
* AWS
* API Reference
Describes the type of finding change event, such as a call to
* BatchImportFindings
(by an integrated Amazon Web Service or
* third party partner integration) or
* BatchUpdateFindings
(by a Security Hub customer).
Describes the type of finding change event, such as a call to
* BatchImportFindings
(by an integrated Amazon Web Service or
* third party partner integration) or
* BatchUpdateFindings
(by a Security Hub customer).
Describes the type of finding change event, such as a call to
* BatchImportFindings
(by an integrated Amazon Web Service or
* third party partner integration) or
* BatchUpdateFindings
(by a Security Hub customer).
Describes the type of finding change event, such as a call to
* BatchImportFindings
(by an integrated Amazon Web Service or
* third party partner integration) or
* BatchUpdateFindings
(by a Security Hub customer).
Describes the type of finding change event, such as a call to
* BatchImportFindings
(by an integrated Amazon Web Service or
* third party partner integration) or
* BatchUpdateFindings
(by a Security Hub customer).
Describes the type of finding change event, such as a call to
* BatchImportFindings
(by an integrated Amazon Web Service or
* third party partner integration) or
* BatchUpdateFindings
(by a Security Hub customer).
The identity of the source that initiated the finding change event. For * example, the Amazon Resource Name (ARN) of a partner that calls * BatchImportFindings or of a customer that calls BatchUpdateFindings.
*/ inline const Aws::String& GetIdentity() const{ return m_identity; } /** *The identity of the source that initiated the finding change event. For * example, the Amazon Resource Name (ARN) of a partner that calls * BatchImportFindings or of a customer that calls BatchUpdateFindings.
*/ inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; } /** *The identity of the source that initiated the finding change event. For * example, the Amazon Resource Name (ARN) of a partner that calls * BatchImportFindings or of a customer that calls BatchUpdateFindings.
*/ inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; } /** *The identity of the source that initiated the finding change event. For * example, the Amazon Resource Name (ARN) of a partner that calls * BatchImportFindings or of a customer that calls BatchUpdateFindings.
*/ inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); } /** *The identity of the source that initiated the finding change event. For * example, the Amazon Resource Name (ARN) of a partner that calls * BatchImportFindings or of a customer that calls BatchUpdateFindings.
*/ inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); } /** *The identity of the source that initiated the finding change event. For * example, the Amazon Resource Name (ARN) of a partner that calls * BatchImportFindings or of a customer that calls BatchUpdateFindings.
*/ inline FindingHistoryUpdateSource& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;} /** *The identity of the source that initiated the finding change event. For * example, the Amazon Resource Name (ARN) of a partner that calls * BatchImportFindings or of a customer that calls BatchUpdateFindings.
*/ inline FindingHistoryUpdateSource& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;} /** *The identity of the source that initiated the finding change event. For * example, the Amazon Resource Name (ARN) of a partner that calls * BatchImportFindings or of a customer that calls BatchUpdateFindings.
*/ inline FindingHistoryUpdateSource& WithIdentity(const char* value) { SetIdentity(value); return *this;} private: FindingHistoryUpdateSourceType m_type; bool m_typeHasBeenSet = false; Aws::String m_identity; bool m_identityHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws