AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LambdaAuthorizerConfig.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
35 {
36 public:
37 AWS_APPSYNC_API LambdaAuthorizerConfig();
40 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
51 inline int GetAuthorizerResultTtlInSeconds() const{ return m_authorizerResultTtlInSeconds; }
52 inline bool AuthorizerResultTtlInSecondsHasBeenSet() const { return m_authorizerResultTtlInSecondsHasBeenSet; }
53 inline void SetAuthorizerResultTtlInSeconds(int value) { m_authorizerResultTtlInSecondsHasBeenSet = true; m_authorizerResultTtlInSeconds = value; }
56
58
70 inline const Aws::String& GetAuthorizerUri() const{ return m_authorizerUri; }
71 inline bool AuthorizerUriHasBeenSet() const { return m_authorizerUriHasBeenSet; }
72 inline void SetAuthorizerUri(const Aws::String& value) { m_authorizerUriHasBeenSet = true; m_authorizerUri = value; }
73 inline void SetAuthorizerUri(Aws::String&& value) { m_authorizerUriHasBeenSet = true; m_authorizerUri = std::move(value); }
74 inline void SetAuthorizerUri(const char* value) { m_authorizerUriHasBeenSet = true; m_authorizerUri.assign(value); }
75 inline LambdaAuthorizerConfig& WithAuthorizerUri(const Aws::String& value) { SetAuthorizerUri(value); return *this;}
76 inline LambdaAuthorizerConfig& WithAuthorizerUri(Aws::String&& value) { SetAuthorizerUri(std::move(value)); return *this;}
77 inline LambdaAuthorizerConfig& WithAuthorizerUri(const char* value) { SetAuthorizerUri(value); return *this;}
79
81
85 inline const Aws::String& GetIdentityValidationExpression() const{ return m_identityValidationExpression; }
86 inline bool IdentityValidationExpressionHasBeenSet() const { return m_identityValidationExpressionHasBeenSet; }
87 inline void SetIdentityValidationExpression(const Aws::String& value) { m_identityValidationExpressionHasBeenSet = true; m_identityValidationExpression = value; }
88 inline void SetIdentityValidationExpression(Aws::String&& value) { m_identityValidationExpressionHasBeenSet = true; m_identityValidationExpression = std::move(value); }
89 inline void SetIdentityValidationExpression(const char* value) { m_identityValidationExpressionHasBeenSet = true; m_identityValidationExpression.assign(value); }
94 private:
95
96 int m_authorizerResultTtlInSeconds;
97 bool m_authorizerResultTtlInSecondsHasBeenSet = false;
98
99 Aws::String m_authorizerUri;
100 bool m_authorizerUriHasBeenSet = false;
101
102 Aws::String m_identityValidationExpression;
103 bool m_identityValidationExpressionHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace AppSync
108} // namespace Aws
LambdaAuthorizerConfig & WithAuthorizerUri(const char *value)
AWS_APPSYNC_API LambdaAuthorizerConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
LambdaAuthorizerConfig & WithAuthorizerResultTtlInSeconds(int value)
LambdaAuthorizerConfig & WithAuthorizerUri(const Aws::String &value)
LambdaAuthorizerConfig & WithAuthorizerUri(Aws::String &&value)
LambdaAuthorizerConfig & WithIdentityValidationExpression(Aws::String &&value)
void SetIdentityValidationExpression(const Aws::String &value)
LambdaAuthorizerConfig & WithIdentityValidationExpression(const Aws::String &value)
LambdaAuthorizerConfig & WithIdentityValidationExpression(const char *value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetIdentityValidationExpression() const
AWS_APPSYNC_API LambdaAuthorizerConfig(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue