/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace AppRegistry { namespace Model { class GetApplicationResult { public: AWS_APPREGISTRY_API GetApplicationResult(); AWS_APPREGISTRY_API GetApplicationResult(const Aws::AmazonWebServiceResult& result); AWS_APPREGISTRY_API GetApplicationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier of the application.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The identifier of the application.

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

The identifier of the application.

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

The identifier of the application.

*/ inline void SetId(const char* value) { m_id.assign(value); } /** *

The identifier of the application.

*/ inline GetApplicationResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The identifier of the application.

*/ inline GetApplicationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The identifier of the application.

*/ inline GetApplicationResult& WithId(const char* value) { SetId(value); return *this;} /** *

The Amazon resource name (ARN) that specifies the application across * services.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon resource name (ARN) that specifies the application across * services.

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

The Amazon resource name (ARN) that specifies the application across * services.

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

The Amazon resource name (ARN) that specifies the application across * services.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon resource name (ARN) that specifies the application across * services.

*/ inline GetApplicationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon resource name (ARN) that specifies the application across * services.

*/ inline GetApplicationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon resource name (ARN) that specifies the application across * services.

*/ inline GetApplicationResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The name of the application. The name must be unique in the region in which * you are creating the application.

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

The name of the application. The name must be unique in the region in which * you are creating the application.

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

The name of the application. The name must be unique in the region in which * you are creating the application.

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

The name of the application. The name must be unique in the region in which * you are creating the application.

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

The name of the application. The name must be unique in the region in which * you are creating the application.

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

The name of the application. The name must be unique in the region in which * you are creating the application.

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

The name of the application. The name must be unique in the region in which * you are creating the application.

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

The description of the application.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the application.

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

The description of the application.

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

The description of the application.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The description of the application.

*/ inline GetApplicationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the application.

*/ inline GetApplicationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the application.

*/ inline GetApplicationResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The ISO-8601 formatted timestamp of the moment when the application was * created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The ISO-8601 formatted timestamp of the moment when the application was * created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

The ISO-8601 formatted timestamp of the moment when the application was * created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

The ISO-8601 formatted timestamp of the moment when the application was * created.

*/ inline GetApplicationResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The ISO-8601 formatted timestamp of the moment when the application was * created.

*/ inline GetApplicationResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The ISO-8601 formatted timestamp of the moment when the application was last * updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; } /** *

The ISO-8601 formatted timestamp of the moment when the application was last * updated.

*/ inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTime = value; } /** *

The ISO-8601 formatted timestamp of the moment when the application was last * updated.

*/ inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTime = std::move(value); } /** *

The ISO-8601 formatted timestamp of the moment when the application was last * updated.

*/ inline GetApplicationResult& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;} /** *

The ISO-8601 formatted timestamp of the moment when the application was last * updated.

*/ inline GetApplicationResult& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;} /** *

The number of top-level resources that were registered as part of this * application.

*/ inline int GetAssociatedResourceCount() const{ return m_associatedResourceCount; } /** *

The number of top-level resources that were registered as part of this * application.

*/ inline void SetAssociatedResourceCount(int value) { m_associatedResourceCount = value; } /** *

The number of top-level resources that were registered as part of this * application.

*/ inline GetApplicationResult& WithAssociatedResourceCount(int value) { SetAssociatedResourceCount(value); return *this;} /** *

Key-value pairs associated with the application.

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

Key-value pairs associated with the application.

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

Key-value pairs associated with the application.

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

Key-value pairs associated with the application.

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

Key-value pairs associated with the application.

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

Key-value pairs associated with the application.

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

Key-value pairs associated with the application.

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

Key-value pairs associated with the application.

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

Key-value pairs associated with the application.

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

Key-value pairs associated with the application.

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

Key-value pairs associated with the application.

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

Key-value pairs associated with the application.

*/ inline GetApplicationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } /** *

The information about the integration of the application with other * services, such as Resource Groups.

*/ inline const Integrations& GetIntegrations() const{ return m_integrations; } /** *

The information about the integration of the application with other * services, such as Resource Groups.

*/ inline void SetIntegrations(const Integrations& value) { m_integrations = value; } /** *

The information about the integration of the application with other * services, such as Resource Groups.

*/ inline void SetIntegrations(Integrations&& value) { m_integrations = std::move(value); } /** *

The information about the integration of the application with other * services, such as Resource Groups.

*/ inline GetApplicationResult& WithIntegrations(const Integrations& value) { SetIntegrations(value); return *this;} /** *

The information about the integration of the application with other * services, such as Resource Groups.

*/ inline GetApplicationResult& WithIntegrations(Integrations&& value) { SetIntegrations(std::move(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 GetApplicationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetApplicationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetApplicationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_id; Aws::String m_arn; Aws::String m_name; Aws::String m_description; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_lastUpdateTime; int m_associatedResourceCount; Aws::Map m_tags; Integrations m_integrations; Aws::String m_requestId; }; } // namespace Model } // namespace AppRegistry } // namespace Aws