AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SegmentBehaviors.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/RecencyDimension.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
34 {
35 public:
36 AWS_PINPOINT_API SegmentBehaviors();
37 AWS_PINPOINT_API SegmentBehaviors(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const RecencyDimension& GetRecency() const{ return m_recency; }
48 inline bool RecencyHasBeenSet() const { return m_recencyHasBeenSet; }
49 inline void SetRecency(const RecencyDimension& value) { m_recencyHasBeenSet = true; m_recency = value; }
50 inline void SetRecency(RecencyDimension&& value) { m_recencyHasBeenSet = true; m_recency = std::move(value); }
51 inline SegmentBehaviors& WithRecency(const RecencyDimension& value) { SetRecency(value); return *this;}
52 inline SegmentBehaviors& WithRecency(RecencyDimension&& value) { SetRecency(std::move(value)); return *this;}
54 private:
55
56 RecencyDimension m_recency;
57 bool m_recencyHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace Pinpoint
62} // namespace Aws
void SetRecency(RecencyDimension &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
SegmentBehaviors & WithRecency(RecencyDimension &&value)
const RecencyDimension & GetRecency() const
void SetRecency(const RecencyDimension &value)
SegmentBehaviors & WithRecency(const RecencyDimension &value)
AWS_PINPOINT_API SegmentBehaviors(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API SegmentBehaviors & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue