AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GCMChannelRequest.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
35 {
36 public:
37 AWS_PINPOINT_API GCMChannelRequest();
38 AWS_PINPOINT_API GCMChannelRequest(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetApiKey() const{ return m_apiKey; }
49 inline bool ApiKeyHasBeenSet() const { return m_apiKeyHasBeenSet; }
50 inline void SetApiKey(const Aws::String& value) { m_apiKeyHasBeenSet = true; m_apiKey = value; }
51 inline void SetApiKey(Aws::String&& value) { m_apiKeyHasBeenSet = true; m_apiKey = std::move(value); }
52 inline void SetApiKey(const char* value) { m_apiKeyHasBeenSet = true; m_apiKey.assign(value); }
53 inline GCMChannelRequest& WithApiKey(const Aws::String& value) { SetApiKey(value); return *this;}
54 inline GCMChannelRequest& WithApiKey(Aws::String&& value) { SetApiKey(std::move(value)); return *this;}
55 inline GCMChannelRequest& WithApiKey(const char* value) { SetApiKey(value); return *this;}
57
59
63 inline const Aws::String& GetDefaultAuthenticationMethod() const{ return m_defaultAuthenticationMethod; }
64 inline bool DefaultAuthenticationMethodHasBeenSet() const { return m_defaultAuthenticationMethodHasBeenSet; }
65 inline void SetDefaultAuthenticationMethod(const Aws::String& value) { m_defaultAuthenticationMethodHasBeenSet = true; m_defaultAuthenticationMethod = value; }
66 inline void SetDefaultAuthenticationMethod(Aws::String&& value) { m_defaultAuthenticationMethodHasBeenSet = true; m_defaultAuthenticationMethod = std::move(value); }
67 inline void SetDefaultAuthenticationMethod(const char* value) { m_defaultAuthenticationMethodHasBeenSet = true; m_defaultAuthenticationMethod.assign(value); }
70 inline GCMChannelRequest& WithDefaultAuthenticationMethod(const char* value) { SetDefaultAuthenticationMethod(value); return *this;}
72
74
77 inline bool GetEnabled() const{ return m_enabled; }
78 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
79 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
80 inline GCMChannelRequest& WithEnabled(bool value) { SetEnabled(value); return *this;}
82
84
90 inline const Aws::String& GetServiceJson() const{ return m_serviceJson; }
91 inline bool ServiceJsonHasBeenSet() const { return m_serviceJsonHasBeenSet; }
92 inline void SetServiceJson(const Aws::String& value) { m_serviceJsonHasBeenSet = true; m_serviceJson = value; }
93 inline void SetServiceJson(Aws::String&& value) { m_serviceJsonHasBeenSet = true; m_serviceJson = std::move(value); }
94 inline void SetServiceJson(const char* value) { m_serviceJsonHasBeenSet = true; m_serviceJson.assign(value); }
95 inline GCMChannelRequest& WithServiceJson(const Aws::String& value) { SetServiceJson(value); return *this;}
96 inline GCMChannelRequest& WithServiceJson(Aws::String&& value) { SetServiceJson(std::move(value)); return *this;}
97 inline GCMChannelRequest& WithServiceJson(const char* value) { SetServiceJson(value); return *this;}
99 private:
100
101 Aws::String m_apiKey;
102 bool m_apiKeyHasBeenSet = false;
103
104 Aws::String m_defaultAuthenticationMethod;
105 bool m_defaultAuthenticationMethodHasBeenSet = false;
106
107 bool m_enabled;
108 bool m_enabledHasBeenSet = false;
109
110 Aws::String m_serviceJson;
111 bool m_serviceJsonHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace Pinpoint
116} // namespace Aws
void SetDefaultAuthenticationMethod(const Aws::String &value)
AWS_PINPOINT_API GCMChannelRequest(Aws::Utils::Json::JsonView jsonValue)
GCMChannelRequest & WithApiKey(Aws::String &&value)
GCMChannelRequest & WithServiceJson(Aws::String &&value)
void SetDefaultAuthenticationMethod(const char *value)
GCMChannelRequest & WithDefaultAuthenticationMethod(const char *value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDefaultAuthenticationMethod(Aws::String &&value)
GCMChannelRequest & WithApiKey(const char *value)
const Aws::String & GetServiceJson() const
AWS_PINPOINT_API GCMChannelRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
GCMChannelRequest & WithServiceJson(const Aws::String &value)
const Aws::String & GetApiKey() const
GCMChannelRequest & WithApiKey(const Aws::String &value)
GCMChannelRequest & WithDefaultAuthenticationMethod(const Aws::String &value)
void SetApiKey(const Aws::String &value)
GCMChannelRequest & WithServiceJson(const char *value)
void SetServiceJson(const Aws::String &value)
GCMChannelRequest & WithDefaultAuthenticationMethod(Aws::String &&value)
GCMChannelRequest & WithEnabled(bool value)
const Aws::String & GetDefaultAuthenticationMethod() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue