AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
TemplateActiveVersionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Pinpoint {
20namespace Model {
21
29 public:
30 AWS_PINPOINT_API TemplateActiveVersionRequest() = default;
33 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
46 inline const Aws::String& GetVersion() const { return m_version; }
47 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
48 template <typename VersionT = Aws::String>
49 void SetVersion(VersionT&& value) {
50 m_versionHasBeenSet = true;
51 m_version = std::forward<VersionT>(value);
52 }
53 template <typename VersionT = Aws::String>
55 SetVersion(std::forward<VersionT>(value));
56 return *this;
57 }
59 private:
60 Aws::String m_version;
61 bool m_versionHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace Pinpoint
66} // namespace Aws
AWS_PINPOINT_API TemplateActiveVersionRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API TemplateActiveVersionRequest()=default
AWS_PINPOINT_API TemplateActiveVersionRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
TemplateActiveVersionRequest & WithVersion(VersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue