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

Detailed information about the self-service action.

See Also:

* AWS * API Reference

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

The self-service action identifier.

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

The self-service action identifier.

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

The self-service action identifier.

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

The self-service action identifier.

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

The self-service action identifier.

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

The self-service action identifier.

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

The self-service action identifier.

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

The self-service action identifier.

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

The self-service action name.

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

The self-service action name.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The self-service action name.

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

The self-service action name.

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

The self-service action name.

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

The self-service action name.

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

The self-service action name.

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

The self-service action name.

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

The self-service action description.

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

The self-service action description.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The self-service action description.

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

The self-service action description.

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

The self-service action description.

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

The self-service action description.

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

The self-service action description.

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

The self-service action description.

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

The self-service action definition type. For example, * SSM_AUTOMATION.

*/ inline const ServiceActionDefinitionType& GetDefinitionType() const{ return m_definitionType; } /** *

The self-service action definition type. For example, * SSM_AUTOMATION.

*/ inline bool DefinitionTypeHasBeenSet() const { return m_definitionTypeHasBeenSet; } /** *

The self-service action definition type. For example, * SSM_AUTOMATION.

*/ inline void SetDefinitionType(const ServiceActionDefinitionType& value) { m_definitionTypeHasBeenSet = true; m_definitionType = value; } /** *

The self-service action definition type. For example, * SSM_AUTOMATION.

*/ inline void SetDefinitionType(ServiceActionDefinitionType&& value) { m_definitionTypeHasBeenSet = true; m_definitionType = std::move(value); } /** *

The self-service action definition type. For example, * SSM_AUTOMATION.

*/ inline ServiceActionSummary& WithDefinitionType(const ServiceActionDefinitionType& value) { SetDefinitionType(value); return *this;} /** *

The self-service action definition type. For example, * SSM_AUTOMATION.

*/ inline ServiceActionSummary& WithDefinitionType(ServiceActionDefinitionType&& value) { SetDefinitionType(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; ServiceActionDefinitionType m_definitionType; bool m_definitionTypeHasBeenSet = false; }; } // namespace Model } // namespace ServiceCatalog } // namespace Aws