AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 Template& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
67 inline const Aws::String& GetVersion() const { return m_version; }
68 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
69 template<typename VersionT = Aws::String>
70 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
71 template<typename VersionT = Aws::String>
72 Template& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
74 private:
75
76 Aws::String m_name;
77 bool m_nameHasBeenSet = false;
78
79 Aws::String m_version;
80 bool m_versionHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Pinpoint
85} // namespace Aws
void SetVersion(VersionT &&value)
Definition Template.h:70
const Aws::String & GetVersion() const
Definition Template.h:67
void SetName(NameT &&value)
Definition Template.h:49
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API Template()=default
Template & WithVersion(VersionT &&value)
Definition Template.h:72
Template & WithName(NameT &&value)
Definition Template.h:51
AWS_PINPOINT_API Template & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
Definition Template.h:46
AWS_PINPOINT_API Template(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue