/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a destination.See Also:
AWS
* API Reference
The Amazon Resource Name of the resource.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name of the resource.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name of the resource.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name of the resource.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name of the resource.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name of the resource.
*/ inline Destinations& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name of the resource.
*/ inline Destinations& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name of the resource.
*/ inline Destinations& WithArn(const char* value) { SetArn(value); return *this;} /** *The name of the resource.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the resource.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the resource.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the resource.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the resource.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the resource.
*/ inline Destinations& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the resource.
*/ inline Destinations& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the resource.
*/ inline Destinations& WithName(const char* value) { SetName(value); return *this;} /** *The type of value in Expression
.
The type of value in Expression
.
The type of value in Expression
.
The type of value in Expression
.
The type of value in Expression
.
The type of value in Expression
.
The rule name or topic rule to send messages to.
*/ inline const Aws::String& GetExpression() const{ return m_expression; } /** *The rule name or topic rule to send messages to.
*/ inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; } /** *The rule name or topic rule to send messages to.
*/ inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; } /** *The rule name or topic rule to send messages to.
*/ inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); } /** *The rule name or topic rule to send messages to.
*/ inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); } /** *The rule name or topic rule to send messages to.
*/ inline Destinations& WithExpression(const Aws::String& value) { SetExpression(value); return *this;} /** *The rule name or topic rule to send messages to.
*/ inline Destinations& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;} /** *The rule name or topic rule to send messages to.
*/ inline Destinations& WithExpression(const char* value) { SetExpression(value); return *this;} /** *The description of the resource.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the resource.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the resource.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the resource.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the resource.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the resource.
*/ inline Destinations& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the resource.
*/ inline Destinations& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the resource.
*/ inline Destinations& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The ARN of the IAM Role that authorizes the destination.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The ARN of the IAM Role that authorizes the destination.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The ARN of the IAM Role that authorizes the destination.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The ARN of the IAM Role that authorizes the destination.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The ARN of the IAM Role that authorizes the destination.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The ARN of the IAM Role that authorizes the destination.
*/ inline Destinations& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The ARN of the IAM Role that authorizes the destination.
*/ inline Destinations& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The ARN of the IAM Role that authorizes the destination.
*/ inline Destinations& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; ExpressionType m_expressionType; bool m_expressionTypeHasBeenSet = false; Aws::String m_expression; bool m_expressionHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws