AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
49 inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
50 inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
51 inline ADMChannelRequest& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
52 inline ADMChannelRequest& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
53 inline ADMChannelRequest& WithClientId(const char* value) { SetClientId(value); return *this;}
55
57
61 inline const Aws::String& GetClientSecret() const{ return m_clientSecret; }
62 inline bool ClientSecretHasBeenSet() const { return m_clientSecretHasBeenSet; }
63 inline void SetClientSecret(const Aws::String& value) { m_clientSecretHasBeenSet = true; m_clientSecret = value; }
64 inline void SetClientSecret(Aws::String&& value) { m_clientSecretHasBeenSet = true; m_clientSecret = std::move(value); }
65 inline void SetClientSecret(const char* value) { m_clientSecretHasBeenSet = true; m_clientSecret.assign(value); }
66 inline ADMChannelRequest& WithClientSecret(const Aws::String& value) { SetClientSecret(value); return *this;}
67 inline ADMChannelRequest& WithClientSecret(Aws::String&& value) { SetClientSecret(std::move(value)); return *this;}
68 inline ADMChannelRequest& WithClientSecret(const char* value) { SetClientSecret(value); return *this;}
70
72
75 inline bool GetEnabled() const{ return m_enabled; }
76 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
77 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
78 inline ADMChannelRequest& WithEnabled(bool value) { SetEnabled(value); return *this;}
80 private:
81
82 Aws::String m_clientId;
83 bool m_clientIdHasBeenSet = false;
84
85 Aws::String m_clientSecret;
86 bool m_clientSecretHasBeenSet = false;
87
88 bool m_enabled;
89 bool m_enabledHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Pinpoint
94} // 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
ADMChannelRequest & WithClientId(Aws::String &&value)
void SetClientSecret(Aws::String &&value)
const Aws::String & GetClientId() const
ADMChannelRequest & WithClientId(const Aws::String &value)
void SetClientSecret(const Aws::String &value)
void SetClientId(const Aws::String &value)
AWS_PINPOINT_API ADMChannelRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
ADMChannelRequest & WithClientId(const char *value)
ADMChannelRequest & WithEnabled(bool value)
ADMChannelRequest & WithClientSecret(const char *value)
ADMChannelRequest & WithClientSecret(Aws::String &&value)
ADMChannelRequest & WithClientSecret(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue