AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppSync {
20namespace Model {
21
29 public:
30 AWS_APPSYNC_API OpenIDConnectConfig() = default;
33 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetIssuer() const { return m_issuer; }
41 inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; }
42 template <typename IssuerT = Aws::String>
43 void SetIssuer(IssuerT&& value) {
44 m_issuerHasBeenSet = true;
45 m_issuer = std::forward<IssuerT>(value);
46 }
47 template <typename IssuerT = Aws::String>
48 OpenIDConnectConfig& WithIssuer(IssuerT&& value) {
49 SetIssuer(std::forward<IssuerT>(value));
50 return *this;
51 }
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) {
65 m_clientIdHasBeenSet = true;
66 m_clientId = std::forward<ClientIdT>(value);
67 }
68 template <typename ClientIdT = Aws::String>
69 OpenIDConnectConfig& WithClientId(ClientIdT&& value) {
70 SetClientId(std::forward<ClientIdT>(value));
71 return *this;
72 }
74
76
80 inline long long GetIatTTL() const { return m_iatTTL; }
81 inline bool IatTTLHasBeenSet() const { return m_iatTTLHasBeenSet; }
82 inline void SetIatTTL(long long value) {
83 m_iatTTLHasBeenSet = true;
84 m_iatTTL = value;
85 }
86 inline OpenIDConnectConfig& WithIatTTL(long long value) {
87 SetIatTTL(value);
88 return *this;
89 }
91
93
97 inline long long GetAuthTTL() const { return m_authTTL; }
98 inline bool AuthTTLHasBeenSet() const { return m_authTTLHasBeenSet; }
99 inline void SetAuthTTL(long long value) {
100 m_authTTLHasBeenSet = true;
101 m_authTTL = value;
102 }
103 inline OpenIDConnectConfig& WithAuthTTL(long long value) {
104 SetAuthTTL(value);
105 return *this;
106 }
108 private:
109 Aws::String m_issuer;
110
111 Aws::String m_clientId;
112
113 long long m_iatTTL{0};
114
115 long long m_authTTL{0};
116 bool m_issuerHasBeenSet = false;
117 bool m_clientIdHasBeenSet = false;
118 bool m_iatTTLHasBeenSet = false;
119 bool m_authTTLHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace AppSync
124} // 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