AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ZendeskConnectorProfileCredentials.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appflow/model/ConnectorOAuthRequest.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Appflow
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
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 ZendeskConnectorProfileCredentials& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
52 inline ZendeskConnectorProfileCredentials& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
53 inline ZendeskConnectorProfileCredentials& 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); }
67 inline ZendeskConnectorProfileCredentials& WithClientSecret(Aws::String&& value) { SetClientSecret(std::move(value)); return *this;}
68 inline ZendeskConnectorProfileCredentials& WithClientSecret(const char* value) { SetClientSecret(value); return *this;}
70
72
75 inline const Aws::String& GetAccessToken() const{ return m_accessToken; }
76 inline bool AccessTokenHasBeenSet() const { return m_accessTokenHasBeenSet; }
77 inline void SetAccessToken(const Aws::String& value) { m_accessTokenHasBeenSet = true; m_accessToken = value; }
78 inline void SetAccessToken(Aws::String&& value) { m_accessTokenHasBeenSet = true; m_accessToken = std::move(value); }
79 inline void SetAccessToken(const char* value) { m_accessTokenHasBeenSet = true; m_accessToken.assign(value); }
81 inline ZendeskConnectorProfileCredentials& WithAccessToken(Aws::String&& value) { SetAccessToken(std::move(value)); return *this;}
82 inline ZendeskConnectorProfileCredentials& WithAccessToken(const char* value) { SetAccessToken(value); return *this;}
84
86
90 inline const ConnectorOAuthRequest& GetOAuthRequest() const{ return m_oAuthRequest; }
91 inline bool OAuthRequestHasBeenSet() const { return m_oAuthRequestHasBeenSet; }
92 inline void SetOAuthRequest(const ConnectorOAuthRequest& value) { m_oAuthRequestHasBeenSet = true; m_oAuthRequest = value; }
93 inline void SetOAuthRequest(ConnectorOAuthRequest&& value) { m_oAuthRequestHasBeenSet = true; m_oAuthRequest = std::move(value); }
97 private:
98
99 Aws::String m_clientId;
100 bool m_clientIdHasBeenSet = false;
101
102 Aws::String m_clientSecret;
103 bool m_clientSecretHasBeenSet = false;
104
105 Aws::String m_accessToken;
106 bool m_accessTokenHasBeenSet = false;
107
108 ConnectorOAuthRequest m_oAuthRequest;
109 bool m_oAuthRequestHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Appflow
114} // namespace Aws
ZendeskConnectorProfileCredentials & WithOAuthRequest(const ConnectorOAuthRequest &value)
ZendeskConnectorProfileCredentials & WithClientId(const Aws::String &value)
ZendeskConnectorProfileCredentials & WithClientId(const char *value)
ZendeskConnectorProfileCredentials & WithClientSecret(const Aws::String &value)
ZendeskConnectorProfileCredentials & WithAccessToken(Aws::String &&value)
ZendeskConnectorProfileCredentials & WithAccessToken(const Aws::String &value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
ZendeskConnectorProfileCredentials & WithAccessToken(const char *value)
ZendeskConnectorProfileCredentials & WithClientSecret(Aws::String &&value)
AWS_APPFLOW_API ZendeskConnectorProfileCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
ZendeskConnectorProfileCredentials & WithClientSecret(const char *value)
AWS_APPFLOW_API ZendeskConnectorProfileCredentials(Aws::Utils::Json::JsonView jsonValue)
ZendeskConnectorProfileCredentials & WithClientId(Aws::String &&value)
ZendeskConnectorProfileCredentials & WithOAuthRequest(ConnectorOAuthRequest &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue