/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This structure contains information about one delivery in your
* account. A delivery is a connection between a logical delivery
* source and a logical delivery destination. For more
* information, see CreateDelivery. You can't update an existing delivery. You can only create and delete
* deliveries.See Also:
AWS API
* Reference
The unique ID that identifies this delivery in your account.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The unique ID that identifies this delivery in your account.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique ID that identifies this delivery in your account.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique ID that identifies this delivery in your account.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique ID that identifies this delivery in your account.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The unique ID that identifies this delivery in your account.
*/ inline Delivery& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique ID that identifies this delivery in your account.
*/ inline Delivery& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique ID that identifies this delivery in your account.
*/ inline Delivery& WithId(const char* value) { SetId(value); return *this;} /** *The Amazon Resource Name (ARN) that uniquely identifies this delivery.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) that uniquely identifies this delivery.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) that uniquely identifies this delivery.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) that uniquely identifies this delivery.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) that uniquely identifies this delivery.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) that uniquely identifies this delivery.
*/ inline Delivery& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) that uniquely identifies this delivery.
*/ inline Delivery& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) that uniquely identifies this delivery.
*/ inline Delivery& WithArn(const char* value) { SetArn(value); return *this;} /** *The name of the delivery source that is associated with this delivery.
*/ inline const Aws::String& GetDeliverySourceName() const{ return m_deliverySourceName; } /** *The name of the delivery source that is associated with this delivery.
*/ inline bool DeliverySourceNameHasBeenSet() const { return m_deliverySourceNameHasBeenSet; } /** *The name of the delivery source that is associated with this delivery.
*/ inline void SetDeliverySourceName(const Aws::String& value) { m_deliverySourceNameHasBeenSet = true; m_deliverySourceName = value; } /** *The name of the delivery source that is associated with this delivery.
*/ inline void SetDeliverySourceName(Aws::String&& value) { m_deliverySourceNameHasBeenSet = true; m_deliverySourceName = std::move(value); } /** *The name of the delivery source that is associated with this delivery.
*/ inline void SetDeliverySourceName(const char* value) { m_deliverySourceNameHasBeenSet = true; m_deliverySourceName.assign(value); } /** *The name of the delivery source that is associated with this delivery.
*/ inline Delivery& WithDeliverySourceName(const Aws::String& value) { SetDeliverySourceName(value); return *this;} /** *The name of the delivery source that is associated with this delivery.
*/ inline Delivery& WithDeliverySourceName(Aws::String&& value) { SetDeliverySourceName(std::move(value)); return *this;} /** *The name of the delivery source that is associated with this delivery.
*/ inline Delivery& WithDeliverySourceName(const char* value) { SetDeliverySourceName(value); return *this;} /** *The ARN of the delivery destination that is associated with this * delivery.
*/ inline const Aws::String& GetDeliveryDestinationArn() const{ return m_deliveryDestinationArn; } /** *The ARN of the delivery destination that is associated with this * delivery.
*/ inline bool DeliveryDestinationArnHasBeenSet() const { return m_deliveryDestinationArnHasBeenSet; } /** *The ARN of the delivery destination that is associated with this * delivery.
*/ inline void SetDeliveryDestinationArn(const Aws::String& value) { m_deliveryDestinationArnHasBeenSet = true; m_deliveryDestinationArn = value; } /** *The ARN of the delivery destination that is associated with this * delivery.
*/ inline void SetDeliveryDestinationArn(Aws::String&& value) { m_deliveryDestinationArnHasBeenSet = true; m_deliveryDestinationArn = std::move(value); } /** *The ARN of the delivery destination that is associated with this * delivery.
*/ inline void SetDeliveryDestinationArn(const char* value) { m_deliveryDestinationArnHasBeenSet = true; m_deliveryDestinationArn.assign(value); } /** *The ARN of the delivery destination that is associated with this * delivery.
*/ inline Delivery& WithDeliveryDestinationArn(const Aws::String& value) { SetDeliveryDestinationArn(value); return *this;} /** *The ARN of the delivery destination that is associated with this * delivery.
*/ inline Delivery& WithDeliveryDestinationArn(Aws::String&& value) { SetDeliveryDestinationArn(std::move(value)); return *this;} /** *The ARN of the delivery destination that is associated with this * delivery.
*/ inline Delivery& WithDeliveryDestinationArn(const char* value) { SetDeliveryDestinationArn(value); return *this;} /** *Displays whether the delivery destination associated with this delivery is * CloudWatch Logs, Amazon S3, or Firehose.
*/ inline const DeliveryDestinationType& GetDeliveryDestinationType() const{ return m_deliveryDestinationType; } /** *Displays whether the delivery destination associated with this delivery is * CloudWatch Logs, Amazon S3, or Firehose.
*/ inline bool DeliveryDestinationTypeHasBeenSet() const { return m_deliveryDestinationTypeHasBeenSet; } /** *Displays whether the delivery destination associated with this delivery is * CloudWatch Logs, Amazon S3, or Firehose.
*/ inline void SetDeliveryDestinationType(const DeliveryDestinationType& value) { m_deliveryDestinationTypeHasBeenSet = true; m_deliveryDestinationType = value; } /** *Displays whether the delivery destination associated with this delivery is * CloudWatch Logs, Amazon S3, or Firehose.
*/ inline void SetDeliveryDestinationType(DeliveryDestinationType&& value) { m_deliveryDestinationTypeHasBeenSet = true; m_deliveryDestinationType = std::move(value); } /** *Displays whether the delivery destination associated with this delivery is * CloudWatch Logs, Amazon S3, or Firehose.
*/ inline Delivery& WithDeliveryDestinationType(const DeliveryDestinationType& value) { SetDeliveryDestinationType(value); return *this;} /** *Displays whether the delivery destination associated with this delivery is * CloudWatch Logs, Amazon S3, or Firehose.
*/ inline Delivery& WithDeliveryDestinationType(DeliveryDestinationType&& value) { SetDeliveryDestinationType(std::move(value)); return *this;} /** *The tags that have been assigned to this delivery.
*/ inline const Aws::MapThe tags that have been assigned to this delivery.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags that have been assigned to this delivery.
*/ inline void SetTags(const Aws::MapThe tags that have been assigned to this delivery.
*/ inline void SetTags(Aws::MapThe tags that have been assigned to this delivery.
*/ inline Delivery& WithTags(const Aws::MapThe tags that have been assigned to this delivery.
*/ inline Delivery& WithTags(Aws::MapThe tags that have been assigned to this delivery.
*/ inline Delivery& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags that have been assigned to this delivery.
*/ inline Delivery& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags that have been assigned to this delivery.
*/ inline Delivery& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags that have been assigned to this delivery.
*/ inline Delivery& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags that have been assigned to this delivery.
*/ inline Delivery& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags that have been assigned to this delivery.
*/ inline Delivery& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags that have been assigned to this delivery.
*/ inline Delivery& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_deliverySourceName; bool m_deliverySourceNameHasBeenSet = false; Aws::String m_deliveryDestinationArn; bool m_deliveryDestinationArnHasBeenSet = false; DeliveryDestinationType m_deliveryDestinationType; bool m_deliveryDestinationTypeHasBeenSet = false; Aws::Map