/** * 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 SsmSap { namespace Model { class GetApplicationResult { public: AWS_SSMSAP_API GetApplicationResult(); AWS_SSMSAP_API GetApplicationResult(const Aws::AmazonWebServiceResult& result); AWS_SSMSAP_API GetApplicationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Returns all of the metadata of an application registered with AWS Systems * Manager for SAP.

*/ inline const Application& GetApplication() const{ return m_application; } /** *

Returns all of the metadata of an application registered with AWS Systems * Manager for SAP.

*/ inline void SetApplication(const Application& value) { m_application = value; } /** *

Returns all of the metadata of an application registered with AWS Systems * Manager for SAP.

*/ inline void SetApplication(Application&& value) { m_application = std::move(value); } /** *

Returns all of the metadata of an application registered with AWS Systems * Manager for SAP.

*/ inline GetApplicationResult& WithApplication(const Application& value) { SetApplication(value); return *this;} /** *

Returns all of the metadata of an application registered with AWS Systems * Manager for SAP.

*/ inline GetApplicationResult& WithApplication(Application&& value) { SetApplication(std::move(value)); return *this;} /** *

The tags of a registered application.

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

The tags of a registered application.

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

The tags of a registered application.

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

The tags of a registered application.

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

The tags of a registered application.

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

The tags of a registered application.

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

The tags of a registered application.

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

The tags of a registered application.

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

The tags of a registered application.

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

The tags of a registered application.

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

The tags of a registered application.

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

The tags of a registered application.

*/ inline GetApplicationResult& 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 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: Application m_application; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace SsmSap } // namespace Aws