/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SsmSap { namespace Model { /** *

The summary of the SAP application registered with AWS Systems Manager for * SAP.

See Also:

AWS * API Reference

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

The ID of the application.

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

The ID of the application.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The ID of the application.

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

The ID of the application.

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

The ID of the application.

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

The ID of the application.

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

The ID of the application.

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

The ID of the application.

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

The type of the application.

*/ inline const ApplicationType& GetType() const{ return m_type; } /** *

The type of the application.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The type of the application.

*/ inline void SetType(const ApplicationType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The type of the application.

*/ inline void SetType(ApplicationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The type of the application.

*/ inline ApplicationSummary& WithType(const ApplicationType& value) { SetType(value); return *this;} /** *

The type of the application.

*/ inline ApplicationSummary& WithType(ApplicationType&& value) { SetType(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the application.

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

The Amazon Resource Name (ARN) of the application.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the application.

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

The Amazon Resource Name (ARN) of the application.

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

The Amazon Resource Name (ARN) of the application.

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

The Amazon Resource Name (ARN) of the application.

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

The Amazon Resource Name (ARN) of the application.

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

The Amazon Resource Name (ARN) of the application.

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

The tags on the application.

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

The tags on the application.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags on the application.

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

The tags on the application.

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

The tags on the application.

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

The tags on the application.

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

The tags on the application.

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

The tags on the application.

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

The tags on the application.

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

The tags on the application.

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

The tags on the application.

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

The tags on the application.

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

The tags on the application.

*/ inline ApplicationSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_id; bool m_idHasBeenSet = false; ApplicationType m_type; bool m_typeHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace SsmSap } // namespace Aws