/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTFleetHub { namespace Model { class DescribeApplicationResult { public: AWS_IOTFLEETHUB_API DescribeApplicationResult(); AWS_IOTFLEETHUB_API DescribeApplicationResult(const Aws::AmazonWebServiceResult& result); AWS_IOTFLEETHUB_API DescribeApplicationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique Id of the web application.

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

The unique Id of the web application.

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

The unique Id of the web application.

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

The unique Id of the web application.

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

The unique Id of the web application.

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

The unique Id of the web application.

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

The unique Id of the web application.

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

The ARN of the web application.

*/ inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; } /** *

The ARN of the web application.

*/ inline void SetApplicationArn(const Aws::String& value) { m_applicationArn = value; } /** *

The ARN of the web application.

*/ inline void SetApplicationArn(Aws::String&& value) { m_applicationArn = std::move(value); } /** *

The ARN of the web application.

*/ inline void SetApplicationArn(const char* value) { m_applicationArn.assign(value); } /** *

The ARN of the web application.

*/ inline DescribeApplicationResult& WithApplicationArn(const Aws::String& value) { SetApplicationArn(value); return *this;} /** *

The ARN of the web application.

*/ inline DescribeApplicationResult& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;} /** *

The ARN of the web application.

*/ inline DescribeApplicationResult& WithApplicationArn(const char* value) { SetApplicationArn(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 void SetApplicationName(const Aws::String& value) { m_applicationName = value; } /** *

The name of the web application.

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

The name of the web application.

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

The name of the web application.

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

The name of the web application.

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

The name of the web application.

*/ inline DescribeApplicationResult& 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 void SetApplicationDescription(const Aws::String& value) { m_applicationDescription = value; } /** *

An optional description of the web application.

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

An optional description of the web application.

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

An optional description of the web application.

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

An optional description of the web application.

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

An optional description of the web application.

*/ inline DescribeApplicationResult& 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 void SetApplicationUrl(const Aws::String& value) { m_applicationUrl = value; } /** *

The URL of the web application.

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

The URL of the web application.

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

The URL of the web application.

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

The URL of the web application.

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

The URL of the web application.

*/ inline DescribeApplicationResult& WithApplicationUrl(const char* value) { SetApplicationUrl(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 void SetApplicationState(const ApplicationState& value) { m_applicationState = value; } /** *

The current state of the web application.

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

The current state of the web application.

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

The current state of the web application.

*/ inline DescribeApplicationResult& WithApplicationState(ApplicationState&& value) { SetApplicationState(std::move(value)); return *this;} /** *

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

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

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

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

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

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

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

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

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

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

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

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

The ARN of the role that the web application assumes when it interacts with * AWS IoT Core.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The ARN of the role that the web application assumes when it interacts with * AWS IoT Core.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; } /** *

The ARN of the role that the web application assumes when it interacts with * AWS IoT Core.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); } /** *

The ARN of the role that the web application assumes when it interacts with * AWS IoT Core.

*/ inline void SetRoleArn(const char* value) { m_roleArn.assign(value); } /** *

The ARN of the role that the web application assumes when it interacts with * AWS IoT Core.

*/ inline DescribeApplicationResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The ARN of the role that the web application assumes when it interacts with * AWS IoT Core.

*/ inline DescribeApplicationResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The ARN of the role that the web application assumes when it interacts with * AWS IoT Core.

*/ inline DescribeApplicationResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *

The Id of the single sign-on client that you use to authenticate and * authorize users on the web application.

*/ inline const Aws::String& GetSsoClientId() const{ return m_ssoClientId; } /** *

The Id of the single sign-on client that you use to authenticate and * authorize users on the web application.

*/ inline void SetSsoClientId(const Aws::String& value) { m_ssoClientId = value; } /** *

The Id of the single sign-on client that you use to authenticate and * authorize users on the web application.

*/ inline void SetSsoClientId(Aws::String&& value) { m_ssoClientId = std::move(value); } /** *

The Id of the single sign-on client that you use to authenticate and * authorize users on the web application.

*/ inline void SetSsoClientId(const char* value) { m_ssoClientId.assign(value); } /** *

The Id of the single sign-on client that you use to authenticate and * authorize users on the web application.

*/ inline DescribeApplicationResult& WithSsoClientId(const Aws::String& value) { SetSsoClientId(value); return *this;} /** *

The Id of the single sign-on client that you use to authenticate and * authorize users on the web application.

*/ inline DescribeApplicationResult& WithSsoClientId(Aws::String&& value) { SetSsoClientId(std::move(value)); return *this;} /** *

The Id of the single sign-on client that you use to authenticate and * authorize users on the web application.

*/ inline DescribeApplicationResult& WithSsoClientId(const char* value) { SetSsoClientId(value); return *this;} /** *

A message indicating why the DescribeApplication API failed.

*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *

A message indicating why the DescribeApplication API failed.

*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; } /** *

A message indicating why the DescribeApplication API failed.

*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); } /** *

A message indicating why the DescribeApplication API failed.

*/ inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); } /** *

A message indicating why the DescribeApplication API failed.

*/ inline DescribeApplicationResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *

A message indicating why the DescribeApplication API failed.

*/ inline DescribeApplicationResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *

A message indicating why the DescribeApplication API failed.

*/ inline DescribeApplicationResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} /** *

A set of key/value pairs that you can use to manage the web application * resource.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

A set of key/value pairs that you can use to manage the web application * resource.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

A set of key/value pairs that you can use to manage the web application * resource.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

A set of key/value pairs that you can use to manage the web application * resource.

*/ inline DescribeApplicationResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

A set of key/value pairs that you can use to manage the web application * resource.

*/ inline DescribeApplicationResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

A set of key/value pairs that you can use to manage the web application * resource.

*/ inline DescribeApplicationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

A set of key/value pairs that you can use to manage the web application * resource.

*/ inline DescribeApplicationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

A set of key/value pairs that you can use to manage the web application * resource.

*/ inline DescribeApplicationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

A set of key/value pairs that you can use to manage the web application * resource.

*/ inline DescribeApplicationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

A set of key/value pairs that you can use to manage the web application * resource.

*/ inline DescribeApplicationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

A set of key/value pairs that you can use to manage the web application * resource.

*/ inline DescribeApplicationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

A set of key/value pairs that you can use to manage the web application * resource.

*/ inline DescribeApplicationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeApplicationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeApplicationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeApplicationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_applicationId; Aws::String m_applicationArn; Aws::String m_applicationName; Aws::String m_applicationDescription; Aws::String m_applicationUrl; ApplicationState m_applicationState; long long m_applicationCreationDate; long long m_applicationLastUpdateDate; Aws::String m_roleArn; Aws::String m_ssoClientId; Aws::String m_errorMessage; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace IoTFleetHub } // namespace Aws