AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
JourneyPushMessage.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 JourneyPushMessage() = default;
33 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
45 inline const Aws::String& GetTimeToLive() const { return m_timeToLive; }
46 inline bool TimeToLiveHasBeenSet() const { return m_timeToLiveHasBeenSet; }
47 template <typename TimeToLiveT = Aws::String>
48 void SetTimeToLive(TimeToLiveT&& value) {
49 m_timeToLiveHasBeenSet = true;
50 m_timeToLive = std::forward<TimeToLiveT>(value);
51 }
52 template <typename TimeToLiveT = Aws::String>
53 JourneyPushMessage& WithTimeToLive(TimeToLiveT&& value) {
54 SetTimeToLive(std::forward<TimeToLiveT>(value));
55 return *this;
56 }
58 private:
59 Aws::String m_timeToLive;
60 bool m_timeToLiveHasBeenSet = false;
61};
62
63} // namespace Model
64} // namespace Pinpoint
65} // namespace Aws
AWS_PINPOINT_API JourneyPushMessage()=default
AWS_PINPOINT_API JourneyPushMessage(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTimeToLive() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
JourneyPushMessage & WithTimeToLive(TimeToLiveT &&value)
AWS_PINPOINT_API JourneyPushMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue