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

A summary of information about a AWS IoT Device Management web * application.

Fleet Hub for AWS IoT Device Management is in public * preview and is subject to change.

See Also:

AWS * API Reference

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

The unique Id of the web application.

*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *

The unique Id of the web application.

*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *

The unique Id of the web application.

*/ inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } /** *

The unique Id of the web application.

*/ inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } /** *

The unique Id of the web application.

*/ inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } /** *

The unique Id of the web application.

*/ inline ApplicationSummary& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *

The unique Id of the web application.

*/ inline ApplicationSummary& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *

The unique Id of the web application.

*/ inline ApplicationSummary& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *

The name of the web application.

*/ inline const Aws::String& GetApplicationName() const{ return m_applicationName; } /** *

The name of the web application.

*/ inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } /** *

The name of the web application.

*/ inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; } /** *

The name of the web application.

*/ inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); } /** *

The name of the web application.

*/ inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); } /** *

The name of the web application.

*/ inline ApplicationSummary& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;} /** *

The name of the web application.

*/ inline ApplicationSummary& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;} /** *

The name of the web application.

*/ inline ApplicationSummary& WithApplicationName(const char* value) { SetApplicationName(value); return *this;} /** *

An optional description of the web application.

*/ inline const Aws::String& GetApplicationDescription() const{ return m_applicationDescription; } /** *

An optional description of the web application.

*/ inline bool ApplicationDescriptionHasBeenSet() const { return m_applicationDescriptionHasBeenSet; } /** *

An optional description of the web application.

*/ inline void SetApplicationDescription(const Aws::String& value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription = value; } /** *

An optional description of the web application.

*/ inline void SetApplicationDescription(Aws::String&& value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription = std::move(value); } /** *

An optional description of the web application.

*/ inline void SetApplicationDescription(const char* value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription.assign(value); } /** *

An optional description of the web application.

*/ inline ApplicationSummary& WithApplicationDescription(const Aws::String& value) { SetApplicationDescription(value); return *this;} /** *

An optional description of the web application.

*/ inline ApplicationSummary& WithApplicationDescription(Aws::String&& value) { SetApplicationDescription(std::move(value)); return *this;} /** *

An optional description of the web application.

*/ inline ApplicationSummary& WithApplicationDescription(const char* value) { SetApplicationDescription(value); return *this;} /** *

The URL of the web application.

*/ inline const Aws::String& GetApplicationUrl() const{ return m_applicationUrl; } /** *

The URL of the web application.

*/ inline bool ApplicationUrlHasBeenSet() const { return m_applicationUrlHasBeenSet; } /** *

The URL of the web application.

*/ inline void SetApplicationUrl(const Aws::String& value) { m_applicationUrlHasBeenSet = true; m_applicationUrl = value; } /** *

The URL of the web application.

*/ inline void SetApplicationUrl(Aws::String&& value) { m_applicationUrlHasBeenSet = true; m_applicationUrl = std::move(value); } /** *

The URL of the web application.

*/ inline void SetApplicationUrl(const char* value) { m_applicationUrlHasBeenSet = true; m_applicationUrl.assign(value); } /** *

The URL of the web application.

*/ inline ApplicationSummary& WithApplicationUrl(const Aws::String& value) { SetApplicationUrl(value); return *this;} /** *

The URL of the web application.

*/ inline ApplicationSummary& WithApplicationUrl(Aws::String&& value) { SetApplicationUrl(std::move(value)); return *this;} /** *

The URL of the web application.

*/ inline ApplicationSummary& WithApplicationUrl(const char* value) { SetApplicationUrl(value); return *this;} /** *

The date (in Unix epoch time) when the web application was created.

*/ inline long long GetApplicationCreationDate() const{ return m_applicationCreationDate; } /** *

The date (in Unix epoch time) when the web application was created.

*/ inline bool ApplicationCreationDateHasBeenSet() const { return m_applicationCreationDateHasBeenSet; } /** *

The date (in Unix epoch time) when the web application was created.

*/ inline void SetApplicationCreationDate(long long value) { m_applicationCreationDateHasBeenSet = true; m_applicationCreationDate = value; } /** *

The date (in Unix epoch time) when the web application was created.

*/ inline ApplicationSummary& WithApplicationCreationDate(long long value) { SetApplicationCreationDate(value); return *this;} /** *

The date (in Unix epoch time) when the web application was last updated.

*/ inline long long GetApplicationLastUpdateDate() const{ return m_applicationLastUpdateDate; } /** *

The date (in Unix epoch time) when the web application was last updated.

*/ inline bool ApplicationLastUpdateDateHasBeenSet() const { return m_applicationLastUpdateDateHasBeenSet; } /** *

The date (in Unix epoch time) when the web application was last updated.

*/ inline void SetApplicationLastUpdateDate(long long value) { m_applicationLastUpdateDateHasBeenSet = true; m_applicationLastUpdateDate = value; } /** *

The date (in Unix epoch time) when the web application was last updated.

*/ inline ApplicationSummary& WithApplicationLastUpdateDate(long long value) { SetApplicationLastUpdateDate(value); return *this;} /** *

The current state of the web application.

*/ inline const ApplicationState& GetApplicationState() const{ return m_applicationState; } /** *

The current state of the web application.

*/ inline bool ApplicationStateHasBeenSet() const { return m_applicationStateHasBeenSet; } /** *

The current state of the web application.

*/ inline void SetApplicationState(const ApplicationState& value) { m_applicationStateHasBeenSet = true; m_applicationState = value; } /** *

The current state of the web application.

*/ inline void SetApplicationState(ApplicationState&& value) { m_applicationStateHasBeenSet = true; m_applicationState = std::move(value); } /** *

The current state of the web application.

*/ inline ApplicationSummary& WithApplicationState(const ApplicationState& value) { SetApplicationState(value); return *this;} /** *

The current state of the web application.

*/ inline ApplicationSummary& WithApplicationState(ApplicationState&& value) { SetApplicationState(std::move(value)); return *this;} private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; Aws::String m_applicationDescription; bool m_applicationDescriptionHasBeenSet = false; Aws::String m_applicationUrl; bool m_applicationUrlHasBeenSet = false; long long m_applicationCreationDate; bool m_applicationCreationDateHasBeenSet = false; long long m_applicationLastUpdateDate; bool m_applicationLastUpdateDateHasBeenSet = false; ApplicationState m_applicationState; bool m_applicationStateHasBeenSet = false; }; } // namespace Model } // namespace IoTFleetHub } // namespace Aws