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

A key in the response map. The value is an array of data.

*/ inline const Aws::Vector>& GetConfigurations() const{ return m_configurations; } /** *

A key in the response map. The value is an array of data.

*/ inline void SetConfigurations(const Aws::Vector>& value) { m_configurations = value; } /** *

A key in the response map. The value is an array of data.

*/ inline void SetConfigurations(Aws::Vector>&& value) { m_configurations = std::move(value); } /** *

A key in the response map. The value is an array of data.

*/ inline DescribeConfigurationsResult& WithConfigurations(const Aws::Vector>& value) { SetConfigurations(value); return *this;} /** *

A key in the response map. The value is an array of data.

*/ inline DescribeConfigurationsResult& WithConfigurations(Aws::Vector>&& value) { SetConfigurations(std::move(value)); return *this;} /** *

A key in the response map. The value is an array of data.

*/ inline DescribeConfigurationsResult& AddConfigurations(const Aws::Map& value) { m_configurations.push_back(value); return *this; } /** *

A key in the response map. The value is an array of data.

*/ inline DescribeConfigurationsResult& AddConfigurations(Aws::Map&& value) { m_configurations.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 DescribeConfigurationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeConfigurationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeConfigurationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector> m_configurations; Aws::String m_requestId; }; } // namespace Model } // namespace ApplicationDiscoveryService } // namespace Aws