AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename CreationDateT = Aws::String>
49 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
50 template<typename CreationDateT = Aws::String>
51 TemplateVersionResponse& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
53
55
61 inline const Aws::String& GetDefaultSubstitutions() const { return m_defaultSubstitutions; }
62 inline bool DefaultSubstitutionsHasBeenSet() const { return m_defaultSubstitutionsHasBeenSet; }
63 template<typename DefaultSubstitutionsT = Aws::String>
64 void SetDefaultSubstitutions(DefaultSubstitutionsT&& value) { m_defaultSubstitutionsHasBeenSet = true; m_defaultSubstitutions = std::forward<DefaultSubstitutionsT>(value); }
65 template<typename DefaultSubstitutionsT = Aws::String>
66 TemplateVersionResponse& WithDefaultSubstitutions(DefaultSubstitutionsT&& value) { SetDefaultSubstitutions(std::forward<DefaultSubstitutionsT>(value)); return *this;}
68
70
74 inline const Aws::String& GetLastModifiedDate() const { return m_lastModifiedDate; }
75 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
76 template<typename LastModifiedDateT = Aws::String>
77 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
78 template<typename LastModifiedDateT = Aws::String>
79 TemplateVersionResponse& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
81
83
86 inline const Aws::String& GetTemplateDescription() const { return m_templateDescription; }
87 inline bool TemplateDescriptionHasBeenSet() const { return m_templateDescriptionHasBeenSet; }
88 template<typename TemplateDescriptionT = Aws::String>
89 void SetTemplateDescription(TemplateDescriptionT&& value) { m_templateDescriptionHasBeenSet = true; m_templateDescription = std::forward<TemplateDescriptionT>(value); }
90 template<typename TemplateDescriptionT = Aws::String>
91 TemplateVersionResponse& WithTemplateDescription(TemplateDescriptionT&& value) { SetTemplateDescription(std::forward<TemplateDescriptionT>(value)); return *this;}
93
95
98 inline const Aws::String& GetTemplateName() const { return m_templateName; }
99 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
100 template<typename TemplateNameT = Aws::String>
101 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet = true; m_templateName = std::forward<TemplateNameT>(value); }
102 template<typename TemplateNameT = Aws::String>
103 TemplateVersionResponse& WithTemplateName(TemplateNameT&& value) { SetTemplateName(std::forward<TemplateNameT>(value)); return *this;}
105
107
111 inline const Aws::String& GetTemplateType() const { return m_templateType; }
112 inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; }
113 template<typename TemplateTypeT = Aws::String>
114 void SetTemplateType(TemplateTypeT&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::forward<TemplateTypeT>(value); }
115 template<typename TemplateTypeT = Aws::String>
116 TemplateVersionResponse& WithTemplateType(TemplateTypeT&& value) { SetTemplateType(std::forward<TemplateTypeT>(value)); return *this;}
118
120
125 inline const Aws::String& GetVersion() const { return m_version; }
126 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
127 template<typename VersionT = Aws::String>
128 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
129 template<typename VersionT = Aws::String>
130 TemplateVersionResponse& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
132 private:
133
134 Aws::String m_creationDate;
135 bool m_creationDateHasBeenSet = false;
136
137 Aws::String m_defaultSubstitutions;
138 bool m_defaultSubstitutionsHasBeenSet = false;
139
140 Aws::String m_lastModifiedDate;
141 bool m_lastModifiedDateHasBeenSet = false;
142
143 Aws::String m_templateDescription;
144 bool m_templateDescriptionHasBeenSet = false;
145
146 Aws::String m_templateName;
147 bool m_templateNameHasBeenSet = false;
148
149 Aws::String m_templateType;
150 bool m_templateTypeHasBeenSet = false;
151
152 Aws::String m_version;
153 bool m_versionHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace Pinpoint
158} // namespace Aws
AWS_PINPOINT_API TemplateVersionResponse()=default
TemplateVersionResponse & WithTemplateName(TemplateNameT &&value)
TemplateVersionResponse & WithCreationDate(CreationDateT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API TemplateVersionResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
TemplateVersionResponse & WithDefaultSubstitutions(DefaultSubstitutionsT &&value)
TemplateVersionResponse & WithTemplateType(TemplateTypeT &&value)
TemplateVersionResponse & WithVersion(VersionT &&value)
void SetTemplateDescription(TemplateDescriptionT &&value)
AWS_PINPOINT_API TemplateVersionResponse(Aws::Utils::Json::JsonView jsonValue)
TemplateVersionResponse & WithTemplateDescription(TemplateDescriptionT &&value)
void SetDefaultSubstitutions(DefaultSubstitutionsT &&value)
TemplateVersionResponse & WithLastModifiedDate(LastModifiedDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue