This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-email/include/aws/email/model/SendTemplatedEmailResult.h

104 lines
3.0 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/email/SES_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/email/model/ResponseMetadata.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace SES
{
namespace Model
{
class AWS_SES_API SendTemplatedEmailResult
{
public:
SendTemplatedEmailResult();
SendTemplatedEmailResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
SendTemplatedEmailResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>The unique message identifier returned from the
* <code>SendTemplatedEmail</code> action. </p>
*/
inline const Aws::String& GetMessageId() const{ return m_messageId; }
/**
* <p>The unique message identifier returned from the
* <code>SendTemplatedEmail</code> action. </p>
*/
inline void SetMessageId(const Aws::String& value) { m_messageId = value; }
/**
* <p>The unique message identifier returned from the
* <code>SendTemplatedEmail</code> action. </p>
*/
inline void SetMessageId(Aws::String&& value) { m_messageId = std::move(value); }
/**
* <p>The unique message identifier returned from the
* <code>SendTemplatedEmail</code> action. </p>
*/
inline void SetMessageId(const char* value) { m_messageId.assign(value); }
/**
* <p>The unique message identifier returned from the
* <code>SendTemplatedEmail</code> action. </p>
*/
inline SendTemplatedEmailResult& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
/**
* <p>The unique message identifier returned from the
* <code>SendTemplatedEmail</code> action. </p>
*/
inline SendTemplatedEmailResult& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
/**
* <p>The unique message identifier returned from the
* <code>SendTemplatedEmail</code> action. </p>
*/
inline SendTemplatedEmailResult& WithMessageId(const char* value) { SetMessageId(value); return *this;}
inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
inline SendTemplatedEmailResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
inline SendTemplatedEmailResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
private:
Aws::String m_messageId;
ResponseMetadata m_responseMetadata;
};
} // namespace Model
} // namespace SES
} // namespace Aws