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

The acceptance of a EULA, required to use Amazon-provided streaming * images.

See Also:

AWS * API Reference

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

The ISO timestamp in seconds for when the EULA was accepted.

*/ inline const Aws::Utils::DateTime& GetAcceptedAt() const{ return m_acceptedAt; } /** *

The ISO timestamp in seconds for when the EULA was accepted.

*/ inline bool AcceptedAtHasBeenSet() const { return m_acceptedAtHasBeenSet; } /** *

The ISO timestamp in seconds for when the EULA was accepted.

*/ inline void SetAcceptedAt(const Aws::Utils::DateTime& value) { m_acceptedAtHasBeenSet = true; m_acceptedAt = value; } /** *

The ISO timestamp in seconds for when the EULA was accepted.

*/ inline void SetAcceptedAt(Aws::Utils::DateTime&& value) { m_acceptedAtHasBeenSet = true; m_acceptedAt = std::move(value); } /** *

The ISO timestamp in seconds for when the EULA was accepted.

*/ inline EulaAcceptance& WithAcceptedAt(const Aws::Utils::DateTime& value) { SetAcceptedAt(value); return *this;} /** *

The ISO timestamp in seconds for when the EULA was accepted.

*/ inline EulaAcceptance& WithAcceptedAt(Aws::Utils::DateTime&& value) { SetAcceptedAt(std::move(value)); return *this;} /** *

The ID of the person who accepted the EULA.

*/ inline const Aws::String& GetAcceptedBy() const{ return m_acceptedBy; } /** *

The ID of the person who accepted the EULA.

*/ inline bool AcceptedByHasBeenSet() const { return m_acceptedByHasBeenSet; } /** *

The ID of the person who accepted the EULA.

*/ inline void SetAcceptedBy(const Aws::String& value) { m_acceptedByHasBeenSet = true; m_acceptedBy = value; } /** *

The ID of the person who accepted the EULA.

*/ inline void SetAcceptedBy(Aws::String&& value) { m_acceptedByHasBeenSet = true; m_acceptedBy = std::move(value); } /** *

The ID of the person who accepted the EULA.

*/ inline void SetAcceptedBy(const char* value) { m_acceptedByHasBeenSet = true; m_acceptedBy.assign(value); } /** *

The ID of the person who accepted the EULA.

*/ inline EulaAcceptance& WithAcceptedBy(const Aws::String& value) { SetAcceptedBy(value); return *this;} /** *

The ID of the person who accepted the EULA.

*/ inline EulaAcceptance& WithAcceptedBy(Aws::String&& value) { SetAcceptedBy(std::move(value)); return *this;} /** *

The ID of the person who accepted the EULA.

*/ inline EulaAcceptance& WithAcceptedBy(const char* value) { SetAcceptedBy(value); return *this;} /** *

The ID of the acceptee.

*/ inline const Aws::String& GetAccepteeId() const{ return m_accepteeId; } /** *

The ID of the acceptee.

*/ inline bool AccepteeIdHasBeenSet() const { return m_accepteeIdHasBeenSet; } /** *

The ID of the acceptee.

*/ inline void SetAccepteeId(const Aws::String& value) { m_accepteeIdHasBeenSet = true; m_accepteeId = value; } /** *

The ID of the acceptee.

*/ inline void SetAccepteeId(Aws::String&& value) { m_accepteeIdHasBeenSet = true; m_accepteeId = std::move(value); } /** *

The ID of the acceptee.

*/ inline void SetAccepteeId(const char* value) { m_accepteeIdHasBeenSet = true; m_accepteeId.assign(value); } /** *

The ID of the acceptee.

*/ inline EulaAcceptance& WithAccepteeId(const Aws::String& value) { SetAccepteeId(value); return *this;} /** *

The ID of the acceptee.

*/ inline EulaAcceptance& WithAccepteeId(Aws::String&& value) { SetAccepteeId(std::move(value)); return *this;} /** *

The ID of the acceptee.

*/ inline EulaAcceptance& WithAccepteeId(const char* value) { SetAccepteeId(value); return *this;} /** *

The EULA acceptance ID.

*/ inline const Aws::String& GetEulaAcceptanceId() const{ return m_eulaAcceptanceId; } /** *

The EULA acceptance ID.

*/ inline bool EulaAcceptanceIdHasBeenSet() const { return m_eulaAcceptanceIdHasBeenSet; } /** *

The EULA acceptance ID.

*/ inline void SetEulaAcceptanceId(const Aws::String& value) { m_eulaAcceptanceIdHasBeenSet = true; m_eulaAcceptanceId = value; } /** *

The EULA acceptance ID.

*/ inline void SetEulaAcceptanceId(Aws::String&& value) { m_eulaAcceptanceIdHasBeenSet = true; m_eulaAcceptanceId = std::move(value); } /** *

The EULA acceptance ID.

*/ inline void SetEulaAcceptanceId(const char* value) { m_eulaAcceptanceIdHasBeenSet = true; m_eulaAcceptanceId.assign(value); } /** *

The EULA acceptance ID.

*/ inline EulaAcceptance& WithEulaAcceptanceId(const Aws::String& value) { SetEulaAcceptanceId(value); return *this;} /** *

The EULA acceptance ID.

*/ inline EulaAcceptance& WithEulaAcceptanceId(Aws::String&& value) { SetEulaAcceptanceId(std::move(value)); return *this;} /** *

The EULA acceptance ID.

*/ inline EulaAcceptance& WithEulaAcceptanceId(const char* value) { SetEulaAcceptanceId(value); return *this;} /** *

The EULA ID.

*/ inline const Aws::String& GetEulaId() const{ return m_eulaId; } /** *

The EULA ID.

*/ inline bool EulaIdHasBeenSet() const { return m_eulaIdHasBeenSet; } /** *

The EULA ID.

*/ inline void SetEulaId(const Aws::String& value) { m_eulaIdHasBeenSet = true; m_eulaId = value; } /** *

The EULA ID.

*/ inline void SetEulaId(Aws::String&& value) { m_eulaIdHasBeenSet = true; m_eulaId = std::move(value); } /** *

The EULA ID.

*/ inline void SetEulaId(const char* value) { m_eulaIdHasBeenSet = true; m_eulaId.assign(value); } /** *

The EULA ID.

*/ inline EulaAcceptance& WithEulaId(const Aws::String& value) { SetEulaId(value); return *this;} /** *

The EULA ID.

*/ inline EulaAcceptance& WithEulaId(Aws::String&& value) { SetEulaId(std::move(value)); return *this;} /** *

The EULA ID.

*/ inline EulaAcceptance& WithEulaId(const char* value) { SetEulaId(value); return *this;} private: Aws::Utils::DateTime m_acceptedAt; bool m_acceptedAtHasBeenSet = false; Aws::String m_acceptedBy; bool m_acceptedByHasBeenSet = false; Aws::String m_accepteeId; bool m_accepteeIdHasBeenSet = false; Aws::String m_eulaAcceptanceId; bool m_eulaAcceptanceIdHasBeenSet = false; Aws::String m_eulaId; bool m_eulaIdHasBeenSet = false; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws