/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the resource that was noncompliant with the audit
* check.See Also:
AWS
* API Reference
The type of the noncompliant resource.
*/ inline const ResourceType& GetResourceType() const{ return m_resourceType; } /** *The type of the noncompliant resource.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *The type of the noncompliant resource.
*/ inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *The type of the noncompliant resource.
*/ inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *The type of the noncompliant resource.
*/ inline NonCompliantResource& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} /** *The type of the noncompliant resource.
*/ inline NonCompliantResource& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} /** *Information that identifies the noncompliant resource.
*/ inline const ResourceIdentifier& GetResourceIdentifier() const{ return m_resourceIdentifier; } /** *Information that identifies the noncompliant resource.
*/ inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; } /** *Information that identifies the noncompliant resource.
*/ inline void SetResourceIdentifier(const ResourceIdentifier& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; } /** *Information that identifies the noncompliant resource.
*/ inline void SetResourceIdentifier(ResourceIdentifier&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); } /** *Information that identifies the noncompliant resource.
*/ inline NonCompliantResource& WithResourceIdentifier(const ResourceIdentifier& value) { SetResourceIdentifier(value); return *this;} /** *Information that identifies the noncompliant resource.
*/ inline NonCompliantResource& WithResourceIdentifier(ResourceIdentifier&& value) { SetResourceIdentifier(std::move(value)); return *this;} /** *Other information about the noncompliant resource.
*/ inline const Aws::MapOther information about the noncompliant resource.
*/ inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; } /** *Other information about the noncompliant resource.
*/ inline void SetAdditionalInfo(const Aws::MapOther information about the noncompliant resource.
*/ inline void SetAdditionalInfo(Aws::MapOther information about the noncompliant resource.
*/ inline NonCompliantResource& WithAdditionalInfo(const Aws::MapOther information about the noncompliant resource.
*/ inline NonCompliantResource& WithAdditionalInfo(Aws::MapOther information about the noncompliant resource.
*/ inline NonCompliantResource& AddAdditionalInfo(const Aws::String& key, const Aws::String& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, value); return *this; } /** *Other information about the noncompliant resource.
*/ inline NonCompliantResource& AddAdditionalInfo(Aws::String&& key, const Aws::String& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), value); return *this; } /** *Other information about the noncompliant resource.
*/ inline NonCompliantResource& AddAdditionalInfo(const Aws::String& key, Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, std::move(value)); return *this; } /** *Other information about the noncompliant resource.
*/ inline NonCompliantResource& AddAdditionalInfo(Aws::String&& key, Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), std::move(value)); return *this; } /** *Other information about the noncompliant resource.
*/ inline NonCompliantResource& AddAdditionalInfo(const char* key, Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, std::move(value)); return *this; } /** *Other information about the noncompliant resource.
*/ inline NonCompliantResource& AddAdditionalInfo(Aws::String&& key, const char* value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), value); return *this; } /** *Other information about the noncompliant resource.
*/ inline NonCompliantResource& AddAdditionalInfo(const char* key, const char* value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, value); return *this; } private: ResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; ResourceIdentifier m_resourceIdentifier; bool m_resourceIdentifierHasBeenSet = false; Aws::Map