/** * 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 ApplicationInsights { namespace Model { class DescribeComponentResult { public: AWS_APPLICATIONINSIGHTS_API DescribeComponentResult(); AWS_APPLICATIONINSIGHTS_API DescribeComponentResult(const Aws::AmazonWebServiceResult& result); AWS_APPLICATIONINSIGHTS_API DescribeComponentResult& operator=(const Aws::AmazonWebServiceResult& result); inline const ApplicationComponent& GetApplicationComponent() const{ return m_applicationComponent; } inline void SetApplicationComponent(const ApplicationComponent& value) { m_applicationComponent = value; } inline void SetApplicationComponent(ApplicationComponent&& value) { m_applicationComponent = std::move(value); } inline DescribeComponentResult& WithApplicationComponent(const ApplicationComponent& value) { SetApplicationComponent(value); return *this;} inline DescribeComponentResult& WithApplicationComponent(ApplicationComponent&& value) { SetApplicationComponent(std::move(value)); return *this;} /** *

The list of resource ARNs that belong to the component.

*/ inline const Aws::Vector& GetResourceList() const{ return m_resourceList; } /** *

The list of resource ARNs that belong to the component.

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

The list of resource ARNs that belong to the component.

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

The list of resource ARNs that belong to the component.

*/ inline DescribeComponentResult& WithResourceList(const Aws::Vector& value) { SetResourceList(value); return *this;} /** *

The list of resource ARNs that belong to the component.

*/ inline DescribeComponentResult& WithResourceList(Aws::Vector&& value) { SetResourceList(std::move(value)); return *this;} /** *

The list of resource ARNs that belong to the component.

*/ inline DescribeComponentResult& AddResourceList(const Aws::String& value) { m_resourceList.push_back(value); return *this; } /** *

The list of resource ARNs that belong to the component.

*/ inline DescribeComponentResult& AddResourceList(Aws::String&& value) { m_resourceList.push_back(std::move(value)); return *this; } /** *

The list of resource ARNs that belong to the component.

*/ inline DescribeComponentResult& AddResourceList(const char* value) { m_resourceList.push_back(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 DescribeComponentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeComponentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeComponentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ApplicationComponent m_applicationComponent; Aws::Vector m_resourceList; Aws::String m_requestId; }; } // namespace Model } // namespace ApplicationInsights } // namespace Aws