AWS SDK for C++  1.9.157
AWS SDK for C++
LambdaAuthorizerConfig.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 
35  {
36  public:
41 
42 
49  inline int GetAuthorizerResultTtlInSeconds() const{ return m_authorizerResultTtlInSeconds; }
50 
57  inline bool AuthorizerResultTtlInSecondsHasBeenSet() const { return m_authorizerResultTtlInSecondsHasBeenSet; }
58 
65  inline void SetAuthorizerResultTtlInSeconds(int value) { m_authorizerResultTtlInSecondsHasBeenSet = true; m_authorizerResultTtlInSeconds = value; }
66 
73  inline LambdaAuthorizerConfig& WithAuthorizerResultTtlInSeconds(int value) { SetAuthorizerResultTtlInSeconds(value); return *this;}
74 
75 
87  inline const Aws::String& GetAuthorizerUri() const{ return m_authorizerUri; }
88 
100  inline bool AuthorizerUriHasBeenSet() const { return m_authorizerUriHasBeenSet; }
101 
113  inline void SetAuthorizerUri(const Aws::String& value) { m_authorizerUriHasBeenSet = true; m_authorizerUri = value; }
114 
126  inline void SetAuthorizerUri(Aws::String&& value) { m_authorizerUriHasBeenSet = true; m_authorizerUri = std::move(value); }
127 
139  inline void SetAuthorizerUri(const char* value) { m_authorizerUriHasBeenSet = true; m_authorizerUri.assign(value); }
140 
152  inline LambdaAuthorizerConfig& WithAuthorizerUri(const Aws::String& value) { SetAuthorizerUri(value); return *this;}
153 
165  inline LambdaAuthorizerConfig& WithAuthorizerUri(Aws::String&& value) { SetAuthorizerUri(std::move(value)); return *this;}
166 
178  inline LambdaAuthorizerConfig& WithAuthorizerUri(const char* value) { SetAuthorizerUri(value); return *this;}
179 
180 
185  inline const Aws::String& GetIdentityValidationExpression() const{ return m_identityValidationExpression; }
186 
191  inline bool IdentityValidationExpressionHasBeenSet() const { return m_identityValidationExpressionHasBeenSet; }
192 
197  inline void SetIdentityValidationExpression(const Aws::String& value) { m_identityValidationExpressionHasBeenSet = true; m_identityValidationExpression = value; }
198 
203  inline void SetIdentityValidationExpression(Aws::String&& value) { m_identityValidationExpressionHasBeenSet = true; m_identityValidationExpression = std::move(value); }
204 
209  inline void SetIdentityValidationExpression(const char* value) { m_identityValidationExpressionHasBeenSet = true; m_identityValidationExpression.assign(value); }
210 
215  inline LambdaAuthorizerConfig& WithIdentityValidationExpression(const Aws::String& value) { SetIdentityValidationExpression(value); return *this;}
216 
221  inline LambdaAuthorizerConfig& WithIdentityValidationExpression(Aws::String&& value) { SetIdentityValidationExpression(std::move(value)); return *this;}
222 
227  inline LambdaAuthorizerConfig& WithIdentityValidationExpression(const char* value) { SetIdentityValidationExpression(value); return *this;}
228 
229  private:
230 
231  int m_authorizerResultTtlInSeconds;
232  bool m_authorizerResultTtlInSecondsHasBeenSet;
233 
234  Aws::String m_authorizerUri;
235  bool m_authorizerUriHasBeenSet;
236 
237  Aws::String m_identityValidationExpression;
238  bool m_identityValidationExpressionHasBeenSet;
239  };
240 
241 } // namespace Model
242 } // namespace AppSync
243 } // namespace Aws
Aws::AppSync::Model::LambdaAuthorizerConfig::WithAuthorizerResultTtlInSeconds
LambdaAuthorizerConfig & WithAuthorizerResultTtlInSeconds(int value)
Definition: LambdaAuthorizerConfig.h:73
Aws::AppSync::Model::LambdaAuthorizerConfig::AuthorizerResultTtlInSecondsHasBeenSet
bool AuthorizerResultTtlInSecondsHasBeenSet() const
Definition: LambdaAuthorizerConfig.h:57
Aws::AppSync::Model::LambdaAuthorizerConfig::GetAuthorizerResultTtlInSeconds
int GetAuthorizerResultTtlInSeconds() const
Definition: LambdaAuthorizerConfig.h:49
Aws::AppSync::Model::LambdaAuthorizerConfig
Definition: LambdaAuthorizerConfig.h:35
AppSync_EXPORTS.h
Aws::AppSync::Model::LambdaAuthorizerConfig::AuthorizerUriHasBeenSet
bool AuthorizerUriHasBeenSet() const
Definition: LambdaAuthorizerConfig.h:100
Aws::AppSync::Model::LambdaAuthorizerConfig::IdentityValidationExpressionHasBeenSet
bool IdentityValidationExpressionHasBeenSet() const
Definition: LambdaAuthorizerConfig.h:191
Aws::AppSync::Model::LambdaAuthorizerConfig::SetIdentityValidationExpression
void SetIdentityValidationExpression(Aws::String &&value)
Definition: LambdaAuthorizerConfig.h:203
Aws::AppSync::Model::LambdaAuthorizerConfig::WithIdentityValidationExpression
LambdaAuthorizerConfig & WithIdentityValidationExpression(const Aws::String &value)
Definition: LambdaAuthorizerConfig.h:215
Aws::AppSync::Model::LambdaAuthorizerConfig::SetIdentityValidationExpression
void SetIdentityValidationExpression(const char *value)
Definition: LambdaAuthorizerConfig.h:209
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppSync::Model::LambdaAuthorizerConfig::LambdaAuthorizerConfig
LambdaAuthorizerConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::AppSync::Model::LambdaAuthorizerConfig::WithIdentityValidationExpression
LambdaAuthorizerConfig & WithIdentityValidationExpression(const char *value)
Definition: LambdaAuthorizerConfig.h:227
Aws::AppSync::Model::LambdaAuthorizerConfig::operator=
LambdaAuthorizerConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppSync::Model::LambdaAuthorizerConfig::SetAuthorizerResultTtlInSeconds
void SetAuthorizerResultTtlInSeconds(int value)
Definition: LambdaAuthorizerConfig.h:65
Aws::AppSync::Model::LambdaAuthorizerConfig::WithIdentityValidationExpression
LambdaAuthorizerConfig & WithIdentityValidationExpression(Aws::String &&value)
Definition: LambdaAuthorizerConfig.h:221
Aws::AppSync::Model::LambdaAuthorizerConfig::SetAuthorizerUri
void SetAuthorizerUri(const Aws::String &value)
Definition: LambdaAuthorizerConfig.h:113
Aws::AppSync::Model::LambdaAuthorizerConfig::WithAuthorizerUri
LambdaAuthorizerConfig & WithAuthorizerUri(Aws::String &&value)
Definition: LambdaAuthorizerConfig.h:165
Aws::AppSync::Model::LambdaAuthorizerConfig::WithAuthorizerUri
LambdaAuthorizerConfig & WithAuthorizerUri(const char *value)
Definition: LambdaAuthorizerConfig.h:178
Aws::AppSync::Model::LambdaAuthorizerConfig::SetAuthorizerUri
void SetAuthorizerUri(Aws::String &&value)
Definition: LambdaAuthorizerConfig.h:126
Aws::AppSync::Model::LambdaAuthorizerConfig::SetIdentityValidationExpression
void SetIdentityValidationExpression(const Aws::String &value)
Definition: LambdaAuthorizerConfig.h:197
Aws::AppSync::Model::LambdaAuthorizerConfig::WithAuthorizerUri
LambdaAuthorizerConfig & WithAuthorizerUri(const Aws::String &value)
Definition: LambdaAuthorizerConfig.h:152
Aws::AppSync::Model::LambdaAuthorizerConfig::SetAuthorizerUri
void SetAuthorizerUri(const char *value)
Definition: LambdaAuthorizerConfig.h:139
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::LambdaAuthorizerConfig::GetAuthorizerUri
const Aws::String & GetAuthorizerUri() const
Definition: LambdaAuthorizerConfig.h:87
Aws::AppSync::Model::LambdaAuthorizerConfig::LambdaAuthorizerConfig
LambdaAuthorizerConfig()
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::LambdaAuthorizerConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppSync::Model::LambdaAuthorizerConfig::GetIdentityValidationExpression
const Aws::String & GetIdentityValidationExpression() const
Definition: LambdaAuthorizerConfig.h:185