AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAppVersion(const Aws::String& value) { m_appVersionHasBeenSet = true; m_appVersion = value; }
48 inline void SetAppVersion(Aws::String&& value) { m_appVersionHasBeenSet = true; m_appVersion = std::move(value); }
49 inline void SetAppVersion(const char* value) { m_appVersionHasBeenSet = true; m_appVersion.assign(value); }
50 inline EndpointDemographic& WithAppVersion(const Aws::String& value) { SetAppVersion(value); return *this;}
51 inline EndpointDemographic& WithAppVersion(Aws::String&& value) { SetAppVersion(std::move(value)); return *this;}
52 inline EndpointDemographic& WithAppVersion(const char* value) { SetAppVersion(value); return *this;}
54
56
61 inline const Aws::String& GetLocale() const{ return m_locale; }
62 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
63 inline void SetLocale(const Aws::String& value) { m_localeHasBeenSet = true; m_locale = value; }
64 inline void SetLocale(Aws::String&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
65 inline void SetLocale(const char* value) { m_localeHasBeenSet = true; m_locale.assign(value); }
66 inline EndpointDemographic& WithLocale(const Aws::String& value) { SetLocale(value); return *this;}
67 inline EndpointDemographic& WithLocale(Aws::String&& value) { SetLocale(std::move(value)); return *this;}
68 inline EndpointDemographic& WithLocale(const char* value) { SetLocale(value); return *this;}
70
72
75 inline const Aws::String& GetMake() const{ return m_make; }
76 inline bool MakeHasBeenSet() const { return m_makeHasBeenSet; }
77 inline void SetMake(const Aws::String& value) { m_makeHasBeenSet = true; m_make = value; }
78 inline void SetMake(Aws::String&& value) { m_makeHasBeenSet = true; m_make = std::move(value); }
79 inline void SetMake(const char* value) { m_makeHasBeenSet = true; m_make.assign(value); }
80 inline EndpointDemographic& WithMake(const Aws::String& value) { SetMake(value); return *this;}
81 inline EndpointDemographic& WithMake(Aws::String&& value) { SetMake(std::move(value)); return *this;}
82 inline EndpointDemographic& WithMake(const char* value) { SetMake(value); return *this;}
84
86
90 inline const Aws::String& GetModel() const{ return m_model; }
91 inline bool ModelHasBeenSet() const { return m_modelHasBeenSet; }
92 inline void SetModel(const Aws::String& value) { m_modelHasBeenSet = true; m_model = value; }
93 inline void SetModel(Aws::String&& value) { m_modelHasBeenSet = true; m_model = std::move(value); }
94 inline void SetModel(const char* value) { m_modelHasBeenSet = true; m_model.assign(value); }
95 inline EndpointDemographic& WithModel(const Aws::String& value) { SetModel(value); return *this;}
96 inline EndpointDemographic& WithModel(Aws::String&& value) { SetModel(std::move(value)); return *this;}
97 inline EndpointDemographic& WithModel(const char* value) { SetModel(value); return *this;}
99
101
104 inline const Aws::String& GetModelVersion() const{ return m_modelVersion; }
105 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
106 inline void SetModelVersion(const Aws::String& value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; }
107 inline void SetModelVersion(Aws::String&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::move(value); }
108 inline void SetModelVersion(const char* value) { m_modelVersionHasBeenSet = true; m_modelVersion.assign(value); }
109 inline EndpointDemographic& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;}
110 inline EndpointDemographic& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
111 inline EndpointDemographic& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
113
115
118 inline const Aws::String& GetPlatform() const{ return m_platform; }
119 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
120 inline void SetPlatform(const Aws::String& value) { m_platformHasBeenSet = true; m_platform = value; }
121 inline void SetPlatform(Aws::String&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
122 inline void SetPlatform(const char* value) { m_platformHasBeenSet = true; m_platform.assign(value); }
123 inline EndpointDemographic& WithPlatform(const Aws::String& value) { SetPlatform(value); return *this;}
124 inline EndpointDemographic& WithPlatform(Aws::String&& value) { SetPlatform(std::move(value)); return *this;}
125 inline EndpointDemographic& WithPlatform(const char* value) { SetPlatform(value); return *this;}
127
129
132 inline const Aws::String& GetPlatformVersion() const{ return m_platformVersion; }
133 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
134 inline void SetPlatformVersion(const Aws::String& value) { m_platformVersionHasBeenSet = true; m_platformVersion = value; }
135 inline void SetPlatformVersion(Aws::String&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::move(value); }
136 inline void SetPlatformVersion(const char* value) { m_platformVersionHasBeenSet = true; m_platformVersion.assign(value); }
137 inline EndpointDemographic& WithPlatformVersion(const Aws::String& value) { SetPlatformVersion(value); return *this;}
138 inline EndpointDemographic& WithPlatformVersion(Aws::String&& value) { SetPlatformVersion(std::move(value)); return *this;}
139 inline EndpointDemographic& WithPlatformVersion(const char* value) { SetPlatformVersion(value); return *this;}
141
143
147 inline const Aws::String& GetTimezone() const{ return m_timezone; }
148 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
149 inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; }
150 inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); }
151 inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); }
152 inline EndpointDemographic& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;}
153 inline EndpointDemographic& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;}
154 inline EndpointDemographic& WithTimezone(const char* value) { SetTimezone(value); return *this;}
156 private:
157
158 Aws::String m_appVersion;
159 bool m_appVersionHasBeenSet = false;
160
161 Aws::String m_locale;
162 bool m_localeHasBeenSet = false;
163
164 Aws::String m_make;
165 bool m_makeHasBeenSet = false;
166
167 Aws::String m_model;
168 bool m_modelHasBeenSet = false;
169
170 Aws::String m_modelVersion;
171 bool m_modelVersionHasBeenSet = false;
172
173 Aws::String m_platform;
174 bool m_platformHasBeenSet = false;
175
176 Aws::String m_platformVersion;
177 bool m_platformVersionHasBeenSet = false;
178
179 Aws::String m_timezone;
180 bool m_timezoneHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace Pinpoint
185} // namespace Aws
EndpointDemographic & WithModelVersion(const char *value)
EndpointDemographic & WithPlatform(const char *value)
void SetAppVersion(const Aws::String &value)
AWS_PINPOINT_API EndpointDemographic(Aws::Utils::Json::JsonView jsonValue)
EndpointDemographic & WithPlatform(Aws::String &&value)
EndpointDemographic & WithTimezone(const char *value)
EndpointDemographic & WithAppVersion(const Aws::String &value)
void SetTimezone(const Aws::String &value)
EndpointDemographic & WithPlatform(const Aws::String &value)
void SetLocale(const Aws::String &value)
EndpointDemographic & WithModelVersion(Aws::String &&value)
void SetModelVersion(const Aws::String &value)
EndpointDemographic & WithPlatformVersion(const char *value)
EndpointDemographic & WithAppVersion(Aws::String &&value)
EndpointDemographic & WithTimezone(Aws::String &&value)
EndpointDemographic & WithLocale(const Aws::String &value)
EndpointDemographic & WithMake(const Aws::String &value)
EndpointDemographic & WithModelVersion(const Aws::String &value)
EndpointDemographic & WithModel(Aws::String &&value)
EndpointDemographic & WithMake(Aws::String &&value)
void SetPlatform(const Aws::String &value)
EndpointDemographic & WithModel(const char *value)
EndpointDemographic & WithPlatformVersion(Aws::String &&value)
EndpointDemographic & WithLocale(Aws::String &&value)
EndpointDemographic & WithPlatformVersion(const Aws::String &value)
AWS_PINPOINT_API EndpointDemographic & operator=(Aws::Utils::Json::JsonView jsonValue)
EndpointDemographic & WithMake(const char *value)
EndpointDemographic & WithAppVersion(const char *value)
EndpointDemographic & WithLocale(const char *value)
void SetModel(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPlatformVersion(const Aws::String &value)
EndpointDemographic & WithModel(const Aws::String &value)
EndpointDemographic & WithTimezone(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue