AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
ClientAuthenticationConfigurationOutput.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/ClientSecretSource.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
32 public:
33 AWS_CREDENTIALBROKERCONTROL_API ClientAuthenticationConfigurationOutput() = default;
34 AWS_CREDENTIALBROKERCONTROL_API ClientAuthenticationConfigurationOutput(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CREDENTIALBROKERCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline ClientAuthenticationMethod GetClientAuthenticationMethod() const { return m_clientAuthenticationMethod; }
45 inline bool ClientAuthenticationMethodHasBeenSet() const { return m_clientAuthenticationMethodHasBeenSet; }
47 m_clientAuthenticationMethodHasBeenSet = true;
48 m_clientAuthenticationMethod = value;
49 }
55
57
60 inline const Aws::String& GetClientId() const { return m_clientId; }
61 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
62 template <typename ClientIdT = Aws::String>
63 void SetClientId(ClientIdT&& value) {
64 m_clientIdHasBeenSet = true;
65 m_clientId = std::forward<ClientIdT>(value);
66 }
67 template <typename ClientIdT = Aws::String>
69 SetClientId(std::forward<ClientIdT>(value));
70 return *this;
71 }
73
75
80 inline const Aws::String& GetClientSecretArn() const { return m_clientSecretArn; }
81 inline bool ClientSecretArnHasBeenSet() const { return m_clientSecretArnHasBeenSet; }
82 template <typename ClientSecretArnT = Aws::String>
83 void SetClientSecretArn(ClientSecretArnT&& value) {
84 m_clientSecretArnHasBeenSet = true;
85 m_clientSecretArn = std::forward<ClientSecretArnT>(value);
86 }
87 template <typename ClientSecretArnT = Aws::String>
89 SetClientSecretArn(std::forward<ClientSecretArnT>(value));
90 return *this;
91 }
93
95
100 inline const Aws::String& GetClientSecretJsonKey() const { return m_clientSecretJsonKey; }
101 inline bool ClientSecretJsonKeyHasBeenSet() const { return m_clientSecretJsonKeyHasBeenSet; }
102 template <typename ClientSecretJsonKeyT = Aws::String>
103 void SetClientSecretJsonKey(ClientSecretJsonKeyT&& value) {
104 m_clientSecretJsonKeyHasBeenSet = true;
105 m_clientSecretJsonKey = std::forward<ClientSecretJsonKeyT>(value);
106 }
107 template <typename ClientSecretJsonKeyT = Aws::String>
109 SetClientSecretJsonKey(std::forward<ClientSecretJsonKeyT>(value));
110 return *this;
111 }
113
115
119 inline ClientSecretSource GetClientSecretSource() const { return m_clientSecretSource; }
120 inline bool ClientSecretSourceHasBeenSet() const { return m_clientSecretSourceHasBeenSet; }
122 m_clientSecretSourceHasBeenSet = true;
123 m_clientSecretSource = value;
124 }
130 private:
132
133 Aws::String m_clientId;
134
135 Aws::String m_clientSecretArn;
136
137 Aws::String m_clientSecretJsonKey;
138
140 bool m_clientAuthenticationMethodHasBeenSet = false;
141 bool m_clientIdHasBeenSet = false;
142 bool m_clientSecretArnHasBeenSet = false;
143 bool m_clientSecretJsonKeyHasBeenSet = false;
144 bool m_clientSecretSourceHasBeenSet = false;
145};
146
147} // namespace Model
148} // namespace CredentialBrokerControl
149} // namespace Aws
AWS_CREDENTIALBROKERCONTROL_API ClientAuthenticationConfigurationOutput()=default
ClientAuthenticationConfigurationOutput & WithClientAuthenticationMethod(ClientAuthenticationMethod value)
ClientAuthenticationConfigurationOutput & WithClientSecretJsonKey(ClientSecretJsonKeyT &&value)
ClientAuthenticationConfigurationOutput & WithClientSecretArn(ClientSecretArnT &&value)
AWS_CREDENTIALBROKERCONTROL_API ClientAuthenticationConfigurationOutput(Aws::Utils::Json::JsonView jsonValue)
ClientAuthenticationConfigurationOutput & WithClientSecretSource(ClientSecretSource value)
AWS_CREDENTIALBROKERCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CREDENTIALBROKERCONTROL_API ClientAuthenticationConfigurationOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue