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

An object containing detailed information about the self-service * action.

See Also:

AWS * API Reference

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

Summary information about the self-service action.

*/ inline const ServiceActionSummary& GetServiceActionSummary() const{ return m_serviceActionSummary; } /** *

Summary information about the self-service action.

*/ inline bool ServiceActionSummaryHasBeenSet() const { return m_serviceActionSummaryHasBeenSet; } /** *

Summary information about the self-service action.

*/ inline void SetServiceActionSummary(const ServiceActionSummary& value) { m_serviceActionSummaryHasBeenSet = true; m_serviceActionSummary = value; } /** *

Summary information about the self-service action.

*/ inline void SetServiceActionSummary(ServiceActionSummary&& value) { m_serviceActionSummaryHasBeenSet = true; m_serviceActionSummary = std::move(value); } /** *

Summary information about the self-service action.

*/ inline ServiceActionDetail& WithServiceActionSummary(const ServiceActionSummary& value) { SetServiceActionSummary(value); return *this;} /** *

Summary information about the self-service action.

*/ inline ServiceActionDetail& WithServiceActionSummary(ServiceActionSummary&& value) { SetServiceActionSummary(std::move(value)); return *this;} /** *

A map that defines the self-service action.

*/ inline const Aws::Map& GetDefinition() const{ return m_definition; } /** *

A map that defines the self-service action.

*/ inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; } /** *

A map that defines the self-service action.

*/ inline void SetDefinition(const Aws::Map& value) { m_definitionHasBeenSet = true; m_definition = value; } /** *

A map that defines the self-service action.

*/ inline void SetDefinition(Aws::Map&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); } /** *

A map that defines the self-service action.

*/ inline ServiceActionDetail& WithDefinition(const Aws::Map& value) { SetDefinition(value); return *this;} /** *

A map that defines the self-service action.

*/ inline ServiceActionDetail& WithDefinition(Aws::Map&& value) { SetDefinition(std::move(value)); return *this;} /** *

A map that defines the self-service action.

*/ inline ServiceActionDetail& AddDefinition(const ServiceActionDefinitionKey& key, const Aws::String& value) { m_definitionHasBeenSet = true; m_definition.emplace(key, value); return *this; } /** *

A map that defines the self-service action.

*/ inline ServiceActionDetail& AddDefinition(ServiceActionDefinitionKey&& key, const Aws::String& value) { m_definitionHasBeenSet = true; m_definition.emplace(std::move(key), value); return *this; } /** *

A map that defines the self-service action.

*/ inline ServiceActionDetail& AddDefinition(const ServiceActionDefinitionKey& key, Aws::String&& value) { m_definitionHasBeenSet = true; m_definition.emplace(key, std::move(value)); return *this; } /** *

A map that defines the self-service action.

*/ inline ServiceActionDetail& AddDefinition(ServiceActionDefinitionKey&& key, Aws::String&& value) { m_definitionHasBeenSet = true; m_definition.emplace(std::move(key), std::move(value)); return *this; } /** *

A map that defines the self-service action.

*/ inline ServiceActionDetail& AddDefinition(ServiceActionDefinitionKey&& key, const char* value) { m_definitionHasBeenSet = true; m_definition.emplace(std::move(key), value); return *this; } /** *

A map that defines the self-service action.

*/ inline ServiceActionDetail& AddDefinition(const ServiceActionDefinitionKey& key, const char* value) { m_definitionHasBeenSet = true; m_definition.emplace(key, value); return *this; } private: ServiceActionSummary m_serviceActionSummary; bool m_serviceActionSummaryHasBeenSet = false; Aws::Map m_definition; bool m_definitionHasBeenSet = false; }; } // namespace Model } // namespace ServiceCatalog } // namespace Aws