/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about the resource involved in a finding.See Also:
* AWS API
* Reference
An object that contains details about the resource involved in a finding.
*/ inline const ResourceDetails& GetDetails() const{ return m_details; } /** *An object that contains details about the resource involved in a finding.
*/ inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; } /** *An object that contains details about the resource involved in a finding.
*/ inline void SetDetails(const ResourceDetails& value) { m_detailsHasBeenSet = true; m_details = value; } /** *An object that contains details about the resource involved in a finding.
*/ inline void SetDetails(ResourceDetails&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); } /** *An object that contains details about the resource involved in a finding.
*/ inline Resource& WithDetails(const ResourceDetails& value) { SetDetails(value); return *this;} /** *An object that contains details about the resource involved in a finding.
*/ inline Resource& WithDetails(ResourceDetails&& value) { SetDetails(std::move(value)); return *this;} /** *The ID of the resource.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the resource.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the resource.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the resource.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the resource.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the resource.
*/ inline Resource& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the resource.
*/ inline Resource& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the resource.
*/ inline Resource& WithId(const char* value) { SetId(value); return *this;} /** *The tags attached to the resource.
*/ inline const Aws::MapThe tags attached to the resource.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags attached to the resource.
*/ inline void SetTags(const Aws::MapThe tags attached to the resource.
*/ inline void SetTags(Aws::MapThe tags attached to the resource.
*/ inline Resource& WithTags(const Aws::MapThe tags attached to the resource.
*/ inline Resource& WithTags(Aws::MapThe tags attached to the resource.
*/ inline Resource& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags attached to the resource.
*/ inline Resource& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags attached to the resource.
*/ inline Resource& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags attached to the resource.
*/ inline Resource& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags attached to the resource.
*/ inline Resource& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags attached to the resource.
*/ inline Resource& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags attached to the resource.
*/ inline Resource& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The type of resource.
*/ inline const Aws::String& GetType() const{ return m_type; } /** *The type of resource.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of resource.
*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of resource.
*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of resource.
*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *The type of resource.
*/ inline Resource& WithType(const Aws::String& value) { SetType(value); return *this;} /** *The type of resource.
*/ inline Resource& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *The type of resource.
*/ inline Resource& WithType(const char* value) { SetType(value); return *this;} private: ResourceDetails m_details; bool m_detailsHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::Map