AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
ClientAuthenticationConfigurationInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/credentialbroker-control/CredentialBrokerControl_EXPORTS.h>
9#include <aws/credentialbroker-control/model/ClientAuthenticationMethod.h>
10#include <aws/credentialbroker-control/model/ClientSecretInput.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CredentialBrokerControl {
22namespace Model {
23
33 public:
34 AWS_CREDENTIALBROKERCONTROL_API ClientAuthenticationConfigurationInput() = default;
35 AWS_CREDENTIALBROKERCONTROL_API ClientAuthenticationConfigurationInput(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CREDENTIALBROKERCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
46 inline ClientAuthenticationMethod GetClientAuthenticationMethod() const { return m_clientAuthenticationMethod; }
47 inline bool ClientAuthenticationMethodHasBeenSet() const { return m_clientAuthenticationMethodHasBeenSet; }
49 m_clientAuthenticationMethodHasBeenSet = true;
50 m_clientAuthenticationMethod = value;
51 }
57
59
62 inline const Aws::String& GetClientId() const { return m_clientId; }
63 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
64 template <typename ClientIdT = Aws::String>
65 void SetClientId(ClientIdT&& value) {
66 m_clientIdHasBeenSet = true;
67 m_clientId = std::forward<ClientIdT>(value);
68 }
69 template <typename ClientIdT = Aws::String>
71 SetClientId(std::forward<ClientIdT>(value));
72 return *this;
73 }
75
77
83 inline const ClientSecretInput& GetClientSecret() const { return m_clientSecret; }
84 inline bool ClientSecretHasBeenSet() const { return m_clientSecretHasBeenSet; }
85 template <typename ClientSecretT = ClientSecretInput>
86 void SetClientSecret(ClientSecretT&& value) {
87 m_clientSecretHasBeenSet = true;
88 m_clientSecret = std::forward<ClientSecretT>(value);
89 }
90 template <typename ClientSecretT = ClientSecretInput>
92 SetClientSecret(std::forward<ClientSecretT>(value));
93 return *this;
94 }
96 private:
98
99 Aws::String m_clientId;
100
101 ClientSecretInput m_clientSecret;
102 bool m_clientAuthenticationMethodHasBeenSet = false;
103 bool m_clientIdHasBeenSet = false;
104 bool m_clientSecretHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace CredentialBrokerControl
109} // namespace Aws
AWS_CREDENTIALBROKERCONTROL_API ClientAuthenticationConfigurationInput()=default
AWS_CREDENTIALBROKERCONTROL_API ClientAuthenticationConfigurationInput(Aws::Utils::Json::JsonView jsonValue)
ClientAuthenticationConfigurationInput & WithClientAuthenticationMethod(ClientAuthenticationMethod value)
AWS_CREDENTIALBROKERCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
ClientAuthenticationConfigurationInput & WithClientSecret(ClientSecretT &&value)
AWS_CREDENTIALBROKERCONTROL_API ClientAuthenticationConfigurationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue