/** * 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 Support { namespace Model { /** *

The list of Amazon Web Services services returned by the * DescribeServices operation.

See Also:

AWS * API Reference

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

A JSON-formatted list of Amazon Web Services services.

*/ inline const Aws::Vector& GetServices() const{ return m_services; } /** *

A JSON-formatted list of Amazon Web Services services.

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

A JSON-formatted list of Amazon Web Services services.

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

A JSON-formatted list of Amazon Web Services services.

*/ inline DescribeServicesResult& WithServices(const Aws::Vector& value) { SetServices(value); return *this;} /** *

A JSON-formatted list of Amazon Web Services services.

*/ inline DescribeServicesResult& WithServices(Aws::Vector&& value) { SetServices(std::move(value)); return *this;} /** *

A JSON-formatted list of Amazon Web Services services.

*/ inline DescribeServicesResult& AddServices(const Service& value) { m_services.push_back(value); return *this; } /** *

A JSON-formatted list of Amazon Web Services services.

*/ inline DescribeServicesResult& AddServices(Service&& value) { m_services.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 DescribeServicesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeServicesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeServicesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_services; Aws::String m_requestId; }; } // namespace Model } // namespace Support } // namespace Aws