/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides a summary of an action.See Also:
AWS
* API Reference
The ID of the action.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the action.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the action.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the action.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the action.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the action.
*/ inline ActionSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the action.
*/ inline ActionSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the action.
*/ inline ActionSummary& WithId(const char* value) { SetId(value); return *this;} /** *The description for the action.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description for the action.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description for the action.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description for the action.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description for the action.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description for the action.
*/ inline ActionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description for the action.
*/ inline ActionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description for the action.
*/ inline ActionSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The targets for the action.
*/ inline const Aws::MapThe targets for the action.
*/ inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; } /** *The targets for the action.
*/ inline void SetTargets(const Aws::MapThe targets for the action.
*/ inline void SetTargets(Aws::MapThe targets for the action.
*/ inline ActionSummary& WithTargets(const Aws::MapThe targets for the action.
*/ inline ActionSummary& WithTargets(Aws::MapThe targets for the action.
*/ inline ActionSummary& AddTargets(const Aws::String& key, const ActionTarget& value) { m_targetsHasBeenSet = true; m_targets.emplace(key, value); return *this; } /** *The targets for the action.
*/ inline ActionSummary& AddTargets(Aws::String&& key, const ActionTarget& value) { m_targetsHasBeenSet = true; m_targets.emplace(std::move(key), value); return *this; } /** *The targets for the action.
*/ inline ActionSummary& AddTargets(const Aws::String& key, ActionTarget&& value) { m_targetsHasBeenSet = true; m_targets.emplace(key, std::move(value)); return *this; } /** *The targets for the action.
*/ inline ActionSummary& AddTargets(Aws::String&& key, ActionTarget&& value) { m_targetsHasBeenSet = true; m_targets.emplace(std::move(key), std::move(value)); return *this; } /** *The targets for the action.
*/ inline ActionSummary& AddTargets(const char* key, ActionTarget&& value) { m_targetsHasBeenSet = true; m_targets.emplace(key, std::move(value)); return *this; } /** *The targets for the action.
*/ inline ActionSummary& AddTargets(const char* key, const ActionTarget& value) { m_targetsHasBeenSet = true; m_targets.emplace(key, value); return *this; } /** *The tags for the action.
*/ inline const Aws::MapThe tags for the action.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags for the action.
*/ inline void SetTags(const Aws::MapThe tags for the action.
*/ inline void SetTags(Aws::MapThe tags for the action.
*/ inline ActionSummary& WithTags(const Aws::MapThe tags for the action.
*/ inline ActionSummary& WithTags(Aws::MapThe tags for the action.
*/ inline ActionSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags for the action.
*/ inline ActionSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags for the action.
*/ inline ActionSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags for the action.
*/ inline ActionSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags for the action.
*/ inline ActionSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags for the action.
*/ inline ActionSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags for the action.
*/ inline ActionSummary& 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; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Map