AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TemplateVersionResponse.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_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 Pinpoint
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_PINPOINT_API TemplateVersionResponse();
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
47 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
48 inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
49 inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
50 inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); }
51 inline TemplateVersionResponse& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
52 inline TemplateVersionResponse& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
53 inline TemplateVersionResponse& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
55
57
63 inline const Aws::String& GetDefaultSubstitutions() const{ return m_defaultSubstitutions; }
64 inline bool DefaultSubstitutionsHasBeenSet() const { return m_defaultSubstitutionsHasBeenSet; }
65 inline void SetDefaultSubstitutions(const Aws::String& value) { m_defaultSubstitutionsHasBeenSet = true; m_defaultSubstitutions = value; }
66 inline void SetDefaultSubstitutions(Aws::String&& value) { m_defaultSubstitutionsHasBeenSet = true; m_defaultSubstitutions = std::move(value); }
67 inline void SetDefaultSubstitutions(const char* value) { m_defaultSubstitutionsHasBeenSet = true; m_defaultSubstitutions.assign(value); }
69 inline TemplateVersionResponse& WithDefaultSubstitutions(Aws::String&& value) { SetDefaultSubstitutions(std::move(value)); return *this;}
70 inline TemplateVersionResponse& WithDefaultSubstitutions(const char* value) { SetDefaultSubstitutions(value); return *this;}
72
74
78 inline const Aws::String& GetLastModifiedDate() const{ return m_lastModifiedDate; }
79 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
80 inline void SetLastModifiedDate(const Aws::String& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
81 inline void SetLastModifiedDate(Aws::String&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
82 inline void SetLastModifiedDate(const char* value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate.assign(value); }
83 inline TemplateVersionResponse& WithLastModifiedDate(const Aws::String& value) { SetLastModifiedDate(value); return *this;}
84 inline TemplateVersionResponse& WithLastModifiedDate(Aws::String&& value) { SetLastModifiedDate(std::move(value)); return *this;}
85 inline TemplateVersionResponse& WithLastModifiedDate(const char* value) { SetLastModifiedDate(value); return *this;}
87
89
92 inline const Aws::String& GetTemplateDescription() const{ return m_templateDescription; }
93 inline bool TemplateDescriptionHasBeenSet() const { return m_templateDescriptionHasBeenSet; }
94 inline void SetTemplateDescription(const Aws::String& value) { m_templateDescriptionHasBeenSet = true; m_templateDescription = value; }
95 inline void SetTemplateDescription(Aws::String&& value) { m_templateDescriptionHasBeenSet = true; m_templateDescription = std::move(value); }
96 inline void SetTemplateDescription(const char* value) { m_templateDescriptionHasBeenSet = true; m_templateDescription.assign(value); }
98 inline TemplateVersionResponse& WithTemplateDescription(Aws::String&& value) { SetTemplateDescription(std::move(value)); return *this;}
99 inline TemplateVersionResponse& WithTemplateDescription(const char* value) { SetTemplateDescription(value); return *this;}
101
103
106 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
107 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
108 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
109 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
110 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
111 inline TemplateVersionResponse& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
112 inline TemplateVersionResponse& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
113 inline TemplateVersionResponse& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
115
117
121 inline const Aws::String& GetTemplateType() const{ return m_templateType; }
122 inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; }
123 inline void SetTemplateType(const Aws::String& value) { m_templateTypeHasBeenSet = true; m_templateType = value; }
124 inline void SetTemplateType(Aws::String&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); }
125 inline void SetTemplateType(const char* value) { m_templateTypeHasBeenSet = true; m_templateType.assign(value); }
126 inline TemplateVersionResponse& WithTemplateType(const Aws::String& value) { SetTemplateType(value); return *this;}
127 inline TemplateVersionResponse& WithTemplateType(Aws::String&& value) { SetTemplateType(std::move(value)); return *this;}
128 inline TemplateVersionResponse& WithTemplateType(const char* value) { SetTemplateType(value); return *this;}
130
132
137 inline const Aws::String& GetVersion() const{ return m_version; }
138 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
139 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
140 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
141 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
142 inline TemplateVersionResponse& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
143 inline TemplateVersionResponse& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
144 inline TemplateVersionResponse& WithVersion(const char* value) { SetVersion(value); return *this;}
146 private:
147
148 Aws::String m_creationDate;
149 bool m_creationDateHasBeenSet = false;
150
151 Aws::String m_defaultSubstitutions;
152 bool m_defaultSubstitutionsHasBeenSet = false;
153
154 Aws::String m_lastModifiedDate;
155 bool m_lastModifiedDateHasBeenSet = false;
156
157 Aws::String m_templateDescription;
158 bool m_templateDescriptionHasBeenSet = false;
159
160 Aws::String m_templateName;
161 bool m_templateNameHasBeenSet = false;
162
163 Aws::String m_templateType;
164 bool m_templateTypeHasBeenSet = false;
165
166 Aws::String m_version;
167 bool m_versionHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace Pinpoint
172} // namespace Aws
TemplateVersionResponse & WithCreationDate(Aws::String &&value)
TemplateVersionResponse & WithLastModifiedDate(Aws::String &&value)
TemplateVersionResponse & WithTemplateType(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API TemplateVersionResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
TemplateVersionResponse & WithLastModifiedDate(const Aws::String &value)
TemplateVersionResponse & WithTemplateName(const Aws::String &value)
TemplateVersionResponse & WithTemplateType(const char *value)
TemplateVersionResponse & WithVersion(const char *value)
TemplateVersionResponse & WithDefaultSubstitutions(const Aws::String &value)
TemplateVersionResponse & WithTemplateName(const char *value)
TemplateVersionResponse & WithTemplateDescription(const char *value)
TemplateVersionResponse & WithCreationDate(const char *value)
TemplateVersionResponse & WithTemplateType(Aws::String &&value)
TemplateVersionResponse & WithDefaultSubstitutions(const char *value)
TemplateVersionResponse & WithCreationDate(const Aws::String &value)
TemplateVersionResponse & WithTemplateDescription(Aws::String &&value)
TemplateVersionResponse & WithTemplateDescription(const Aws::String &value)
AWS_PINPOINT_API TemplateVersionResponse(Aws::Utils::Json::JsonView jsonValue)
TemplateVersionResponse & WithTemplateName(Aws::String &&value)
TemplateVersionResponse & WithVersion(const Aws::String &value)
TemplateVersionResponse & WithLastModifiedDate(const char *value)
TemplateVersionResponse & WithDefaultSubstitutions(Aws::String &&value)
TemplateVersionResponse & WithVersion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue