/** * 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 Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace GlobalAccelerator { namespace Model { /** *

A complex type that contains a Message and a * Timestamp value for changes that you make in the status of an IP * address range that you bring to Global Accelerator through bring your own IP * address (BYOIP).

See Also:

AWS * API Reference

*/ class ByoipCidrEvent { public: AWS_GLOBALACCELERATOR_API ByoipCidrEvent(); AWS_GLOBALACCELERATOR_API ByoipCidrEvent(Aws::Utils::Json::JsonView jsonValue); AWS_GLOBALACCELERATOR_API ByoipCidrEvent& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A string that contains an Event message describing changes that * you make in the status of an IP address range that you bring to Global * Accelerator through bring your own IP address (BYOIP).

*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *

A string that contains an Event message describing changes that * you make in the status of an IP address range that you bring to Global * Accelerator through bring your own IP address (BYOIP).

*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *

A string that contains an Event message describing changes that * you make in the status of an IP address range that you bring to Global * Accelerator through bring your own IP address (BYOIP).

*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *

A string that contains an Event message describing changes that * you make in the status of an IP address range that you bring to Global * Accelerator through bring your own IP address (BYOIP).

*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *

A string that contains an Event message describing changes that * you make in the status of an IP address range that you bring to Global * Accelerator through bring your own IP address (BYOIP).

*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *

A string that contains an Event message describing changes that * you make in the status of an IP address range that you bring to Global * Accelerator through bring your own IP address (BYOIP).

*/ inline ByoipCidrEvent& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

A string that contains an Event message describing changes that * you make in the status of an IP address range that you bring to Global * Accelerator through bring your own IP address (BYOIP).

*/ inline ByoipCidrEvent& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *

A string that contains an Event message describing changes that * you make in the status of an IP address range that you bring to Global * Accelerator through bring your own IP address (BYOIP).

*/ inline ByoipCidrEvent& WithMessage(const char* value) { SetMessage(value); return *this;} /** *

A timestamp for when you make a status change for an IP address range that * you bring to Global Accelerator through bring your own IP address (BYOIP).

*/ inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; } /** *

A timestamp for when you make a status change for an IP address range that * you bring to Global Accelerator through bring your own IP address (BYOIP).

*/ inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; } /** *

A timestamp for when you make a status change for an IP address range that * you bring to Global Accelerator through bring your own IP address (BYOIP).

*/ inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; } /** *

A timestamp for when you make a status change for an IP address range that * you bring to Global Accelerator through bring your own IP address (BYOIP).

*/ inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); } /** *

A timestamp for when you make a status change for an IP address range that * you bring to Global Accelerator through bring your own IP address (BYOIP).

*/ inline ByoipCidrEvent& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;} /** *

A timestamp for when you make a status change for an IP address range that * you bring to Global Accelerator through bring your own IP address (BYOIP).

*/ inline ByoipCidrEvent& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::Utils::DateTime m_timestamp; bool m_timestampHasBeenSet = false; }; } // namespace Model } // namespace GlobalAccelerator } // namespace Aws