/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the targets specified for a notification
* rule.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.
*/ inline const Aws::String& GetTargetAddress() const{ return m_targetAddress; } /** *The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.
*/ inline bool TargetAddressHasBeenSet() const { return m_targetAddressHasBeenSet; } /** *The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.
*/ inline void SetTargetAddress(const Aws::String& value) { m_targetAddressHasBeenSet = true; m_targetAddress = value; } /** *The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.
*/ inline void SetTargetAddress(Aws::String&& value) { m_targetAddressHasBeenSet = true; m_targetAddress = std::move(value); } /** *The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.
*/ inline void SetTargetAddress(const char* value) { m_targetAddressHasBeenSet = true; m_targetAddress.assign(value); } /** *The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.
*/ inline TargetSummary& WithTargetAddress(const Aws::String& value) { SetTargetAddress(value); return *this;} /** *The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.
*/ inline TargetSummary& WithTargetAddress(Aws::String&& value) { SetTargetAddress(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.
*/ inline TargetSummary& WithTargetAddress(const char* value) { SetTargetAddress(value); return *this;} /** *The type of the target (for example, SNS
).
Chatbot topics are specified as SNS
.
Chatbot
* clients are specified as AWSChatbotSlack
.
The type of the target (for example, SNS
).
Chatbot topics are specified as SNS
.
Chatbot
* clients are specified as AWSChatbotSlack
.
The type of the target (for example, SNS
).
Chatbot topics are specified as SNS
.
Chatbot
* clients are specified as AWSChatbotSlack
.
The type of the target (for example, SNS
).
Chatbot topics are specified as SNS
.
Chatbot
* clients are specified as AWSChatbotSlack
.
The type of the target (for example, SNS
).
Chatbot topics are specified as SNS
.
Chatbot
* clients are specified as AWSChatbotSlack
.
The type of the target (for example, SNS
).
Chatbot topics are specified as SNS
.
Chatbot
* clients are specified as AWSChatbotSlack
.
The type of the target (for example, SNS
).
Chatbot topics are specified as SNS
.
Chatbot
* clients are specified as AWSChatbotSlack
.
The type of the target (for example, SNS
).
Chatbot topics are specified as SNS
.
Chatbot
* clients are specified as AWSChatbotSlack
.
The status of the target.
*/ inline const TargetStatus& GetTargetStatus() const{ return m_targetStatus; } /** *The status of the target.
*/ inline bool TargetStatusHasBeenSet() const { return m_targetStatusHasBeenSet; } /** *The status of the target.
*/ inline void SetTargetStatus(const TargetStatus& value) { m_targetStatusHasBeenSet = true; m_targetStatus = value; } /** *The status of the target.
*/ inline void SetTargetStatus(TargetStatus&& value) { m_targetStatusHasBeenSet = true; m_targetStatus = std::move(value); } /** *The status of the target.
*/ inline TargetSummary& WithTargetStatus(const TargetStatus& value) { SetTargetStatus(value); return *this;} /** *The status of the target.
*/ inline TargetSummary& WithTargetStatus(TargetStatus&& value) { SetTargetStatus(std::move(value)); return *this;} private: Aws::String m_targetAddress; bool m_targetAddressHasBeenSet = false; Aws::String m_targetType; bool m_targetTypeHasBeenSet = false; TargetStatus m_targetStatus; bool m_targetStatusHasBeenSet = false; }; } // namespace Model } // namespace CodeStarNotifications } // namespace Aws