/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Resources that responders use to triage and mitigate the
* incident.See Also:
AWS
* API Reference
A unique ID for a RelatedItem
.
Don't specify
* this parameter when you add a RelatedItem
by using the
* UpdateRelatedItems API action.
A unique ID for a RelatedItem
.
Don't specify
* this parameter when you add a RelatedItem
by using the
* UpdateRelatedItems API action.
A unique ID for a RelatedItem
.
Don't specify
* this parameter when you add a RelatedItem
by using the
* UpdateRelatedItems API action.
A unique ID for a RelatedItem
.
Don't specify
* this parameter when you add a RelatedItem
by using the
* UpdateRelatedItems API action.
A unique ID for a RelatedItem
.
Don't specify
* this parameter when you add a RelatedItem
by using the
* UpdateRelatedItems API action.
A unique ID for a RelatedItem
.
Don't specify
* this parameter when you add a RelatedItem
by using the
* UpdateRelatedItems API action.
A unique ID for a RelatedItem
.
Don't specify
* this parameter when you add a RelatedItem
by using the
* UpdateRelatedItems API action.
A unique ID for a RelatedItem
.
Don't specify
* this parameter when you add a RelatedItem
by using the
* UpdateRelatedItems API action.
Details about the related item.
*/ inline const ItemIdentifier& GetIdentifier() const{ return m_identifier; } /** *Details about the related item.
*/ inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } /** *Details about the related item.
*/ inline void SetIdentifier(const ItemIdentifier& value) { m_identifierHasBeenSet = true; m_identifier = value; } /** *Details about the related item.
*/ inline void SetIdentifier(ItemIdentifier&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } /** *Details about the related item.
*/ inline RelatedItem& WithIdentifier(const ItemIdentifier& value) { SetIdentifier(value); return *this;} /** *Details about the related item.
*/ inline RelatedItem& WithIdentifier(ItemIdentifier&& value) { SetIdentifier(std::move(value)); return *this;} /** *The title of the related item.
*/ inline const Aws::String& GetTitle() const{ return m_title; } /** *The title of the related item.
*/ inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } /** *The title of the related item.
*/ inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; } /** *The title of the related item.
*/ inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } /** *The title of the related item.
*/ inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); } /** *The title of the related item.
*/ inline RelatedItem& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} /** *The title of the related item.
*/ inline RelatedItem& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} /** *The title of the related item.
*/ inline RelatedItem& WithTitle(const char* value) { SetTitle(value); return *this;} private: Aws::String m_generatedId; bool m_generatedIdHasBeenSet = false; ItemIdentifier m_identifier; bool m_identifierHasBeenSet = false; Aws::String m_title; bool m_titleHasBeenSet = false; }; } // namespace Model } // namespace SSMIncidents } // namespace Aws