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

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support * Center.

See Also:

AWS * API Reference

*/ class ProvisionedBandwidth { public: AWS_EC2_API ProvisionedBandwidth(); AWS_EC2_API ProvisionedBandwidth(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API ProvisionedBandwidth& 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; /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline const Aws::Utils::DateTime& GetProvisionTime() const{ return m_provisionTime; } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline bool ProvisionTimeHasBeenSet() const { return m_provisionTimeHasBeenSet; } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline void SetProvisionTime(const Aws::Utils::DateTime& value) { m_provisionTimeHasBeenSet = true; m_provisionTime = value; } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline void SetProvisionTime(Aws::Utils::DateTime&& value) { m_provisionTimeHasBeenSet = true; m_provisionTime = std::move(value); } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline ProvisionedBandwidth& WithProvisionTime(const Aws::Utils::DateTime& value) { SetProvisionTime(value); return *this;} /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline ProvisionedBandwidth& WithProvisionTime(Aws::Utils::DateTime&& value) { SetProvisionTime(std::move(value)); return *this;} /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline const Aws::String& GetProvisioned() const{ return m_provisioned; } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline bool ProvisionedHasBeenSet() const { return m_provisionedHasBeenSet; } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline void SetProvisioned(const Aws::String& value) { m_provisionedHasBeenSet = true; m_provisioned = value; } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline void SetProvisioned(Aws::String&& value) { m_provisionedHasBeenSet = true; m_provisioned = std::move(value); } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline void SetProvisioned(const char* value) { m_provisionedHasBeenSet = true; m_provisioned.assign(value); } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline ProvisionedBandwidth& WithProvisioned(const Aws::String& value) { SetProvisioned(value); return *this;} /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline ProvisionedBandwidth& WithProvisioned(Aws::String&& value) { SetProvisioned(std::move(value)); return *this;} /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline ProvisionedBandwidth& WithProvisioned(const char* value) { SetProvisioned(value); return *this;} /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline const Aws::Utils::DateTime& GetRequestTime() const{ return m_requestTime; } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline bool RequestTimeHasBeenSet() const { return m_requestTimeHasBeenSet; } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline void SetRequestTime(const Aws::Utils::DateTime& value) { m_requestTimeHasBeenSet = true; m_requestTime = value; } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline void SetRequestTime(Aws::Utils::DateTime&& value) { m_requestTimeHasBeenSet = true; m_requestTime = std::move(value); } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline ProvisionedBandwidth& WithRequestTime(const Aws::Utils::DateTime& value) { SetRequestTime(value); return *this;} /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline ProvisionedBandwidth& WithRequestTime(Aws::Utils::DateTime&& value) { SetRequestTime(std::move(value)); return *this;} /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline const Aws::String& GetRequested() const{ return m_requested; } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline bool RequestedHasBeenSet() const { return m_requestedHasBeenSet; } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline void SetRequested(const Aws::String& value) { m_requestedHasBeenSet = true; m_requested = value; } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline void SetRequested(Aws::String&& value) { m_requestedHasBeenSet = true; m_requested = std::move(value); } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline void SetRequested(const char* value) { m_requestedHasBeenSet = true; m_requested.assign(value); } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline ProvisionedBandwidth& WithRequested(const Aws::String& value) { SetRequested(value); return *this;} /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline ProvisionedBandwidth& WithRequested(Aws::String&& value) { SetRequested(std::move(value)); return *this;} /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline ProvisionedBandwidth& WithRequested(const char* value) { SetRequested(value); return *this;} /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline ProvisionedBandwidth& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline ProvisionedBandwidth& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

Reserved. If you need to sustain traffic greater than the documented * limits, contact us through the Support Center.

*/ inline ProvisionedBandwidth& WithStatus(const char* value) { SetStatus(value); return *this;} private: Aws::Utils::DateTime m_provisionTime; bool m_provisionTimeHasBeenSet = false; Aws::String m_provisioned; bool m_provisionedHasBeenSet = false; Aws::Utils::DateTime m_requestTime; bool m_requestTimeHasBeenSet = false; Aws::String m_requested; bool m_requestedHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws