/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input 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 bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } /** *The name of the application that corresponds to the revision.
*/ inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; } /** *The name of the application that corresponds to the revision.
*/ inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); } /** *The name of the application that corresponds to the revision.
*/ inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); } /** *The name of the application that corresponds to the revision.
*/ inline GetApplicationRevisionRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;} /** *The name of the application that corresponds to the revision.
*/ inline GetApplicationRevisionRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;} /** *The name of the application that corresponds to the revision.
*/ inline GetApplicationRevisionRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;} /** *Information about the application revision to get, including type and * location.
*/ inline const RevisionLocation& GetRevision() const{ return m_revision; } /** *Information about the application revision to get, including type and * location.
*/ inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; } /** *Information about the application revision to get, including type and * location.
*/ inline void SetRevision(const RevisionLocation& value) { m_revisionHasBeenSet = true; m_revision = value; } /** *Information about the application revision to get, including type and * location.
*/ inline void SetRevision(RevisionLocation&& value) { m_revisionHasBeenSet = true; m_revision = std::move(value); } /** *Information about the application revision to get, including type and * location.
*/ inline GetApplicationRevisionRequest& WithRevision(const RevisionLocation& value) { SetRevision(value); return *this;} /** *Information about the application revision to get, including type and * location.
*/ inline GetApplicationRevisionRequest& WithRevision(RevisionLocation&& value) { SetRevision(std::move(value)); return *this;} private: Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; RevisionLocation m_revision; bool m_revisionHasBeenSet = false; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws