/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the output of a BatchGetApplicationRevisions
* operation.See Also:
AWS
* API Reference
The name of the application that corresponds to the revisions.
*/ inline const Aws::String& GetApplicationName() const{ return m_applicationName; } /** *The name of the application that corresponds to the revisions.
*/ inline void SetApplicationName(const Aws::String& value) { m_applicationName = value; } /** *The name of the application that corresponds to the revisions.
*/ inline void SetApplicationName(Aws::String&& value) { m_applicationName = std::move(value); } /** *The name of the application that corresponds to the revisions.
*/ inline void SetApplicationName(const char* value) { m_applicationName.assign(value); } /** *The name of the application that corresponds to the revisions.
*/ inline BatchGetApplicationRevisionsResult& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;} /** *The name of the application that corresponds to the revisions.
*/ inline BatchGetApplicationRevisionsResult& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;} /** *The name of the application that corresponds to the revisions.
*/ inline BatchGetApplicationRevisionsResult& WithApplicationName(const char* value) { SetApplicationName(value); return *this;} /** *Information about errors that might have occurred during the API call.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *Information about errors that might have occurred during the API call.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; } /** *Information about errors that might have occurred during the API call.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); } /** *Information about errors that might have occurred during the API call.
*/ inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); } /** *Information about errors that might have occurred during the API call.
*/ inline BatchGetApplicationRevisionsResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *Information about errors that might have occurred during the API call.
*/ inline BatchGetApplicationRevisionsResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *Information about errors that might have occurred during the API call.
*/ inline BatchGetApplicationRevisionsResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} /** *Additional information about the revisions, including the type and * location.
*/ inline const Aws::VectorAdditional information about the revisions, including the type and * location.
*/ inline void SetRevisions(const Aws::VectorAdditional information about the revisions, including the type and * location.
*/ inline void SetRevisions(Aws::VectorAdditional information about the revisions, including the type and * location.
*/ inline BatchGetApplicationRevisionsResult& WithRevisions(const Aws::VectorAdditional information about the revisions, including the type and * location.
*/ inline BatchGetApplicationRevisionsResult& WithRevisions(Aws::VectorAdditional information about the revisions, including the type and * location.
*/ inline BatchGetApplicationRevisionsResult& AddRevisions(const RevisionInfo& value) { m_revisions.push_back(value); return *this; } /** *Additional information about the revisions, including the type and * location.
*/ inline BatchGetApplicationRevisionsResult& AddRevisions(RevisionInfo&& value) { m_revisions.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 BatchGetApplicationRevisionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchGetApplicationRevisionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchGetApplicationRevisionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_applicationName; Aws::String m_errorMessage; Aws::Vector