/** * 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 AuditManager { namespace Model { class GetServicesInScopeResult { public: AWS_AUDITMANAGER_API GetServicesInScopeResult(); AWS_AUDITMANAGER_API GetServicesInScopeResult(const Aws::AmazonWebServiceResult& result); AWS_AUDITMANAGER_API GetServicesInScopeResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The metadata that's associated with the Amazon Web Service.

*/ inline const Aws::Vector& GetServiceMetadata() const{ return m_serviceMetadata; } /** *

The metadata that's associated with the Amazon Web Service.

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

The metadata that's associated with the Amazon Web Service.

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

The metadata that's associated with the Amazon Web Service.

*/ inline GetServicesInScopeResult& WithServiceMetadata(const Aws::Vector& value) { SetServiceMetadata(value); return *this;} /** *

The metadata that's associated with the Amazon Web Service.

*/ inline GetServicesInScopeResult& WithServiceMetadata(Aws::Vector&& value) { SetServiceMetadata(std::move(value)); return *this;} /** *

The metadata that's associated with the Amazon Web Service.

*/ inline GetServicesInScopeResult& AddServiceMetadata(const ServiceMetadata& value) { m_serviceMetadata.push_back(value); return *this; } /** *

The metadata that's associated with the Amazon Web Service.

*/ inline GetServicesInScopeResult& AddServiceMetadata(ServiceMetadata&& value) { m_serviceMetadata.push_back(std::move(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 GetServicesInScopeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetServicesInScopeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetServicesInScopeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_serviceMetadata; Aws::String m_requestId; }; } // namespace Model } // namespace AuditManager } // namespace Aws