AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ADMChannelRequest.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 ADMChannelRequest() = default;
36 AWS_PINPOINT_API ADMChannelRequest(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetClientId() const { return m_clientId; }
47 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
48 template<typename ClientIdT = Aws::String>
49 void SetClientId(ClientIdT&& value) { m_clientIdHasBeenSet = true; m_clientId = std::forward<ClientIdT>(value); }
50 template<typename ClientIdT = Aws::String>
51 ADMChannelRequest& WithClientId(ClientIdT&& value) { SetClientId(std::forward<ClientIdT>(value)); return *this;}
53
55
59 inline const Aws::String& GetClientSecret() const { return m_clientSecret; }
60 inline bool ClientSecretHasBeenSet() const { return m_clientSecretHasBeenSet; }
61 template<typename ClientSecretT = Aws::String>
62 void SetClientSecret(ClientSecretT&& value) { m_clientSecretHasBeenSet = true; m_clientSecret = std::forward<ClientSecretT>(value); }
63 template<typename ClientSecretT = Aws::String>
64 ADMChannelRequest& WithClientSecret(ClientSecretT&& value) { SetClientSecret(std::forward<ClientSecretT>(value)); return *this;}
66
68
71 inline bool GetEnabled() const { return m_enabled; }
72 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
73 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
74 inline ADMChannelRequest& WithEnabled(bool value) { SetEnabled(value); return *this;}
76 private:
77
78 Aws::String m_clientId;
79 bool m_clientIdHasBeenSet = false;
80
81 Aws::String m_clientSecret;
82 bool m_clientSecretHasBeenSet = false;
83
84 bool m_enabled{false};
85 bool m_enabledHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Pinpoint
90} // namespace Aws
AWS_PINPOINT_API ADMChannelRequest(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetClientSecret() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetClientId() const
ADMChannelRequest & WithClientId(ClientIdT &&value)
AWS_PINPOINT_API ADMChannelRequest()=default
AWS_PINPOINT_API ADMChannelRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetClientSecret(ClientSecretT &&value)
ADMChannelRequest & WithClientSecret(ClientSecretT &&value)
ADMChannelRequest & WithEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue