/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the output of a GetApplicationRevision
* operation.See Also:
AWS
* API Reference
The name of the application that corresponds to the revision.
*/ inline const Aws::String& GetApplicationName() const{ return m_applicationName; } /** *The name of the application that corresponds to the revision.
*/ inline void SetApplicationName(const Aws::String& value) { m_applicationName = value; } /** *The name of the application that corresponds to the revision.
*/ inline void SetApplicationName(Aws::String&& value) { m_applicationName = std::move(value); } /** *The name of the application that corresponds to the revision.
*/ inline void SetApplicationName(const char* value) { m_applicationName.assign(value); } /** *The name of the application that corresponds to the revision.
*/ inline GetApplicationRevisionResult& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;} /** *The name of the application that corresponds to the revision.
*/ inline GetApplicationRevisionResult& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;} /** *The name of the application that corresponds to the revision.
*/ inline GetApplicationRevisionResult& WithApplicationName(const char* value) { SetApplicationName(value); return *this;} /** *Additional information about the revision, including type and location.
*/ inline const RevisionLocation& GetRevision() const{ return m_revision; } /** *Additional information about the revision, including type and location.
*/ inline void SetRevision(const RevisionLocation& value) { m_revision = value; } /** *Additional information about the revision, including type and location.
*/ inline void SetRevision(RevisionLocation&& value) { m_revision = std::move(value); } /** *Additional information about the revision, including type and location.
*/ inline GetApplicationRevisionResult& WithRevision(const RevisionLocation& value) { SetRevision(value); return *this;} /** *Additional information about the revision, including type and location.
*/ inline GetApplicationRevisionResult& WithRevision(RevisionLocation&& value) { SetRevision(std::move(value)); return *this;} /** *General information about the revision.
*/ inline const GenericRevisionInfo& GetRevisionInfo() const{ return m_revisionInfo; } /** *General information about the revision.
*/ inline void SetRevisionInfo(const GenericRevisionInfo& value) { m_revisionInfo = value; } /** *General information about the revision.
*/ inline void SetRevisionInfo(GenericRevisionInfo&& value) { m_revisionInfo = std::move(value); } /** *General information about the revision.
*/ inline GetApplicationRevisionResult& WithRevisionInfo(const GenericRevisionInfo& value) { SetRevisionInfo(value); return *this;} /** *General information about the revision.
*/ inline GetApplicationRevisionResult& WithRevisionInfo(GenericRevisionInfo&& value) { SetRevisionInfo(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 GetApplicationRevisionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetApplicationRevisionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetApplicationRevisionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_applicationName; RevisionLocation m_revision; GenericRevisionInfo m_revisionInfo; Aws::String m_requestId; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws