/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The version for an option. Option group option versions are returned by the
* DescribeOptionGroupOptions
action.See Also:
AWS
* API Reference
The version of the option.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *The version of the option.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The version of the option.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *The version of the option.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *The version of the option.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *The version of the option.
*/ inline OptionVersion& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *The version of the option.
*/ inline OptionVersion& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *The version of the option.
*/ inline OptionVersion& WithVersion(const char* value) { SetVersion(value); return *this;} /** *True if the version is the default version of the option, and otherwise * false.
*/ inline bool GetIsDefault() const{ return m_isDefault; } /** *True if the version is the default version of the option, and otherwise * false.
*/ inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; } /** *True if the version is the default version of the option, and otherwise * false.
*/ inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; } /** *True if the version is the default version of the option, and otherwise * false.
*/ inline OptionVersion& WithIsDefault(bool value) { SetIsDefault(value); return *this;} private: Aws::String m_version; bool m_versionHasBeenSet = false; bool m_isDefault; bool m_isDefaultHasBeenSet = false; }; } // namespace Model } // namespace RDS } // namespace Aws