/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a resource relationship.See Also:
AWS
* API Reference
The ARN of the resource.
*/ inline const Aws::String& GetFrom() const{ return m_from; } /** *The ARN of the resource.
*/ inline bool FromHasBeenSet() const { return m_fromHasBeenSet; } /** *The ARN of the resource.
*/ inline void SetFrom(const Aws::String& value) { m_fromHasBeenSet = true; m_from = value; } /** *The ARN of the resource.
*/ inline void SetFrom(Aws::String&& value) { m_fromHasBeenSet = true; m_from = std::move(value); } /** *The ARN of the resource.
*/ inline void SetFrom(const char* value) { m_fromHasBeenSet = true; m_from.assign(value); } /** *The ARN of the resource.
*/ inline Relationship& WithFrom(const Aws::String& value) { SetFrom(value); return *this;} /** *The ARN of the resource.
*/ inline Relationship& WithFrom(Aws::String&& value) { SetFrom(std::move(value)); return *this;} /** *The ARN of the resource.
*/ inline Relationship& WithFrom(const char* value) { SetFrom(value); return *this;} /** *The ARN of the resource.
*/ inline const Aws::String& GetTo() const{ return m_to; } /** *The ARN of the resource.
*/ inline bool ToHasBeenSet() const { return m_toHasBeenSet; } /** *The ARN of the resource.
*/ inline void SetTo(const Aws::String& value) { m_toHasBeenSet = true; m_to = value; } /** *The ARN of the resource.
*/ inline void SetTo(Aws::String&& value) { m_toHasBeenSet = true; m_to = std::move(value); } /** *The ARN of the resource.
*/ inline void SetTo(const char* value) { m_toHasBeenSet = true; m_to.assign(value); } /** *The ARN of the resource.
*/ inline Relationship& WithTo(const Aws::String& value) { SetTo(value); return *this;} /** *The ARN of the resource.
*/ inline Relationship& WithTo(Aws::String&& value) { SetTo(std::move(value)); return *this;} /** *The ARN of the resource.
*/ inline Relationship& WithTo(const char* value) { SetTo(value); return *this;} private: Aws::String m_from; bool m_fromHasBeenSet = false; Aws::String m_to; bool m_toHasBeenSet = false; }; } // namespace Model } // namespace NetworkManager } // namespace Aws