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

A collection of the imported DocumentationPart identifiers.

See * Also:

AWS * API Reference

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

A list of the returned documentation part identifiers.

*/ inline const Aws::Vector& GetIds() const{ return m_ids; } /** *

A list of the returned documentation part identifiers.

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

A list of the returned documentation part identifiers.

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

A list of the returned documentation part identifiers.

*/ inline ImportDocumentationPartsResult& WithIds(const Aws::Vector& value) { SetIds(value); return *this;} /** *

A list of the returned documentation part identifiers.

*/ inline ImportDocumentationPartsResult& WithIds(Aws::Vector&& value) { SetIds(std::move(value)); return *this;} /** *

A list of the returned documentation part identifiers.

*/ inline ImportDocumentationPartsResult& AddIds(const Aws::String& value) { m_ids.push_back(value); return *this; } /** *

A list of the returned documentation part identifiers.

*/ inline ImportDocumentationPartsResult& AddIds(Aws::String&& value) { m_ids.push_back(std::move(value)); return *this; } /** *

A list of the returned documentation part identifiers.

*/ inline ImportDocumentationPartsResult& AddIds(const char* value) { m_ids.push_back(value); return *this; } /** *

A list of warning messages reported during import of documentation parts.

*/ inline const Aws::Vector& GetWarnings() const{ return m_warnings; } /** *

A list of warning messages reported during import of documentation parts.

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

A list of warning messages reported during import of documentation parts.

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

A list of warning messages reported during import of documentation parts.

*/ inline ImportDocumentationPartsResult& WithWarnings(const Aws::Vector& value) { SetWarnings(value); return *this;} /** *

A list of warning messages reported during import of documentation parts.

*/ inline ImportDocumentationPartsResult& WithWarnings(Aws::Vector&& value) { SetWarnings(std::move(value)); return *this;} /** *

A list of warning messages reported during import of documentation parts.

*/ inline ImportDocumentationPartsResult& AddWarnings(const Aws::String& value) { m_warnings.push_back(value); return *this; } /** *

A list of warning messages reported during import of documentation parts.

*/ inline ImportDocumentationPartsResult& AddWarnings(Aws::String&& value) { m_warnings.push_back(std::move(value)); return *this; } /** *

A list of warning messages reported during import of documentation parts.

*/ inline ImportDocumentationPartsResult& AddWarnings(const char* value) { m_warnings.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 ImportDocumentationPartsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ImportDocumentationPartsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ImportDocumentationPartsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_ids; Aws::Vector m_warnings; Aws::String m_requestId; }; } // namespace Model } // namespace APIGateway } // namespace Aws