AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Template.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PinpointEmail
22{
23namespace Model
24{
25
27 {
28 public:
29 AWS_PINPOINTEMAIL_API Template();
30 AWS_PINPOINTEMAIL_API Template(Aws::Utils::Json::JsonView jsonValue);
31 AWS_PINPOINTEMAIL_API Template& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
33
34
36
39 inline const Aws::String& GetTemplateArn() const{ return m_templateArn; }
40 inline bool TemplateArnHasBeenSet() const { return m_templateArnHasBeenSet; }
41 inline void SetTemplateArn(const Aws::String& value) { m_templateArnHasBeenSet = true; m_templateArn = value; }
42 inline void SetTemplateArn(Aws::String&& value) { m_templateArnHasBeenSet = true; m_templateArn = std::move(value); }
43 inline void SetTemplateArn(const char* value) { m_templateArnHasBeenSet = true; m_templateArn.assign(value); }
44 inline Template& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;}
45 inline Template& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
46 inline Template& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;}
48
50
56 inline const Aws::String& GetTemplateData() const{ return m_templateData; }
57 inline bool TemplateDataHasBeenSet() const { return m_templateDataHasBeenSet; }
58 inline void SetTemplateData(const Aws::String& value) { m_templateDataHasBeenSet = true; m_templateData = value; }
59 inline void SetTemplateData(Aws::String&& value) { m_templateDataHasBeenSet = true; m_templateData = std::move(value); }
60 inline void SetTemplateData(const char* value) { m_templateDataHasBeenSet = true; m_templateData.assign(value); }
61 inline Template& WithTemplateData(const Aws::String& value) { SetTemplateData(value); return *this;}
62 inline Template& WithTemplateData(Aws::String&& value) { SetTemplateData(std::move(value)); return *this;}
63 inline Template& WithTemplateData(const char* value) { SetTemplateData(value); return *this;}
65 private:
66
67 Aws::String m_templateArn;
68 bool m_templateArnHasBeenSet = false;
69
70 Aws::String m_templateData;
71 bool m_templateDataHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace PinpointEmail
76} // namespace Aws
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTemplateData(const Aws::String &value)
Definition Template.h:58
AWS_PINPOINTEMAIL_API Template(Aws::Utils::Json::JsonView jsonValue)
void SetTemplateData(Aws::String &&value)
Definition Template.h:59
void SetTemplateArn(const Aws::String &value)
Definition Template.h:41
Template & WithTemplateArn(Aws::String &&value)
Definition Template.h:45
Template & WithTemplateData(Aws::String &&value)
Definition Template.h:62
Template & WithTemplateArn(const Aws::String &value)
Definition Template.h:44
Template & WithTemplateData(const char *value)
Definition Template.h:63
const Aws::String & GetTemplateData() const
Definition Template.h:56
void SetTemplateData(const char *value)
Definition Template.h:60
const Aws::String & GetTemplateArn() const
Definition Template.h:39
Template & WithTemplateArn(const char *value)
Definition Template.h:46
Template & WithTemplateData(const Aws::String &value)
Definition Template.h:61
AWS_PINPOINTEMAIL_API Template & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTemplateArn(Aws::String &&value)
Definition Template.h:42
void SetTemplateArn(const char *value)
Definition Template.h:43
AWS_PINPOINTEMAIL_API Template()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue