/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input of a RegisterApplicationRevision
* operation.See Also:
AWS
* API Reference
The name of an CodeDeploy application associated with the IAM user or Amazon * Web Services account.
*/ inline const Aws::String& GetApplicationName() const{ return m_applicationName; } /** *The name of an CodeDeploy application associated with the IAM user or Amazon * Web Services account.
*/ inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } /** *The name of an CodeDeploy application associated with the IAM user or Amazon * Web Services account.
*/ inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; } /** *The name of an CodeDeploy application associated with the IAM user or Amazon * Web Services account.
*/ inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); } /** *The name of an CodeDeploy application associated with the IAM user or Amazon * Web Services account.
*/ inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); } /** *The name of an CodeDeploy application associated with the IAM user or Amazon * Web Services account.
*/ inline RegisterApplicationRevisionRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;} /** *The name of an CodeDeploy application associated with the IAM user or Amazon * Web Services account.
*/ inline RegisterApplicationRevisionRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;} /** *The name of an CodeDeploy application associated with the IAM user or Amazon * Web Services account.
*/ inline RegisterApplicationRevisionRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;} /** *A comment about the revision.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A comment about the revision.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A comment about the revision.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A comment about the revision.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A comment about the revision.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A comment about the revision.
*/ inline RegisterApplicationRevisionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A comment about the revision.
*/ inline RegisterApplicationRevisionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A comment about the revision.
*/ inline RegisterApplicationRevisionRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *Information about the application revision to register, including type and * location.
*/ inline const RevisionLocation& GetRevision() const{ return m_revision; } /** *Information about the application revision to register, including type and * location.
*/ inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; } /** *Information about the application revision to register, including type and * location.
*/ inline void SetRevision(const RevisionLocation& value) { m_revisionHasBeenSet = true; m_revision = value; } /** *Information about the application revision to register, including type and * location.
*/ inline void SetRevision(RevisionLocation&& value) { m_revisionHasBeenSet = true; m_revision = std::move(value); } /** *Information about the application revision to register, including type and * location.
*/ inline RegisterApplicationRevisionRequest& WithRevision(const RevisionLocation& value) { SetRevision(value); return *this;} /** *Information about the application revision to register, including type and * location.
*/ inline RegisterApplicationRevisionRequest& WithRevision(RevisionLocation&& value) { SetRevision(std::move(value)); return *this;} private: Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; RevisionLocation m_revision; bool m_revisionHasBeenSet = false; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws