AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BaiduChannelRequest.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 BaiduChannelRequest();
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetApiKey() const{ return m_apiKey; }
47 inline bool ApiKeyHasBeenSet() const { return m_apiKeyHasBeenSet; }
48 inline void SetApiKey(const Aws::String& value) { m_apiKeyHasBeenSet = true; m_apiKey = value; }
49 inline void SetApiKey(Aws::String&& value) { m_apiKeyHasBeenSet = true; m_apiKey = std::move(value); }
50 inline void SetApiKey(const char* value) { m_apiKeyHasBeenSet = true; m_apiKey.assign(value); }
51 inline BaiduChannelRequest& WithApiKey(const Aws::String& value) { SetApiKey(value); return *this;}
52 inline BaiduChannelRequest& WithApiKey(Aws::String&& value) { SetApiKey(std::move(value)); return *this;}
53 inline BaiduChannelRequest& WithApiKey(const char* value) { SetApiKey(value); return *this;}
55
57
60 inline bool GetEnabled() const{ return m_enabled; }
61 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
62 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
63 inline BaiduChannelRequest& WithEnabled(bool value) { SetEnabled(value); return *this;}
65
67
71 inline const Aws::String& GetSecretKey() const{ return m_secretKey; }
72 inline bool SecretKeyHasBeenSet() const { return m_secretKeyHasBeenSet; }
73 inline void SetSecretKey(const Aws::String& value) { m_secretKeyHasBeenSet = true; m_secretKey = value; }
74 inline void SetSecretKey(Aws::String&& value) { m_secretKeyHasBeenSet = true; m_secretKey = std::move(value); }
75 inline void SetSecretKey(const char* value) { m_secretKeyHasBeenSet = true; m_secretKey.assign(value); }
76 inline BaiduChannelRequest& WithSecretKey(const Aws::String& value) { SetSecretKey(value); return *this;}
77 inline BaiduChannelRequest& WithSecretKey(Aws::String&& value) { SetSecretKey(std::move(value)); return *this;}
78 inline BaiduChannelRequest& WithSecretKey(const char* value) { SetSecretKey(value); return *this;}
80 private:
81
82 Aws::String m_apiKey;
83 bool m_apiKeyHasBeenSet = false;
84
85 bool m_enabled;
86 bool m_enabledHasBeenSet = false;
87
88 Aws::String m_secretKey;
89 bool m_secretKeyHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Pinpoint
94} // namespace Aws
BaiduChannelRequest & WithApiKey(const Aws::String &value)
void SetSecretKey(const Aws::String &value)
BaiduChannelRequest & WithApiKey(Aws::String &&value)
BaiduChannelRequest & WithSecretKey(Aws::String &&value)
AWS_PINPOINT_API BaiduChannelRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
BaiduChannelRequest & WithSecretKey(const char *value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
BaiduChannelRequest & WithSecretKey(const Aws::String &value)
void SetApiKey(const Aws::String &value)
BaiduChannelRequest & WithApiKey(const char *value)
BaiduChannelRequest & WithEnabled(bool value)
AWS_PINPOINT_API BaiduChannelRequest(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue