AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
EndpointDemographic.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 EndpointDemographic() = default;
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAppVersion() const { return m_appVersion; }
46 inline bool AppVersionHasBeenSet() const { return m_appVersionHasBeenSet; }
47 template<typename AppVersionT = Aws::String>
48 void SetAppVersion(AppVersionT&& value) { m_appVersionHasBeenSet = true; m_appVersion = std::forward<AppVersionT>(value); }
49 template<typename AppVersionT = Aws::String>
50 EndpointDemographic& WithAppVersion(AppVersionT&& value) { SetAppVersion(std::forward<AppVersionT>(value)); return *this;}
52
54
59 inline const Aws::String& GetLocale() const { return m_locale; }
60 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
61 template<typename LocaleT = Aws::String>
62 void SetLocale(LocaleT&& value) { m_localeHasBeenSet = true; m_locale = std::forward<LocaleT>(value); }
63 template<typename LocaleT = Aws::String>
64 EndpointDemographic& WithLocale(LocaleT&& value) { SetLocale(std::forward<LocaleT>(value)); return *this;}
66
68
71 inline const Aws::String& GetMake() const { return m_make; }
72 inline bool MakeHasBeenSet() const { return m_makeHasBeenSet; }
73 template<typename MakeT = Aws::String>
74 void SetMake(MakeT&& value) { m_makeHasBeenSet = true; m_make = std::forward<MakeT>(value); }
75 template<typename MakeT = Aws::String>
76 EndpointDemographic& WithMake(MakeT&& value) { SetMake(std::forward<MakeT>(value)); return *this;}
78
80
84 inline const Aws::String& GetModel() const { return m_model; }
85 inline bool ModelHasBeenSet() const { return m_modelHasBeenSet; }
86 template<typename ModelT = Aws::String>
87 void SetModel(ModelT&& value) { m_modelHasBeenSet = true; m_model = std::forward<ModelT>(value); }
88 template<typename ModelT = Aws::String>
89 EndpointDemographic& WithModel(ModelT&& value) { SetModel(std::forward<ModelT>(value)); return *this;}
91
93
96 inline const Aws::String& GetModelVersion() const { return m_modelVersion; }
97 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
98 template<typename ModelVersionT = Aws::String>
99 void SetModelVersion(ModelVersionT&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::forward<ModelVersionT>(value); }
100 template<typename ModelVersionT = Aws::String>
101 EndpointDemographic& WithModelVersion(ModelVersionT&& value) { SetModelVersion(std::forward<ModelVersionT>(value)); return *this;}
103
105
108 inline const Aws::String& GetPlatform() const { return m_platform; }
109 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
110 template<typename PlatformT = Aws::String>
111 void SetPlatform(PlatformT&& value) { m_platformHasBeenSet = true; m_platform = std::forward<PlatformT>(value); }
112 template<typename PlatformT = Aws::String>
113 EndpointDemographic& WithPlatform(PlatformT&& value) { SetPlatform(std::forward<PlatformT>(value)); return *this;}
115
117
120 inline const Aws::String& GetPlatformVersion() const { return m_platformVersion; }
121 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
122 template<typename PlatformVersionT = Aws::String>
123 void SetPlatformVersion(PlatformVersionT&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::forward<PlatformVersionT>(value); }
124 template<typename PlatformVersionT = Aws::String>
125 EndpointDemographic& WithPlatformVersion(PlatformVersionT&& value) { SetPlatformVersion(std::forward<PlatformVersionT>(value)); return *this;}
127
129
133 inline const Aws::String& GetTimezone() const { return m_timezone; }
134 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
135 template<typename TimezoneT = Aws::String>
136 void SetTimezone(TimezoneT&& value) { m_timezoneHasBeenSet = true; m_timezone = std::forward<TimezoneT>(value); }
137 template<typename TimezoneT = Aws::String>
138 EndpointDemographic& WithTimezone(TimezoneT&& value) { SetTimezone(std::forward<TimezoneT>(value)); return *this;}
140 private:
141
142 Aws::String m_appVersion;
143 bool m_appVersionHasBeenSet = false;
144
145 Aws::String m_locale;
146 bool m_localeHasBeenSet = false;
147
148 Aws::String m_make;
149 bool m_makeHasBeenSet = false;
150
151 Aws::String m_model;
152 bool m_modelHasBeenSet = false;
153
154 Aws::String m_modelVersion;
155 bool m_modelVersionHasBeenSet = false;
156
157 Aws::String m_platform;
158 bool m_platformHasBeenSet = false;
159
160 Aws::String m_platformVersion;
161 bool m_platformVersionHasBeenSet = false;
162
163 Aws::String m_timezone;
164 bool m_timezoneHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace Pinpoint
169} // namespace Aws
EndpointDemographic & WithPlatform(PlatformT &&value)
EndpointDemographic & WithLocale(LocaleT &&value)
AWS_PINPOINT_API EndpointDemographic(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API EndpointDemographic()=default
void SetPlatformVersion(PlatformVersionT &&value)
EndpointDemographic & WithModel(ModelT &&value)
EndpointDemographic & WithModelVersion(ModelVersionT &&value)
EndpointDemographic & WithTimezone(TimezoneT &&value)
EndpointDemographic & WithAppVersion(AppVersionT &&value)
EndpointDemographic & WithMake(MakeT &&value)
AWS_PINPOINT_API EndpointDemographic & operator=(Aws::Utils::Json::JsonView jsonValue)
EndpointDemographic & WithPlatformVersion(PlatformVersionT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue