/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A resource in the organization that's available to be associated with a
* Firewall Manager resource set.See Also:
AWS
* API Reference
The universal resource identifier (URI) of the discovered resource.
*/ inline const Aws::String& GetURI() const{ return m_uRI; } /** *The universal resource identifier (URI) of the discovered resource.
*/ inline bool URIHasBeenSet() const { return m_uRIHasBeenSet; } /** *The universal resource identifier (URI) of the discovered resource.
*/ inline void SetURI(const Aws::String& value) { m_uRIHasBeenSet = true; m_uRI = value; } /** *The universal resource identifier (URI) of the discovered resource.
*/ inline void SetURI(Aws::String&& value) { m_uRIHasBeenSet = true; m_uRI = std::move(value); } /** *The universal resource identifier (URI) of the discovered resource.
*/ inline void SetURI(const char* value) { m_uRIHasBeenSet = true; m_uRI.assign(value); } /** *The universal resource identifier (URI) of the discovered resource.
*/ inline DiscoveredResource& WithURI(const Aws::String& value) { SetURI(value); return *this;} /** *The universal resource identifier (URI) of the discovered resource.
*/ inline DiscoveredResource& WithURI(Aws::String&& value) { SetURI(std::move(value)); return *this;} /** *The universal resource identifier (URI) of the discovered resource.
*/ inline DiscoveredResource& WithURI(const char* value) { SetURI(value); return *this;} /** *The Amazon Web Services account ID associated with the discovered * resource.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The Amazon Web Services account ID associated with the discovered * resource.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The Amazon Web Services account ID associated with the discovered * resource.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The Amazon Web Services account ID associated with the discovered * resource.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The Amazon Web Services account ID associated with the discovered * resource.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The Amazon Web Services account ID associated with the discovered * resource.
*/ inline DiscoveredResource& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The Amazon Web Services account ID associated with the discovered * resource.
*/ inline DiscoveredResource& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The Amazon Web Services account ID associated with the discovered * resource.
*/ inline DiscoveredResource& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *The type of the discovered resource.
*/ inline const Aws::String& GetType() const{ return m_type; } /** *The type of the discovered resource.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of the discovered resource.
*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of the discovered resource.
*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of the discovered resource.
*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *The type of the discovered resource.
*/ inline DiscoveredResource& WithType(const Aws::String& value) { SetType(value); return *this;} /** *The type of the discovered resource.
*/ inline DiscoveredResource& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *The type of the discovered resource.
*/ inline DiscoveredResource& WithType(const char* value) { SetType(value); return *this;} /** *The name of the discovered resource.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the discovered resource.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the discovered resource.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the discovered resource.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the discovered resource.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the discovered resource.
*/ inline DiscoveredResource& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the discovered resource.
*/ inline DiscoveredResource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the discovered resource.
*/ inline DiscoveredResource& WithName(const char* value) { SetName(value); return *this;} private: Aws::String m_uRI; bool m_uRIHasBeenSet = false; Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws