/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the contact channel that Incident Manager uses to engage
* the contact.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the contact channel.
*/ inline const Aws::String& GetContactChannelId() const{ return m_contactChannelId; } /** *The Amazon Resource Name (ARN) of the contact channel.
*/ inline bool ContactChannelIdHasBeenSet() const { return m_contactChannelIdHasBeenSet; } /** *The Amazon Resource Name (ARN) of the contact channel.
*/ inline void SetContactChannelId(const Aws::String& value) { m_contactChannelIdHasBeenSet = true; m_contactChannelId = value; } /** *The Amazon Resource Name (ARN) of the contact channel.
*/ inline void SetContactChannelId(Aws::String&& value) { m_contactChannelIdHasBeenSet = true; m_contactChannelId = std::move(value); } /** *The Amazon Resource Name (ARN) of the contact channel.
*/ inline void SetContactChannelId(const char* value) { m_contactChannelIdHasBeenSet = true; m_contactChannelId.assign(value); } /** *The Amazon Resource Name (ARN) of the contact channel.
*/ inline ChannelTargetInfo& WithContactChannelId(const Aws::String& value) { SetContactChannelId(value); return *this;} /** *The Amazon Resource Name (ARN) of the contact channel.
*/ inline ChannelTargetInfo& WithContactChannelId(Aws::String&& value) { SetContactChannelId(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the contact channel.
*/ inline ChannelTargetInfo& WithContactChannelId(const char* value) { SetContactChannelId(value); return *this;} /** *The number of minutes to wait to retry sending engagement in the case the * engagement initially fails.
*/ inline int GetRetryIntervalInMinutes() const{ return m_retryIntervalInMinutes; } /** *The number of minutes to wait to retry sending engagement in the case the * engagement initially fails.
*/ inline bool RetryIntervalInMinutesHasBeenSet() const { return m_retryIntervalInMinutesHasBeenSet; } /** *The number of minutes to wait to retry sending engagement in the case the * engagement initially fails.
*/ inline void SetRetryIntervalInMinutes(int value) { m_retryIntervalInMinutesHasBeenSet = true; m_retryIntervalInMinutes = value; } /** *The number of minutes to wait to retry sending engagement in the case the * engagement initially fails.
*/ inline ChannelTargetInfo& WithRetryIntervalInMinutes(int value) { SetRetryIntervalInMinutes(value); return *this;} private: Aws::String m_contactChannelId; bool m_contactChannelIdHasBeenSet = false; int m_retryIntervalInMinutes; bool m_retryIntervalInMinutesHasBeenSet = false; }; } // namespace Model } // namespace SSMContacts } // namespace Aws