/**
* 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; } inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; } inline void SetDetails(const ResourceDetails& value) { m_detailsHasBeenSet = true; m_details = value; } inline void SetDetails(ResourceDetails&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); } inline Resource& WithDetails(const ResourceDetails& value) { SetDetails(value); return *this;} 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; } inline bool IdHasBeenSet() const { return m_idHasBeenSet; } inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } inline Resource& WithId(const Aws::String& value) { SetId(value); return *this;} inline Resource& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} inline Resource& WithId(const char* value) { SetId(value); return *this;} ///@} ///@{ /** *The tags attached to the resource.
*/ inline const Aws::MapThe type of resource.
*/ inline const Aws::String& GetType() const{ return m_type; } inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } inline Resource& WithType(const Aws::String& value) { SetType(value); return *this;} inline Resource& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} 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