/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about a link to another environment that is in the same
* group.See Also:
AWS
* API Reference
The name of the linked environment.
*/ inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; } /** *The name of the linked environment.
*/ inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; } /** *The name of the linked environment.
*/ inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; } /** *The name of the linked environment.
*/ inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); } /** *The name of the linked environment.
*/ inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); } /** *The name of the linked environment.
*/ inline AwsElasticBeanstalkEnvironmentEnvironmentLink& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;} /** *The name of the linked environment.
*/ inline AwsElasticBeanstalkEnvironmentEnvironmentLink& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;} /** *The name of the linked environment.
*/ inline AwsElasticBeanstalkEnvironmentEnvironmentLink& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;} /** *The name of the environment link.
*/ inline const Aws::String& GetLinkName() const{ return m_linkName; } /** *The name of the environment link.
*/ inline bool LinkNameHasBeenSet() const { return m_linkNameHasBeenSet; } /** *The name of the environment link.
*/ inline void SetLinkName(const Aws::String& value) { m_linkNameHasBeenSet = true; m_linkName = value; } /** *The name of the environment link.
*/ inline void SetLinkName(Aws::String&& value) { m_linkNameHasBeenSet = true; m_linkName = std::move(value); } /** *The name of the environment link.
*/ inline void SetLinkName(const char* value) { m_linkNameHasBeenSet = true; m_linkName.assign(value); } /** *The name of the environment link.
*/ inline AwsElasticBeanstalkEnvironmentEnvironmentLink& WithLinkName(const Aws::String& value) { SetLinkName(value); return *this;} /** *The name of the environment link.
*/ inline AwsElasticBeanstalkEnvironmentEnvironmentLink& WithLinkName(Aws::String&& value) { SetLinkName(std::move(value)); return *this;} /** *The name of the environment link.
*/ inline AwsElasticBeanstalkEnvironmentEnvironmentLink& WithLinkName(const char* value) { SetLinkName(value); return *this;} private: Aws::String m_environmentName; bool m_environmentNameHasBeenSet = false; Aws::String m_linkName; bool m_linkNameHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws