/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The templated target type for the Amazon SQS
* SendMessage
API operation. Contains the message group ID to
* use when the target is a FIFO queue. If you specify an Amazon SQS FIFO queue as
* a target, the queue must have content-based deduplication enabled. For more
* information, see Using
* the Amazon SQS message deduplication ID in the Amazon SQS Developer
* Guide. See Also:
AWS
* API Reference
The FIFO message group ID to use as the target.
*/ inline const Aws::String& GetMessageGroupId() const{ return m_messageGroupId; } /** *The FIFO message group ID to use as the target.
*/ inline bool MessageGroupIdHasBeenSet() const { return m_messageGroupIdHasBeenSet; } /** *The FIFO message group ID to use as the target.
*/ inline void SetMessageGroupId(const Aws::String& value) { m_messageGroupIdHasBeenSet = true; m_messageGroupId = value; } /** *The FIFO message group ID to use as the target.
*/ inline void SetMessageGroupId(Aws::String&& value) { m_messageGroupIdHasBeenSet = true; m_messageGroupId = std::move(value); } /** *The FIFO message group ID to use as the target.
*/ inline void SetMessageGroupId(const char* value) { m_messageGroupIdHasBeenSet = true; m_messageGroupId.assign(value); } /** *The FIFO message group ID to use as the target.
*/ inline SqsParameters& WithMessageGroupId(const Aws::String& value) { SetMessageGroupId(value); return *this;} /** *The FIFO message group ID to use as the target.
*/ inline SqsParameters& WithMessageGroupId(Aws::String&& value) { SetMessageGroupId(std::move(value)); return *this;} /** *The FIFO message group ID to use as the target.
*/ inline SqsParameters& WithMessageGroupId(const char* value) { SetMessageGroupId(value); return *this;} private: Aws::String m_messageGroupId; bool m_messageGroupIdHasBeenSet = false; }; } // namespace Model } // namespace Scheduler } // namespace Aws