/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
AWS
* API Reference
This specifies the ID of the environment with the in-progress update that you * want to cancel.
*/ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** *This specifies the ID of the environment with the in-progress update that you * want to cancel.
*/ inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } /** *This specifies the ID of the environment with the in-progress update that you * want to cancel.
*/ inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } /** *This specifies the ID of the environment with the in-progress update that you * want to cancel.
*/ inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } /** *This specifies the ID of the environment with the in-progress update that you * want to cancel.
*/ inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } /** *This specifies the ID of the environment with the in-progress update that you * want to cancel.
*/ inline AbortEnvironmentUpdateRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *This specifies the ID of the environment with the in-progress update that you * want to cancel.
*/ inline AbortEnvironmentUpdateRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *This specifies the ID of the environment with the in-progress update that you * want to cancel.
*/ inline AbortEnvironmentUpdateRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} /** *This specifies the name of the environment with the in-progress update that * you want to cancel.
*/ inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; } /** *This specifies the name of the environment with the in-progress update that * you want to cancel.
*/ inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; } /** *This specifies the name of the environment with the in-progress update that * you want to cancel.
*/ inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; } /** *This specifies the name of the environment with the in-progress update that * you want to cancel.
*/ inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); } /** *This specifies the name of the environment with the in-progress update that * you want to cancel.
*/ inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); } /** *This specifies the name of the environment with the in-progress update that * you want to cancel.
*/ inline AbortEnvironmentUpdateRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;} /** *This specifies the name of the environment with the in-progress update that * you want to cancel.
*/ inline AbortEnvironmentUpdateRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;} /** *This specifies the name of the environment with the in-progress update that * you want to cancel.
*/ inline AbortEnvironmentUpdateRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;} private: Aws::String m_environmentId; bool m_environmentIdHasBeenSet = false; Aws::String m_environmentName; bool m_environmentNameHasBeenSet = false; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws