AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JourneyPushMessage.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 JourneyPushMessage();
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
51 inline const Aws::String& GetTimeToLive() const{ return m_timeToLive; }
52 inline bool TimeToLiveHasBeenSet() const { return m_timeToLiveHasBeenSet; }
53 inline void SetTimeToLive(const Aws::String& value) { m_timeToLiveHasBeenSet = true; m_timeToLive = value; }
54 inline void SetTimeToLive(Aws::String&& value) { m_timeToLiveHasBeenSet = true; m_timeToLive = std::move(value); }
55 inline void SetTimeToLive(const char* value) { m_timeToLiveHasBeenSet = true; m_timeToLive.assign(value); }
56 inline JourneyPushMessage& WithTimeToLive(const Aws::String& value) { SetTimeToLive(value); return *this;}
57 inline JourneyPushMessage& WithTimeToLive(Aws::String&& value) { SetTimeToLive(std::move(value)); return *this;}
58 inline JourneyPushMessage& WithTimeToLive(const char* value) { SetTimeToLive(value); return *this;}
60 private:
61
62 Aws::String m_timeToLive;
63 bool m_timeToLiveHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace Pinpoint
68} // namespace Aws
void SetTimeToLive(const Aws::String &value)
JourneyPushMessage & WithTimeToLive(Aws::String &&value)
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(const Aws::String &value)
AWS_PINPOINT_API JourneyPushMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
JourneyPushMessage & WithTimeToLive(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue