AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
OpenIDConnectConfig.h
1
6#pragma once
7#include <aws/appsync/AppSync_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 AppSync
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_APPSYNC_API OpenIDConnectConfig() = default;
38 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetIssuer() const { return m_issuer; }
47 inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; }
48 template<typename IssuerT = Aws::String>
49 void SetIssuer(IssuerT&& value) { m_issuerHasBeenSet = true; m_issuer = std::forward<IssuerT>(value); }
50 template<typename IssuerT = Aws::String>
51 OpenIDConnectConfig& WithIssuer(IssuerT&& value) { SetIssuer(std::forward<IssuerT>(value)); return *this;}
53
55
61 inline const Aws::String& GetClientId() const { return m_clientId; }
62 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
63 template<typename ClientIdT = Aws::String>
64 void SetClientId(ClientIdT&& value) { m_clientIdHasBeenSet = true; m_clientId = std::forward<ClientIdT>(value); }
65 template<typename ClientIdT = Aws::String>
66 OpenIDConnectConfig& WithClientId(ClientIdT&& value) { SetClientId(std::forward<ClientIdT>(value)); return *this;}
68
70
74 inline long long GetIatTTL() const { return m_iatTTL; }
75 inline bool IatTTLHasBeenSet() const { return m_iatTTLHasBeenSet; }
76 inline void SetIatTTL(long long value) { m_iatTTLHasBeenSet = true; m_iatTTL = value; }
77 inline OpenIDConnectConfig& WithIatTTL(long long value) { SetIatTTL(value); return *this;}
79
81
85 inline long long GetAuthTTL() const { return m_authTTL; }
86 inline bool AuthTTLHasBeenSet() const { return m_authTTLHasBeenSet; }
87 inline void SetAuthTTL(long long value) { m_authTTLHasBeenSet = true; m_authTTL = value; }
88 inline OpenIDConnectConfig& WithAuthTTL(long long value) { SetAuthTTL(value); return *this;}
90 private:
91
92 Aws::String m_issuer;
93 bool m_issuerHasBeenSet = false;
94
95 Aws::String m_clientId;
96 bool m_clientIdHasBeenSet = false;
97
98 long long m_iatTTL{0};
99 bool m_iatTTLHasBeenSet = false;
100
101 long long m_authTTL{0};
102 bool m_authTTLHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace AppSync
107} // namespace Aws
OpenIDConnectConfig & WithIatTTL(long long value)
AWS_APPSYNC_API OpenIDConnectConfig()=default
OpenIDConnectConfig & WithIssuer(IssuerT &&value)
OpenIDConnectConfig & WithClientId(ClientIdT &&value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
OpenIDConnectConfig & WithAuthTTL(long long value)
AWS_APPSYNC_API OpenIDConnectConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSYNC_API OpenIDConnectConfig(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue