AWS SDK for C++  1.9.157
AWS SDK for C++
OpenIDConnectConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace AppSync
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
44  inline const Aws::String& GetIssuer() const{ return m_issuer; }
45 
50  inline bool IssuerHasBeenSet() const { return m_issuerHasBeenSet; }
51 
56  inline void SetIssuer(const Aws::String& value) { m_issuerHasBeenSet = true; m_issuer = value; }
57 
62  inline void SetIssuer(Aws::String&& value) { m_issuerHasBeenSet = true; m_issuer = std::move(value); }
63 
68  inline void SetIssuer(const char* value) { m_issuerHasBeenSet = true; m_issuer.assign(value); }
69 
74  inline OpenIDConnectConfig& WithIssuer(const Aws::String& value) { SetIssuer(value); return *this;}
75 
80  inline OpenIDConnectConfig& WithIssuer(Aws::String&& value) { SetIssuer(std::move(value)); return *this;}
81 
86  inline OpenIDConnectConfig& WithIssuer(const char* value) { SetIssuer(value); return *this;}
87 
88 
95  inline const Aws::String& GetClientId() const{ return m_clientId; }
96 
103  inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
104 
111  inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
112 
119  inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
120 
127  inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
128 
135  inline OpenIDConnectConfig& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
136 
143  inline OpenIDConnectConfig& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
144 
151  inline OpenIDConnectConfig& WithClientId(const char* value) { SetClientId(value); return *this;}
152 
153 
157  inline long long GetIatTTL() const{ return m_iatTTL; }
158 
162  inline bool IatTTLHasBeenSet() const { return m_iatTTLHasBeenSet; }
163 
167  inline void SetIatTTL(long long value) { m_iatTTLHasBeenSet = true; m_iatTTL = value; }
168 
172  inline OpenIDConnectConfig& WithIatTTL(long long value) { SetIatTTL(value); return *this;}
173 
174 
178  inline long long GetAuthTTL() const{ return m_authTTL; }
179 
183  inline bool AuthTTLHasBeenSet() const { return m_authTTLHasBeenSet; }
184 
188  inline void SetAuthTTL(long long value) { m_authTTLHasBeenSet = true; m_authTTL = value; }
189 
193  inline OpenIDConnectConfig& WithAuthTTL(long long value) { SetAuthTTL(value); return *this;}
194 
195  private:
196 
197  Aws::String m_issuer;
198  bool m_issuerHasBeenSet;
199 
200  Aws::String m_clientId;
201  bool m_clientIdHasBeenSet;
202 
203  long long m_iatTTL;
204  bool m_iatTTLHasBeenSet;
205 
206  long long m_authTTL;
207  bool m_authTTLHasBeenSet;
208  };
209 
210 } // namespace Model
211 } // namespace AppSync
212 } // namespace Aws
Aws::AppSync::Model::OpenIDConnectConfig::SetClientId
void SetClientId(Aws::String &&value)
Definition: OpenIDConnectConfig.h:119
Aws::AppSync::Model::OpenIDConnectConfig::SetIssuer
void SetIssuer(const Aws::String &value)
Definition: OpenIDConnectConfig.h:56
Aws::AppSync::Model::OpenIDConnectConfig::SetIatTTL
void SetIatTTL(long long value)
Definition: OpenIDConnectConfig.h:167
Aws::AppSync::Model::OpenIDConnectConfig::IatTTLHasBeenSet
bool IatTTLHasBeenSet() const
Definition: OpenIDConnectConfig.h:162
Aws::AppSync::Model::OpenIDConnectConfig::OpenIDConnectConfig
OpenIDConnectConfig()
Aws::AppSync::Model::OpenIDConnectConfig::OpenIDConnectConfig
OpenIDConnectConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::AppSync::Model::OpenIDConnectConfig::WithClientId
OpenIDConnectConfig & WithClientId(const char *value)
Definition: OpenIDConnectConfig.h:151
Aws::AppSync::Model::OpenIDConnectConfig::operator=
OpenIDConnectConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppSync::Model::OpenIDConnectConfig::WithAuthTTL
OpenIDConnectConfig & WithAuthTTL(long long value)
Definition: OpenIDConnectConfig.h:193
AppSync_EXPORTS.h
Aws::AppSync::Model::OpenIDConnectConfig::GetAuthTTL
long long GetAuthTTL() const
Definition: OpenIDConnectConfig.h:178
Aws::AppSync::Model::OpenIDConnectConfig::SetAuthTTL
void SetAuthTTL(long long value)
Definition: OpenIDConnectConfig.h:188
Aws::AppSync::Model::OpenIDConnectConfig::SetIssuer
void SetIssuer(const char *value)
Definition: OpenIDConnectConfig.h:68
Aws::AppSync::Model::OpenIDConnectConfig::WithIssuer
OpenIDConnectConfig & WithIssuer(const char *value)
Definition: OpenIDConnectConfig.h:86
Aws::AppSync::Model::OpenIDConnectConfig::SetClientId
void SetClientId(const char *value)
Definition: OpenIDConnectConfig.h:127
Aws::AppSync::Model::OpenIDConnectConfig::WithIssuer
OpenIDConnectConfig & WithIssuer(const Aws::String &value)
Definition: OpenIDConnectConfig.h:74
Aws::AppSync::Model::OpenIDConnectConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppSync::Model::OpenIDConnectConfig::WithIatTTL
OpenIDConnectConfig & WithIatTTL(long long value)
Definition: OpenIDConnectConfig.h:172
Aws::AppSync::Model::OpenIDConnectConfig::WithClientId
OpenIDConnectConfig & WithClientId(Aws::String &&value)
Definition: OpenIDConnectConfig.h:143
Aws::AppSync::Model::OpenIDConnectConfig::IssuerHasBeenSet
bool IssuerHasBeenSet() const
Definition: OpenIDConnectConfig.h:50
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppSync::Model::OpenIDConnectConfig
Definition: OpenIDConnectConfig.h:32
Aws::AppSync::Model::OpenIDConnectConfig::ClientIdHasBeenSet
bool ClientIdHasBeenSet() const
Definition: OpenIDConnectConfig.h:103
Aws::AppSync::Model::OpenIDConnectConfig::AuthTTLHasBeenSet
bool AuthTTLHasBeenSet() const
Definition: OpenIDConnectConfig.h:183
Aws::AppSync::Model::OpenIDConnectConfig::GetIssuer
const Aws::String & GetIssuer() const
Definition: OpenIDConnectConfig.h:44
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::OpenIDConnectConfig::WithClientId
OpenIDConnectConfig & WithClientId(const Aws::String &value)
Definition: OpenIDConnectConfig.h:135
Aws::AppSync::Model::OpenIDConnectConfig::SetClientId
void SetClientId(const Aws::String &value)
Definition: OpenIDConnectConfig.h:111
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppSync::Model::OpenIDConnectConfig::SetIssuer
void SetIssuer(Aws::String &&value)
Definition: OpenIDConnectConfig.h:62
Aws::AppSync::Model::OpenIDConnectConfig::GetIatTTL
long long GetIatTTL() const
Definition: OpenIDConnectConfig.h:157
Aws::AppSync::Model::OpenIDConnectConfig::GetClientId
const Aws::String & GetClientId() const
Definition: OpenIDConnectConfig.h:95
Aws::AppSync::Model::OpenIDConnectConfig::WithIssuer
OpenIDConnectConfig & WithIssuer(Aws::String &&value)
Definition: OpenIDConnectConfig.h:80