AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
MicrosoftOAuthConfigurationInput.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/ClientAuthenticationConfigurationInput.h>
10#include <aws/credentialbroker-control/model/OnBehalfOfTokenExchangeConfigurationInput.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 MicrosoftOAuthConfigurationInput() = default;
34 AWS_CREDENTIALBROKERCONTROL_API MicrosoftOAuthConfigurationInput(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CREDENTIALBROKERCONTROL_API MicrosoftOAuthConfigurationInput& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CREDENTIALBROKERCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
41 return m_clientAuthenticationConfiguration;
42 }
43 inline bool ClientAuthenticationConfigurationHasBeenSet() const { return m_clientAuthenticationConfigurationHasBeenSet; }
44 template <typename ClientAuthenticationConfigurationT = ClientAuthenticationConfigurationInput>
45 void SetClientAuthenticationConfiguration(ClientAuthenticationConfigurationT&& value) {
46 m_clientAuthenticationConfigurationHasBeenSet = true;
47 m_clientAuthenticationConfiguration = std::forward<ClientAuthenticationConfigurationT>(value);
48 }
49 template <typename ClientAuthenticationConfigurationT = ClientAuthenticationConfigurationInput>
50 MicrosoftOAuthConfigurationInput& WithClientAuthenticationConfiguration(ClientAuthenticationConfigurationT&& value) {
51 SetClientAuthenticationConfiguration(std::forward<ClientAuthenticationConfigurationT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetTenantId() const { return m_tenantId; }
61 inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
62 template <typename TenantIdT = Aws::String>
63 void SetTenantId(TenantIdT&& value) {
64 m_tenantIdHasBeenSet = true;
65 m_tenantId = std::forward<TenantIdT>(value);
66 }
67 template <typename TenantIdT = Aws::String>
69 SetTenantId(std::forward<TenantIdT>(value));
70 return *this;
71 }
73
75
77 return m_onBehalfOfTokenExchangeConfiguration;
78 }
79 inline bool OnBehalfOfTokenExchangeConfigurationHasBeenSet() const { return m_onBehalfOfTokenExchangeConfigurationHasBeenSet; }
80 template <typename OnBehalfOfTokenExchangeConfigurationT = OnBehalfOfTokenExchangeConfigurationInput>
81 void SetOnBehalfOfTokenExchangeConfiguration(OnBehalfOfTokenExchangeConfigurationT&& value) {
82 m_onBehalfOfTokenExchangeConfigurationHasBeenSet = true;
83 m_onBehalfOfTokenExchangeConfiguration = std::forward<OnBehalfOfTokenExchangeConfigurationT>(value);
84 }
85 template <typename OnBehalfOfTokenExchangeConfigurationT = OnBehalfOfTokenExchangeConfigurationInput>
86 MicrosoftOAuthConfigurationInput& WithOnBehalfOfTokenExchangeConfiguration(OnBehalfOfTokenExchangeConfigurationT&& value) {
87 SetOnBehalfOfTokenExchangeConfiguration(std::forward<OnBehalfOfTokenExchangeConfigurationT>(value));
88 return *this;
89 }
91 private:
92 ClientAuthenticationConfigurationInput m_clientAuthenticationConfiguration;
93
94 Aws::String m_tenantId;
95
96 OnBehalfOfTokenExchangeConfigurationInput m_onBehalfOfTokenExchangeConfiguration;
97 bool m_clientAuthenticationConfigurationHasBeenSet = false;
98 bool m_tenantIdHasBeenSet = false;
99 bool m_onBehalfOfTokenExchangeConfigurationHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace CredentialBrokerControl
104} // namespace Aws
MicrosoftOAuthConfigurationInput & WithOnBehalfOfTokenExchangeConfiguration(OnBehalfOfTokenExchangeConfigurationT &&value)
const OnBehalfOfTokenExchangeConfigurationInput & GetOnBehalfOfTokenExchangeConfiguration() const
AWS_CREDENTIALBROKERCONTROL_API MicrosoftOAuthConfigurationInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CREDENTIALBROKERCONTROL_API MicrosoftOAuthConfigurationInput(Aws::Utils::Json::JsonView jsonValue)
void SetOnBehalfOfTokenExchangeConfiguration(OnBehalfOfTokenExchangeConfigurationT &&value)
AWS_CREDENTIALBROKERCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetClientAuthenticationConfiguration(ClientAuthenticationConfigurationT &&value)
MicrosoftOAuthConfigurationInput & WithClientAuthenticationConfiguration(ClientAuthenticationConfigurationT &&value)
const ClientAuthenticationConfigurationInput & GetClientAuthenticationConfiguration() const
AWS_CREDENTIALBROKERCONTROL_API MicrosoftOAuthConfigurationInput()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue