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/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 Template();
36 AWS_PINPOINT_API Template(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PINPOINT_API Template& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline Template& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline Template& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline Template& WithName(const char* value) { SetName(value); return *this;}
55
57
69 inline const Aws::String& GetVersion() const{ return m_version; }
70 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
71 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
72 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
73 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
74 inline Template& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
75 inline Template& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
76 inline Template& WithVersion(const char* value) { SetVersion(value); return *this;}
78 private:
79
80 Aws::String m_name;
81 bool m_nameHasBeenSet = false;
82
83 Aws::String m_version;
84 bool m_versionHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Pinpoint
89} // namespace Aws
AWS_PINPOINT_API Template()
const Aws::String & GetVersion() const
Definition Template.h:69
Template & WithVersion(const char *value)
Definition Template.h:76
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const char *value)
Definition Template.h:50
Template & WithName(const char *value)
Definition Template.h:53
AWS_PINPOINT_API Template & operator=(Aws::Utils::Json::JsonView jsonValue)
Template & WithVersion(const Aws::String &value)
Definition Template.h:74
void SetVersion(Aws::String &&value)
Definition Template.h:72
void SetName(Aws::String &&value)
Definition Template.h:49
const Aws::String & GetName() const
Definition Template.h:46
Template & WithName(Aws::String &&value)
Definition Template.h:52
Template & WithName(const Aws::String &value)
Definition Template.h:51
void SetName(const Aws::String &value)
Definition Template.h:48
AWS_PINPOINT_API Template(Aws::Utils::Json::JsonView jsonValue)
void SetVersion(const char *value)
Definition Template.h:73
Template & WithVersion(Aws::String &&value)
Definition Template.h:75
void SetVersion(const Aws::String &value)
Definition Template.h:71
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue