AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIssuer(const Aws::String& value) { m_issuerHasBeenSet = true; m_issuer = value; }
49 inline void SetIssuer(Aws::String&& value) { m_issuerHasBeenSet = true; m_issuer = std::move(value); }
50 inline void SetIssuer(const char* value) { m_issuerHasBeenSet = true; m_issuer.assign(value); }
51 inline OpenIDConnectConfig& WithIssuer(const Aws::String& value) { SetIssuer(value); return *this;}
52 inline OpenIDConnectConfig& WithIssuer(Aws::String&& value) { SetIssuer(std::move(value)); return *this;}
53 inline OpenIDConnectConfig& WithIssuer(const char* value) { SetIssuer(value); return *this;}
55
57
63 inline const Aws::String& GetClientId() const{ return m_clientId; }
64 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
65 inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
66 inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
67 inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
68 inline OpenIDConnectConfig& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
69 inline OpenIDConnectConfig& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
70 inline OpenIDConnectConfig& WithClientId(const char* value) { SetClientId(value); return *this;}
72
74
78 inline long long GetIatTTL() const{ return m_iatTTL; }
79 inline bool IatTTLHasBeenSet() const { return m_iatTTLHasBeenSet; }
80 inline void SetIatTTL(long long value) { m_iatTTLHasBeenSet = true; m_iatTTL = value; }
81 inline OpenIDConnectConfig& WithIatTTL(long long value) { SetIatTTL(value); return *this;}
83
85
89 inline long long GetAuthTTL() const{ return m_authTTL; }
90 inline bool AuthTTLHasBeenSet() const { return m_authTTLHasBeenSet; }
91 inline void SetAuthTTL(long long value) { m_authTTLHasBeenSet = true; m_authTTL = value; }
92 inline OpenIDConnectConfig& WithAuthTTL(long long value) { SetAuthTTL(value); return *this;}
94 private:
95
96 Aws::String m_issuer;
97 bool m_issuerHasBeenSet = false;
98
99 Aws::String m_clientId;
100 bool m_clientIdHasBeenSet = false;
101
102 long long m_iatTTL;
103 bool m_iatTTLHasBeenSet = false;
104
105 long long m_authTTL;
106 bool m_authTTLHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace AppSync
111} // namespace Aws
OpenIDConnectConfig & WithIssuer(Aws::String &&value)
OpenIDConnectConfig & WithIatTTL(long long value)
OpenIDConnectConfig & WithIssuer(const char *value)
void SetIssuer(const Aws::String &value)
OpenIDConnectConfig & WithIssuer(const Aws::String &value)
OpenIDConnectConfig & WithClientId(const char *value)
void SetClientId(const Aws::String &value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
OpenIDConnectConfig & WithClientId(Aws::String &&value)
OpenIDConnectConfig & WithAuthTTL(long long value)
OpenIDConnectConfig & WithClientId(const Aws::String &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