/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The file name and ID of an attachment to a case communication. You can use
* the ID to retrieve the attachment with the DescribeAttachment
* operation.See Also:
AWS
* API Reference
The ID of the attachment.
*/ inline const Aws::String& GetAttachmentId() const{ return m_attachmentId; } /** *The ID of the attachment.
*/ inline bool AttachmentIdHasBeenSet() const { return m_attachmentIdHasBeenSet; } /** *The ID of the attachment.
*/ inline void SetAttachmentId(const Aws::String& value) { m_attachmentIdHasBeenSet = true; m_attachmentId = value; } /** *The ID of the attachment.
*/ inline void SetAttachmentId(Aws::String&& value) { m_attachmentIdHasBeenSet = true; m_attachmentId = std::move(value); } /** *The ID of the attachment.
*/ inline void SetAttachmentId(const char* value) { m_attachmentIdHasBeenSet = true; m_attachmentId.assign(value); } /** *The ID of the attachment.
*/ inline AttachmentDetails& WithAttachmentId(const Aws::String& value) { SetAttachmentId(value); return *this;} /** *The ID of the attachment.
*/ inline AttachmentDetails& WithAttachmentId(Aws::String&& value) { SetAttachmentId(std::move(value)); return *this;} /** *The ID of the attachment.
*/ inline AttachmentDetails& WithAttachmentId(const char* value) { SetAttachmentId(value); return *this;} /** *The file name of the attachment.
*/ inline const Aws::String& GetFileName() const{ return m_fileName; } /** *The file name of the attachment.
*/ inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; } /** *The file name of the attachment.
*/ inline void SetFileName(const Aws::String& value) { m_fileNameHasBeenSet = true; m_fileName = value; } /** *The file name of the attachment.
*/ inline void SetFileName(Aws::String&& value) { m_fileNameHasBeenSet = true; m_fileName = std::move(value); } /** *The file name of the attachment.
*/ inline void SetFileName(const char* value) { m_fileNameHasBeenSet = true; m_fileName.assign(value); } /** *The file name of the attachment.
*/ inline AttachmentDetails& WithFileName(const Aws::String& value) { SetFileName(value); return *this;} /** *The file name of the attachment.
*/ inline AttachmentDetails& WithFileName(Aws::String&& value) { SetFileName(std::move(value)); return *this;} /** *The file name of the attachment.
*/ inline AttachmentDetails& WithFileName(const char* value) { SetFileName(value); return *this;} private: Aws::String m_attachmentId; bool m_attachmentIdHasBeenSet = false; Aws::String m_fileName; bool m_fileNameHasBeenSet = false; }; } // namespace Model } // namespace Support } // namespace Aws