/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the SNS topics associated with a notification
* rule.See Also:
AWS
* API Reference
The target type. Can be an Amazon SNS topic.
*/ inline const Aws::String& GetTargetType() const{ return m_targetType; } /** *The target type. Can be an Amazon SNS topic.
*/ inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; } /** *The target type. Can be an Amazon SNS topic.
*/ inline void SetTargetType(const Aws::String& value) { m_targetTypeHasBeenSet = true; m_targetType = value; } /** *The target type. Can be an Amazon SNS topic.
*/ inline void SetTargetType(Aws::String&& value) { m_targetTypeHasBeenSet = true; m_targetType = std::move(value); } /** *The target type. Can be an Amazon SNS topic.
*/ inline void SetTargetType(const char* value) { m_targetTypeHasBeenSet = true; m_targetType.assign(value); } /** *The target type. Can be an Amazon SNS topic.
*/ inline Target& WithTargetType(const Aws::String& value) { SetTargetType(value); return *this;} /** *The target type. Can be an Amazon SNS topic.
*/ inline Target& WithTargetType(Aws::String&& value) { SetTargetType(std::move(value)); return *this;} /** *The target type. Can be an Amazon SNS topic.
*/ inline Target& WithTargetType(const char* value) { SetTargetType(value); return *this;} /** *The Amazon Resource Name (ARN) of the SNS topic.
*/ inline const Aws::String& GetTargetAddress() const{ return m_targetAddress; } /** *The Amazon Resource Name (ARN) of the SNS topic.
*/ inline bool TargetAddressHasBeenSet() const { return m_targetAddressHasBeenSet; } /** *The Amazon Resource Name (ARN) of the SNS topic.
*/ inline void SetTargetAddress(const Aws::String& value) { m_targetAddressHasBeenSet = true; m_targetAddress = value; } /** *The Amazon Resource Name (ARN) of the SNS topic.
*/ inline void SetTargetAddress(Aws::String&& value) { m_targetAddressHasBeenSet = true; m_targetAddress = std::move(value); } /** *The Amazon Resource Name (ARN) of the SNS topic.
*/ inline void SetTargetAddress(const char* value) { m_targetAddressHasBeenSet = true; m_targetAddress.assign(value); } /** *The Amazon Resource Name (ARN) of the SNS topic.
*/ inline Target& WithTargetAddress(const Aws::String& value) { SetTargetAddress(value); return *this;} /** *The Amazon Resource Name (ARN) of the SNS topic.
*/ inline Target& WithTargetAddress(Aws::String&& value) { SetTargetAddress(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the SNS topic.
*/ inline Target& WithTargetAddress(const char* value) { SetTargetAddress(value); return *this;} private: Aws::String m_targetType; bool m_targetTypeHasBeenSet; Aws::String m_targetAddress; bool m_targetAddressHasBeenSet; }; } // namespace Model } // namespace CodeStarNotifications } // namespace Aws