AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SegmentDemographics.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/SetDimension.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 SegmentDemographics();
39 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const SetDimension& GetAppVersion() const{ return m_appVersion; }
47 inline bool AppVersionHasBeenSet() const { return m_appVersionHasBeenSet; }
48 inline void SetAppVersion(const SetDimension& value) { m_appVersionHasBeenSet = true; m_appVersion = value; }
49 inline void SetAppVersion(SetDimension&& value) { m_appVersionHasBeenSet = true; m_appVersion = std::move(value); }
50 inline SegmentDemographics& WithAppVersion(const SetDimension& value) { SetAppVersion(value); return *this;}
51 inline SegmentDemographics& WithAppVersion(SetDimension&& value) { SetAppVersion(std::move(value)); return *this;}
53
55
58 inline const SetDimension& GetChannel() const{ return m_channel; }
59 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
60 inline void SetChannel(const SetDimension& value) { m_channelHasBeenSet = true; m_channel = value; }
61 inline void SetChannel(SetDimension&& value) { m_channelHasBeenSet = true; m_channel = std::move(value); }
62 inline SegmentDemographics& WithChannel(const SetDimension& value) { SetChannel(value); return *this;}
63 inline SegmentDemographics& WithChannel(SetDimension&& value) { SetChannel(std::move(value)); return *this;}
65
67
70 inline const SetDimension& GetDeviceType() const{ return m_deviceType; }
71 inline bool DeviceTypeHasBeenSet() const { return m_deviceTypeHasBeenSet; }
72 inline void SetDeviceType(const SetDimension& value) { m_deviceTypeHasBeenSet = true; m_deviceType = value; }
73 inline void SetDeviceType(SetDimension&& value) { m_deviceTypeHasBeenSet = true; m_deviceType = std::move(value); }
74 inline SegmentDemographics& WithDeviceType(const SetDimension& value) { SetDeviceType(value); return *this;}
75 inline SegmentDemographics& WithDeviceType(SetDimension&& value) { SetDeviceType(std::move(value)); return *this;}
77
79
82 inline const SetDimension& GetMake() const{ return m_make; }
83 inline bool MakeHasBeenSet() const { return m_makeHasBeenSet; }
84 inline void SetMake(const SetDimension& value) { m_makeHasBeenSet = true; m_make = value; }
85 inline void SetMake(SetDimension&& value) { m_makeHasBeenSet = true; m_make = std::move(value); }
86 inline SegmentDemographics& WithMake(const SetDimension& value) { SetMake(value); return *this;}
87 inline SegmentDemographics& WithMake(SetDimension&& value) { SetMake(std::move(value)); return *this;}
89
91
94 inline const SetDimension& GetModel() const{ return m_model; }
95 inline bool ModelHasBeenSet() const { return m_modelHasBeenSet; }
96 inline void SetModel(const SetDimension& value) { m_modelHasBeenSet = true; m_model = value; }
97 inline void SetModel(SetDimension&& value) { m_modelHasBeenSet = true; m_model = std::move(value); }
98 inline SegmentDemographics& WithModel(const SetDimension& value) { SetModel(value); return *this;}
99 inline SegmentDemographics& WithModel(SetDimension&& value) { SetModel(std::move(value)); return *this;}
101
103
106 inline const SetDimension& GetPlatform() const{ return m_platform; }
107 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
108 inline void SetPlatform(const SetDimension& value) { m_platformHasBeenSet = true; m_platform = value; }
109 inline void SetPlatform(SetDimension&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
110 inline SegmentDemographics& WithPlatform(const SetDimension& value) { SetPlatform(value); return *this;}
111 inline SegmentDemographics& WithPlatform(SetDimension&& value) { SetPlatform(std::move(value)); return *this;}
113 private:
114
115 SetDimension m_appVersion;
116 bool m_appVersionHasBeenSet = false;
117
118 SetDimension m_channel;
119 bool m_channelHasBeenSet = false;
120
121 SetDimension m_deviceType;
122 bool m_deviceTypeHasBeenSet = false;
123
124 SetDimension m_make;
125 bool m_makeHasBeenSet = false;
126
127 SetDimension m_model;
128 bool m_modelHasBeenSet = false;
129
130 SetDimension m_platform;
131 bool m_platformHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace Pinpoint
136} // namespace Aws
void SetChannel(const SetDimension &value)
void SetMake(const SetDimension &value)
SegmentDemographics & WithPlatform(SetDimension &&value)
SegmentDemographics & WithChannel(const SetDimension &value)
SegmentDemographics & WithMake(const SetDimension &value)
SegmentDemographics & WithChannel(SetDimension &&value)
SegmentDemographics & WithPlatform(const SetDimension &value)
void SetModel(const SetDimension &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API SegmentDemographics(Aws::Utils::Json::JsonView jsonValue)
SegmentDemographics & WithMake(SetDimension &&value)
SegmentDemographics & WithAppVersion(SetDimension &&value)
SegmentDemographics & WithModel(const SetDimension &value)
SegmentDemographics & WithModel(SetDimension &&value)
void SetDeviceType(const SetDimension &value)
SegmentDemographics & WithDeviceType(const SetDimension &value)
void SetAppVersion(const SetDimension &value)
void SetPlatform(const SetDimension &value)
AWS_PINPOINT_API SegmentDemographics & operator=(Aws::Utils::Json::JsonView jsonValue)
SegmentDemographics & WithDeviceType(SetDimension &&value)
SegmentDemographics & WithAppVersion(const SetDimension &value)
Aws::Utils::Json::JsonValue JsonValue