/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the resource type RDSDBInstance
* involved in a GuardDuty finding.See Also:
AWS
* API Reference
The identifier associated to the database instance that was involved in the * finding.
*/ inline const Aws::String& GetDbInstanceIdentifier() const{ return m_dbInstanceIdentifier; } /** *The identifier associated to the database instance that was involved in the * finding.
*/ inline bool DbInstanceIdentifierHasBeenSet() const { return m_dbInstanceIdentifierHasBeenSet; } /** *The identifier associated to the database instance that was involved in the * finding.
*/ inline void SetDbInstanceIdentifier(const Aws::String& value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier = value; } /** *The identifier associated to the database instance that was involved in the * finding.
*/ inline void SetDbInstanceIdentifier(Aws::String&& value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier = std::move(value); } /** *The identifier associated to the database instance that was involved in the * finding.
*/ inline void SetDbInstanceIdentifier(const char* value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier.assign(value); } /** *The identifier associated to the database instance that was involved in the * finding.
*/ inline RdsDbInstanceDetails& WithDbInstanceIdentifier(const Aws::String& value) { SetDbInstanceIdentifier(value); return *this;} /** *The identifier associated to the database instance that was involved in the * finding.
*/ inline RdsDbInstanceDetails& WithDbInstanceIdentifier(Aws::String&& value) { SetDbInstanceIdentifier(std::move(value)); return *this;} /** *The identifier associated to the database instance that was involved in the * finding.
*/ inline RdsDbInstanceDetails& WithDbInstanceIdentifier(const char* value) { SetDbInstanceIdentifier(value); return *this;} /** *The database engine of the database instance involved in the finding.
*/ inline const Aws::String& GetEngine() const{ return m_engine; } /** *The database engine of the database instance involved in the finding.
*/ inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; } /** *The database engine of the database instance involved in the finding.
*/ inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; } /** *The database engine of the database instance involved in the finding.
*/ inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); } /** *The database engine of the database instance involved in the finding.
*/ inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); } /** *The database engine of the database instance involved in the finding.
*/ inline RdsDbInstanceDetails& WithEngine(const Aws::String& value) { SetEngine(value); return *this;} /** *The database engine of the database instance involved in the finding.
*/ inline RdsDbInstanceDetails& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;} /** *The database engine of the database instance involved in the finding.
*/ inline RdsDbInstanceDetails& WithEngine(const char* value) { SetEngine(value); return *this;} /** *The version of the database engine that was involved in the finding.
*/ inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; } /** *The version of the database engine that was involved in the finding.
*/ inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; } /** *The version of the database engine that was involved in the finding.
*/ inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; } /** *The version of the database engine that was involved in the finding.
*/ inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); } /** *The version of the database engine that was involved in the finding.
*/ inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); } /** *The version of the database engine that was involved in the finding.
*/ inline RdsDbInstanceDetails& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;} /** *The version of the database engine that was involved in the finding.
*/ inline RdsDbInstanceDetails& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;} /** *The version of the database engine that was involved in the finding.
*/ inline RdsDbInstanceDetails& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;} /** *The identifier of the database cluster that contains the database instance ID * involved in the finding.
*/ inline const Aws::String& GetDbClusterIdentifier() const{ return m_dbClusterIdentifier; } /** *The identifier of the database cluster that contains the database instance ID * involved in the finding.
*/ inline bool DbClusterIdentifierHasBeenSet() const { return m_dbClusterIdentifierHasBeenSet; } /** *The identifier of the database cluster that contains the database instance ID * involved in the finding.
*/ inline void SetDbClusterIdentifier(const Aws::String& value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier = value; } /** *The identifier of the database cluster that contains the database instance ID * involved in the finding.
*/ inline void SetDbClusterIdentifier(Aws::String&& value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier = std::move(value); } /** *The identifier of the database cluster that contains the database instance ID * involved in the finding.
*/ inline void SetDbClusterIdentifier(const char* value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier.assign(value); } /** *The identifier of the database cluster that contains the database instance ID * involved in the finding.
*/ inline RdsDbInstanceDetails& WithDbClusterIdentifier(const Aws::String& value) { SetDbClusterIdentifier(value); return *this;} /** *The identifier of the database cluster that contains the database instance ID * involved in the finding.
*/ inline RdsDbInstanceDetails& WithDbClusterIdentifier(Aws::String&& value) { SetDbClusterIdentifier(std::move(value)); return *this;} /** *The identifier of the database cluster that contains the database instance ID * involved in the finding.
*/ inline RdsDbInstanceDetails& WithDbClusterIdentifier(const char* value) { SetDbClusterIdentifier(value); return *this;} /** *The Amazon Resource Name (ARN) that identifies the database instance involved * in the finding.
*/ inline const Aws::String& GetDbInstanceArn() const{ return m_dbInstanceArn; } /** *The Amazon Resource Name (ARN) that identifies the database instance involved * in the finding.
*/ inline bool DbInstanceArnHasBeenSet() const { return m_dbInstanceArnHasBeenSet; } /** *The Amazon Resource Name (ARN) that identifies the database instance involved * in the finding.
*/ inline void SetDbInstanceArn(const Aws::String& value) { m_dbInstanceArnHasBeenSet = true; m_dbInstanceArn = value; } /** *The Amazon Resource Name (ARN) that identifies the database instance involved * in the finding.
*/ inline void SetDbInstanceArn(Aws::String&& value) { m_dbInstanceArnHasBeenSet = true; m_dbInstanceArn = std::move(value); } /** *The Amazon Resource Name (ARN) that identifies the database instance involved * in the finding.
*/ inline void SetDbInstanceArn(const char* value) { m_dbInstanceArnHasBeenSet = true; m_dbInstanceArn.assign(value); } /** *The Amazon Resource Name (ARN) that identifies the database instance involved * in the finding.
*/ inline RdsDbInstanceDetails& WithDbInstanceArn(const Aws::String& value) { SetDbInstanceArn(value); return *this;} /** *The Amazon Resource Name (ARN) that identifies the database instance involved * in the finding.
*/ inline RdsDbInstanceDetails& WithDbInstanceArn(Aws::String&& value) { SetDbInstanceArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) that identifies the database instance involved * in the finding.
*/ inline RdsDbInstanceDetails& WithDbInstanceArn(const char* value) { SetDbInstanceArn(value); return *this;} /** *Instance tag key-value pairs associated with the database instance ID.
*/ inline const Aws::VectorInstance tag key-value pairs associated with the database instance ID.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Instance tag key-value pairs associated with the database instance ID.
*/ inline void SetTags(const Aws::VectorInstance tag key-value pairs associated with the database instance ID.
*/ inline void SetTags(Aws::VectorInstance tag key-value pairs associated with the database instance ID.
*/ inline RdsDbInstanceDetails& WithTags(const Aws::VectorInstance tag key-value pairs associated with the database instance ID.
*/ inline RdsDbInstanceDetails& WithTags(Aws::VectorInstance tag key-value pairs associated with the database instance ID.
*/ inline RdsDbInstanceDetails& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *Instance tag key-value pairs associated with the database instance ID.
*/ inline RdsDbInstanceDetails& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_dbInstanceIdentifier; bool m_dbInstanceIdentifierHasBeenSet = false; Aws::String m_engine; bool m_engineHasBeenSet = false; Aws::String m_engineVersion; bool m_engineVersionHasBeenSet = false; Aws::String m_dbClusterIdentifier; bool m_dbClusterIdentifierHasBeenSet = false; Aws::String m_dbInstanceArn; bool m_dbInstanceArnHasBeenSet = false; Aws::Vector