/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace ElastiCache { namespace Model { /** *

The ID of the outpost subnet.

See Also:

AWS * API Reference

*/ class SubnetOutpost { public: AWS_ELASTICACHE_API SubnetOutpost(); AWS_ELASTICACHE_API SubnetOutpost(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ELASTICACHE_API SubnetOutpost& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The outpost ARN of the subnet.

*/ inline const Aws::String& GetSubnetOutpostArn() const{ return m_subnetOutpostArn; } /** *

The outpost ARN of the subnet.

*/ inline bool SubnetOutpostArnHasBeenSet() const { return m_subnetOutpostArnHasBeenSet; } /** *

The outpost ARN of the subnet.

*/ inline void SetSubnetOutpostArn(const Aws::String& value) { m_subnetOutpostArnHasBeenSet = true; m_subnetOutpostArn = value; } /** *

The outpost ARN of the subnet.

*/ inline void SetSubnetOutpostArn(Aws::String&& value) { m_subnetOutpostArnHasBeenSet = true; m_subnetOutpostArn = std::move(value); } /** *

The outpost ARN of the subnet.

*/ inline void SetSubnetOutpostArn(const char* value) { m_subnetOutpostArnHasBeenSet = true; m_subnetOutpostArn.assign(value); } /** *

The outpost ARN of the subnet.

*/ inline SubnetOutpost& WithSubnetOutpostArn(const Aws::String& value) { SetSubnetOutpostArn(value); return *this;} /** *

The outpost ARN of the subnet.

*/ inline SubnetOutpost& WithSubnetOutpostArn(Aws::String&& value) { SetSubnetOutpostArn(std::move(value)); return *this;} /** *

The outpost ARN of the subnet.

*/ inline SubnetOutpost& WithSubnetOutpostArn(const char* value) { SetSubnetOutpostArn(value); return *this;} private: Aws::String m_subnetOutpostArn; bool m_subnetOutpostArnHasBeenSet = false; }; } // namespace Model } // namespace ElastiCache } // namespace Aws