/** * 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 { /** *

Represents a EULA resource.

See Also:

AWS API * Reference

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

The EULA content.

*/ inline const Aws::String& GetContent() const{ return m_content; } /** *

The EULA content.

*/ inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } /** *

The EULA content.

*/ inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; } /** *

The EULA content.

*/ inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } /** *

The EULA content.

*/ inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); } /** *

The EULA content.

*/ inline Eula& WithContent(const Aws::String& value) { SetContent(value); return *this;} /** *

The EULA content.

*/ inline Eula& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;} /** *

The EULA content.

*/ inline Eula& WithContent(const char* value) { SetContent(value); return *this;} /** *

The ISO timestamp in seconds for when the resource was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The ISO timestamp in seconds for when the resource was created.

*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

The ISO timestamp in seconds for when the resource was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *

The ISO timestamp in seconds for when the resource was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *

The ISO timestamp in seconds for when the resource was created.

*/ inline Eula& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The ISO timestamp in seconds for when the resource was created.

*/ inline Eula& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(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 Eula& WithEulaId(const Aws::String& value) { SetEulaId(value); return *this;} /** *

The EULA ID.

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

The EULA ID.

*/ inline Eula& WithEulaId(const char* value) { SetEulaId(value); return *this;} /** *

The name for the EULA.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name for the EULA.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name for the EULA.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name for the EULA.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name for the EULA.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name for the EULA.

*/ inline Eula& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name for the EULA.

*/ inline Eula& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name for the EULA.

*/ inline Eula& WithName(const char* value) { SetName(value); return *this;} /** *

The ISO timestamp in seconds for when the resource was updated.

*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *

The ISO timestamp in seconds for when the resource was updated.

*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *

The ISO timestamp in seconds for when the resource was updated.

*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *

The ISO timestamp in seconds for when the resource was updated.

*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *

The ISO timestamp in seconds for when the resource was updated.

*/ inline Eula& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *

The ISO timestamp in seconds for when the resource was updated.

*/ inline Eula& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} private: Aws::String m_content; bool m_contentHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_eulaId; bool m_eulaIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws