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

Specifies a Diffie-Hellman group number for the VPN tunnel for phase 2 IKE * negotiations.

See Also:

AWS * API Reference

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

The Diffie-Hellmann group number.

*/ inline int GetValue() const{ return m_value; } /** *

The Diffie-Hellmann group number.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

The Diffie-Hellmann group number.

*/ inline void SetValue(int value) { m_valueHasBeenSet = true; m_value = value; } /** *

The Diffie-Hellmann group number.

*/ inline Phase2DHGroupNumbersRequestListValue& WithValue(int value) { SetValue(value); return *this;} private: int m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws