/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SSM { namespace Model { /** *

A notification about the OpsItem.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of an Amazon Simple Notification Service * (Amazon SNS) topic where notifications are sent when this OpsItem is edited or * changed.

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

The Amazon Resource Name (ARN) of an Amazon Simple Notification Service * (Amazon SNS) topic where notifications are sent when this OpsItem is edited or * changed.

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

The Amazon Resource Name (ARN) of an Amazon Simple Notification Service * (Amazon SNS) topic where notifications are sent when this OpsItem is edited or * changed.

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

The Amazon Resource Name (ARN) of an Amazon Simple Notification Service * (Amazon SNS) topic where notifications are sent when this OpsItem is edited or * changed.

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

The Amazon Resource Name (ARN) of an Amazon Simple Notification Service * (Amazon SNS) topic where notifications are sent when this OpsItem is edited or * changed.

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

The Amazon Resource Name (ARN) of an Amazon Simple Notification Service * (Amazon SNS) topic where notifications are sent when this OpsItem is edited or * changed.

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

The Amazon Resource Name (ARN) of an Amazon Simple Notification Service * (Amazon SNS) topic where notifications are sent when this OpsItem is edited or * changed.

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

The Amazon Resource Name (ARN) of an Amazon Simple Notification Service * (Amazon SNS) topic where notifications are sent when this OpsItem is edited or * changed.

*/ inline OpsItemNotification& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws