124 lines
3.6 KiB
C
124 lines
3.6 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/sesv2/SESV2_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/core/utils/DateTime.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace SESV2
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Contains information about an email template.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/EmailTemplateMetadata">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_SESV2_API EmailTemplateMetadata
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
EmailTemplateMetadata();
|
|||
|
|
EmailTemplateMetadata(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
EmailTemplateMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the template.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetTemplateName() const{ return m_templateName; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the template.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the template.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the template.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the template.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the template.</p>
|
|||
|
|
*/
|
|||
|
|
inline EmailTemplateMetadata& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the template.</p>
|
|||
|
|
*/
|
|||
|
|
inline EmailTemplateMetadata& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the template.</p>
|
|||
|
|
*/
|
|||
|
|
inline EmailTemplateMetadata& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The time and date the template was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The time and date the template was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The time and date the template was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The time and date the template was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The time and date the template was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline EmailTemplateMetadata& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The time and date the template was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline EmailTemplateMetadata& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_templateName;
|
|||
|
|
bool m_templateNameHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::Utils::DateTime m_createdTimestamp;
|
|||
|
|
bool m_createdTimestampHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace SESV2
|
|||
|
|
} // namespace Aws
|