/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ConfigService { namespace Model { /** *

See Also:

AWS * API Reference

*/ class ListDiscoveredResourcesResult { public: AWS_CONFIGSERVICE_API ListDiscoveredResourcesResult(); AWS_CONFIGSERVICE_API ListDiscoveredResourcesResult(const Aws::AmazonWebServiceResult& result); AWS_CONFIGSERVICE_API ListDiscoveredResourcesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The details that identify a resource that is discovered by Config, including * the resource type, ID, and (if available) the custom resource name.

*/ inline const Aws::Vector& GetResourceIdentifiers() const{ return m_resourceIdentifiers; } /** *

The details that identify a resource that is discovered by Config, including * the resource type, ID, and (if available) the custom resource name.

*/ inline void SetResourceIdentifiers(const Aws::Vector& value) { m_resourceIdentifiers = value; } /** *

The details that identify a resource that is discovered by Config, including * the resource type, ID, and (if available) the custom resource name.

*/ inline void SetResourceIdentifiers(Aws::Vector&& value) { m_resourceIdentifiers = std::move(value); } /** *

The details that identify a resource that is discovered by Config, including * the resource type, ID, and (if available) the custom resource name.

*/ inline ListDiscoveredResourcesResult& WithResourceIdentifiers(const Aws::Vector& value) { SetResourceIdentifiers(value); return *this;} /** *

The details that identify a resource that is discovered by Config, including * the resource type, ID, and (if available) the custom resource name.

*/ inline ListDiscoveredResourcesResult& WithResourceIdentifiers(Aws::Vector&& value) { SetResourceIdentifiers(std::move(value)); return *this;} /** *

The details that identify a resource that is discovered by Config, including * the resource type, ID, and (if available) the custom resource name.

*/ inline ListDiscoveredResourcesResult& AddResourceIdentifiers(const ResourceIdentifier& value) { m_resourceIdentifiers.push_back(value); return *this; } /** *

The details that identify a resource that is discovered by Config, including * the resource type, ID, and (if available) the custom resource name.

*/ inline ListDiscoveredResourcesResult& AddResourceIdentifiers(ResourceIdentifier&& value) { m_resourceIdentifiers.push_back(std::move(value)); return *this; } /** *

The string that you use in a subsequent request to get the next page of * results in a paginated response.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The string that you use in a subsequent request to get the next page of * results in a paginated response.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

The string that you use in a subsequent request to get the next page of * results in a paginated response.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

The string that you use in a subsequent request to get the next page of * results in a paginated response.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The string that you use in a subsequent request to get the next page of * results in a paginated response.

*/ inline ListDiscoveredResourcesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The string that you use in a subsequent request to get the next page of * results in a paginated response.

*/ inline ListDiscoveredResourcesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The string that you use in a subsequent request to get the next page of * results in a paginated response.

*/ inline ListDiscoveredResourcesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListDiscoveredResourcesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListDiscoveredResourcesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListDiscoveredResourcesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_resourceIdentifiers; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace ConfigService } // namespace Aws