/** * 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 Neptune { namespace Model { /** *

A time zone associated with a DBInstance.

See Also:

* AWS * API Reference

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

The name of the time zone.

*/ inline const Aws::String& GetTimezoneName() const{ return m_timezoneName; } /** *

The name of the time zone.

*/ inline bool TimezoneNameHasBeenSet() const { return m_timezoneNameHasBeenSet; } /** *

The name of the time zone.

*/ inline void SetTimezoneName(const Aws::String& value) { m_timezoneNameHasBeenSet = true; m_timezoneName = value; } /** *

The name of the time zone.

*/ inline void SetTimezoneName(Aws::String&& value) { m_timezoneNameHasBeenSet = true; m_timezoneName = std::move(value); } /** *

The name of the time zone.

*/ inline void SetTimezoneName(const char* value) { m_timezoneNameHasBeenSet = true; m_timezoneName.assign(value); } /** *

The name of the time zone.

*/ inline Timezone& WithTimezoneName(const Aws::String& value) { SetTimezoneName(value); return *this;} /** *

The name of the time zone.

*/ inline Timezone& WithTimezoneName(Aws::String&& value) { SetTimezoneName(std::move(value)); return *this;} /** *

The name of the time zone.

*/ inline Timezone& WithTimezoneName(const char* value) { SetTimezoneName(value); return *this;} private: Aws::String m_timezoneName; bool m_timezoneNameHasBeenSet = false; }; } // namespace Model } // namespace Neptune } // namespace Aws