/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Support { namespace Model { /** *

The ID and expiry time of the attachment set returned by the * AddAttachmentsToSet operation.

See Also:

AWS * API Reference

*/ class AddAttachmentsToSetResult { public: AWS_SUPPORT_API AddAttachmentsToSetResult(); AWS_SUPPORT_API AddAttachmentsToSetResult(const Aws::AmazonWebServiceResult& result); AWS_SUPPORT_API AddAttachmentsToSetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the attachment set. If an attachmentSetId was not * specified, a new attachment set is created, and the ID of the set is returned in * the response. If an attachmentSetId was specified, the attachments * are added to the specified set, if it exists.

*/ inline const Aws::String& GetAttachmentSetId() const{ return m_attachmentSetId; } /** *

The ID of the attachment set. If an attachmentSetId was not * specified, a new attachment set is created, and the ID of the set is returned in * the response. If an attachmentSetId was specified, the attachments * are added to the specified set, if it exists.

*/ inline void SetAttachmentSetId(const Aws::String& value) { m_attachmentSetId = value; } /** *

The ID of the attachment set. If an attachmentSetId was not * specified, a new attachment set is created, and the ID of the set is returned in * the response. If an attachmentSetId was specified, the attachments * are added to the specified set, if it exists.

*/ inline void SetAttachmentSetId(Aws::String&& value) { m_attachmentSetId = std::move(value); } /** *

The ID of the attachment set. If an attachmentSetId was not * specified, a new attachment set is created, and the ID of the set is returned in * the response. If an attachmentSetId was specified, the attachments * are added to the specified set, if it exists.

*/ inline void SetAttachmentSetId(const char* value) { m_attachmentSetId.assign(value); } /** *

The ID of the attachment set. If an attachmentSetId was not * specified, a new attachment set is created, and the ID of the set is returned in * the response. If an attachmentSetId was specified, the attachments * are added to the specified set, if it exists.

*/ inline AddAttachmentsToSetResult& WithAttachmentSetId(const Aws::String& value) { SetAttachmentSetId(value); return *this;} /** *

The ID of the attachment set. If an attachmentSetId was not * specified, a new attachment set is created, and the ID of the set is returned in * the response. If an attachmentSetId was specified, the attachments * are added to the specified set, if it exists.

*/ inline AddAttachmentsToSetResult& WithAttachmentSetId(Aws::String&& value) { SetAttachmentSetId(std::move(value)); return *this;} /** *

The ID of the attachment set. If an attachmentSetId was not * specified, a new attachment set is created, and the ID of the set is returned in * the response. If an attachmentSetId was specified, the attachments * are added to the specified set, if it exists.

*/ inline AddAttachmentsToSetResult& WithAttachmentSetId(const char* value) { SetAttachmentSetId(value); return *this;} /** *

The time and date when the attachment set expires.

*/ inline const Aws::String& GetExpiryTime() const{ return m_expiryTime; } /** *

The time and date when the attachment set expires.

*/ inline void SetExpiryTime(const Aws::String& value) { m_expiryTime = value; } /** *

The time and date when the attachment set expires.

*/ inline void SetExpiryTime(Aws::String&& value) { m_expiryTime = std::move(value); } /** *

The time and date when the attachment set expires.

*/ inline void SetExpiryTime(const char* value) { m_expiryTime.assign(value); } /** *

The time and date when the attachment set expires.

*/ inline AddAttachmentsToSetResult& WithExpiryTime(const Aws::String& value) { SetExpiryTime(value); return *this;} /** *

The time and date when the attachment set expires.

*/ inline AddAttachmentsToSetResult& WithExpiryTime(Aws::String&& value) { SetExpiryTime(std::move(value)); return *this;} /** *

The time and date when the attachment set expires.

*/ inline AddAttachmentsToSetResult& WithExpiryTime(const char* value) { SetExpiryTime(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline AddAttachmentsToSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AddAttachmentsToSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AddAttachmentsToSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_attachmentSetId; Aws::String m_expiryTime; Aws::String m_requestId; }; } // namespace Model } // namespace Support } // namespace Aws