AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
APNSChannelRequest.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 APNSChannelRequest();
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetBundleId() const{ return m_bundleId; }
47 inline bool BundleIdHasBeenSet() const { return m_bundleIdHasBeenSet; }
48 inline void SetBundleId(const Aws::String& value) { m_bundleIdHasBeenSet = true; m_bundleId = value; }
49 inline void SetBundleId(Aws::String&& value) { m_bundleIdHasBeenSet = true; m_bundleId = std::move(value); }
50 inline void SetBundleId(const char* value) { m_bundleIdHasBeenSet = true; m_bundleId.assign(value); }
51 inline APNSChannelRequest& WithBundleId(const Aws::String& value) { SetBundleId(value); return *this;}
52 inline APNSChannelRequest& WithBundleId(Aws::String&& value) { SetBundleId(std::move(value)); return *this;}
53 inline APNSChannelRequest& WithBundleId(const char* value) { SetBundleId(value); return *this;}
55
57
61 inline const Aws::String& GetCertificate() const{ return m_certificate; }
62 inline bool CertificateHasBeenSet() const { return m_certificateHasBeenSet; }
63 inline void SetCertificate(const Aws::String& value) { m_certificateHasBeenSet = true; m_certificate = value; }
64 inline void SetCertificate(Aws::String&& value) { m_certificateHasBeenSet = true; m_certificate = std::move(value); }
65 inline void SetCertificate(const char* value) { m_certificateHasBeenSet = true; m_certificate.assign(value); }
66 inline APNSChannelRequest& WithCertificate(const Aws::String& value) { SetCertificate(value); return *this;}
67 inline APNSChannelRequest& WithCertificate(Aws::String&& value) { SetCertificate(std::move(value)); return *this;}
68 inline APNSChannelRequest& WithCertificate(const char* value) { SetCertificate(value); return *this;}
70
72
76 inline const Aws::String& GetDefaultAuthenticationMethod() const{ return m_defaultAuthenticationMethod; }
77 inline bool DefaultAuthenticationMethodHasBeenSet() const { return m_defaultAuthenticationMethodHasBeenSet; }
78 inline void SetDefaultAuthenticationMethod(const Aws::String& value) { m_defaultAuthenticationMethodHasBeenSet = true; m_defaultAuthenticationMethod = value; }
79 inline void SetDefaultAuthenticationMethod(Aws::String&& value) { m_defaultAuthenticationMethodHasBeenSet = true; m_defaultAuthenticationMethod = std::move(value); }
80 inline void SetDefaultAuthenticationMethod(const char* value) { m_defaultAuthenticationMethodHasBeenSet = true; m_defaultAuthenticationMethod.assign(value); }
83 inline APNSChannelRequest& WithDefaultAuthenticationMethod(const char* value) { SetDefaultAuthenticationMethod(value); return *this;}
85
87
90 inline bool GetEnabled() const{ return m_enabled; }
91 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
92 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
93 inline APNSChannelRequest& WithEnabled(bool value) { SetEnabled(value); return *this;}
95
97
101 inline const Aws::String& GetPrivateKey() const{ return m_privateKey; }
102 inline bool PrivateKeyHasBeenSet() const { return m_privateKeyHasBeenSet; }
103 inline void SetPrivateKey(const Aws::String& value) { m_privateKeyHasBeenSet = true; m_privateKey = value; }
104 inline void SetPrivateKey(Aws::String&& value) { m_privateKeyHasBeenSet = true; m_privateKey = std::move(value); }
105 inline void SetPrivateKey(const char* value) { m_privateKeyHasBeenSet = true; m_privateKey.assign(value); }
106 inline APNSChannelRequest& WithPrivateKey(const Aws::String& value) { SetPrivateKey(value); return *this;}
107 inline APNSChannelRequest& WithPrivateKey(Aws::String&& value) { SetPrivateKey(std::move(value)); return *this;}
108 inline APNSChannelRequest& WithPrivateKey(const char* value) { SetPrivateKey(value); return *this;}
110
112
116 inline const Aws::String& GetTeamId() const{ return m_teamId; }
117 inline bool TeamIdHasBeenSet() const { return m_teamIdHasBeenSet; }
118 inline void SetTeamId(const Aws::String& value) { m_teamIdHasBeenSet = true; m_teamId = value; }
119 inline void SetTeamId(Aws::String&& value) { m_teamIdHasBeenSet = true; m_teamId = std::move(value); }
120 inline void SetTeamId(const char* value) { m_teamIdHasBeenSet = true; m_teamId.assign(value); }
121 inline APNSChannelRequest& WithTeamId(const Aws::String& value) { SetTeamId(value); return *this;}
122 inline APNSChannelRequest& WithTeamId(Aws::String&& value) { SetTeamId(std::move(value)); return *this;}
123 inline APNSChannelRequest& WithTeamId(const char* value) { SetTeamId(value); return *this;}
125
127
130 inline const Aws::String& GetTokenKey() const{ return m_tokenKey; }
131 inline bool TokenKeyHasBeenSet() const { return m_tokenKeyHasBeenSet; }
132 inline void SetTokenKey(const Aws::String& value) { m_tokenKeyHasBeenSet = true; m_tokenKey = value; }
133 inline void SetTokenKey(Aws::String&& value) { m_tokenKeyHasBeenSet = true; m_tokenKey = std::move(value); }
134 inline void SetTokenKey(const char* value) { m_tokenKeyHasBeenSet = true; m_tokenKey.assign(value); }
135 inline APNSChannelRequest& WithTokenKey(const Aws::String& value) { SetTokenKey(value); return *this;}
136 inline APNSChannelRequest& WithTokenKey(Aws::String&& value) { SetTokenKey(std::move(value)); return *this;}
137 inline APNSChannelRequest& WithTokenKey(const char* value) { SetTokenKey(value); return *this;}
139
141
145 inline const Aws::String& GetTokenKeyId() const{ return m_tokenKeyId; }
146 inline bool TokenKeyIdHasBeenSet() const { return m_tokenKeyIdHasBeenSet; }
147 inline void SetTokenKeyId(const Aws::String& value) { m_tokenKeyIdHasBeenSet = true; m_tokenKeyId = value; }
148 inline void SetTokenKeyId(Aws::String&& value) { m_tokenKeyIdHasBeenSet = true; m_tokenKeyId = std::move(value); }
149 inline void SetTokenKeyId(const char* value) { m_tokenKeyIdHasBeenSet = true; m_tokenKeyId.assign(value); }
150 inline APNSChannelRequest& WithTokenKeyId(const Aws::String& value) { SetTokenKeyId(value); return *this;}
151 inline APNSChannelRequest& WithTokenKeyId(Aws::String&& value) { SetTokenKeyId(std::move(value)); return *this;}
152 inline APNSChannelRequest& WithTokenKeyId(const char* value) { SetTokenKeyId(value); return *this;}
154 private:
155
156 Aws::String m_bundleId;
157 bool m_bundleIdHasBeenSet = false;
158
159 Aws::String m_certificate;
160 bool m_certificateHasBeenSet = false;
161
162 Aws::String m_defaultAuthenticationMethod;
163 bool m_defaultAuthenticationMethodHasBeenSet = false;
164
165 bool m_enabled;
166 bool m_enabledHasBeenSet = false;
167
168 Aws::String m_privateKey;
169 bool m_privateKeyHasBeenSet = false;
170
171 Aws::String m_teamId;
172 bool m_teamIdHasBeenSet = false;
173
174 Aws::String m_tokenKey;
175 bool m_tokenKeyHasBeenSet = false;
176
177 Aws::String m_tokenKeyId;
178 bool m_tokenKeyIdHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace Pinpoint
183} // namespace Aws
APNSChannelRequest & WithPrivateKey(const char *value)
void SetDefaultAuthenticationMethod(const char *value)
APNSChannelRequest & WithEnabled(bool value)
AWS_PINPOINT_API APNSChannelRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTokenKeyId(const Aws::String &value)
const Aws::String & GetCertificate() const
void SetBundleId(const Aws::String &value)
APNSChannelRequest & WithCertificate(Aws::String &&value)
APNSChannelRequest & WithCertificate(const char *value)
void SetDefaultAuthenticationMethod(const Aws::String &value)
void SetPrivateKey(const Aws::String &value)
APNSChannelRequest & WithTokenKey(Aws::String &&value)
APNSChannelRequest & WithTokenKeyId(const char *value)
APNSChannelRequest & WithCertificate(const Aws::String &value)
APNSChannelRequest & WithBundleId(const char *value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
APNSChannelRequest & WithDefaultAuthenticationMethod(Aws::String &&value)
APNSChannelRequest & WithTokenKey(const char *value)
APNSChannelRequest & WithDefaultAuthenticationMethod(const Aws::String &value)
APNSChannelRequest & WithTokenKey(const Aws::String &value)
APNSChannelRequest & WithBundleId(const Aws::String &value)
APNSChannelRequest & WithPrivateKey(const Aws::String &value)
APNSChannelRequest & WithDefaultAuthenticationMethod(const char *value)
APNSChannelRequest & WithTeamId(const Aws::String &value)
APNSChannelRequest & WithTokenKeyId(Aws::String &&value)
void SetTokenKey(const Aws::String &value)
APNSChannelRequest & WithTeamId(Aws::String &&value)
APNSChannelRequest & WithBundleId(Aws::String &&value)
void SetTeamId(const Aws::String &value)
void SetCertificate(const Aws::String &value)
APNSChannelRequest & WithTokenKeyId(const Aws::String &value)
APNSChannelRequest & WithPrivateKey(Aws::String &&value)
AWS_PINPOINT_API APNSChannelRequest(Aws::Utils::Json::JsonView jsonValue)
void SetDefaultAuthenticationMethod(Aws::String &&value)
const Aws::String & GetDefaultAuthenticationMethod() const
APNSChannelRequest & WithTeamId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue