AWS SDK for C++

AWS SDK for C++ Version 1.11.867

Loading...
Searching...
No Matches
AuthorizerConfiguration.h
1
6#pragma once
7#include <aws/agent-registry-control/AgentRegistryControl_EXPORTS.h>
8#include <aws/agent-registry-control/model/CustomJWTAuthorizerConfiguration.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AgentRegistryControl {
20namespace Model {
21
29 public:
30 AWS_AGENTREGISTRYCONTROL_API AuthorizerConfiguration() = default;
31 AWS_AGENTREGISTRYCONTROL_API AuthorizerConfiguration(Aws::Utils::Json::JsonView jsonValue);
32 AWS_AGENTREGISTRYCONTROL_API AuthorizerConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const CustomJWTAuthorizerConfiguration& GetCustomJWTAuthorizer() const { return m_customJWTAuthorizer; }
40 inline bool CustomJWTAuthorizerHasBeenSet() const { return m_customJWTAuthorizerHasBeenSet; }
41 template <typename CustomJWTAuthorizerT = CustomJWTAuthorizerConfiguration>
42 void SetCustomJWTAuthorizer(CustomJWTAuthorizerT&& value) {
43 m_customJWTAuthorizerHasBeenSet = true;
44 m_customJWTAuthorizer = std::forward<CustomJWTAuthorizerT>(value);
45 }
46 template <typename CustomJWTAuthorizerT = CustomJWTAuthorizerConfiguration>
47 AuthorizerConfiguration& WithCustomJWTAuthorizer(CustomJWTAuthorizerT&& value) {
48 SetCustomJWTAuthorizer(std::forward<CustomJWTAuthorizerT>(value));
49 return *this;
50 }
52 private:
53 CustomJWTAuthorizerConfiguration m_customJWTAuthorizer;
54 bool m_customJWTAuthorizerHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace AgentRegistryControl
59} // namespace Aws
AWS_AGENTREGISTRYCONTROL_API AuthorizerConfiguration()=default
AWS_AGENTREGISTRYCONTROL_API AuthorizerConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const CustomJWTAuthorizerConfiguration & GetCustomJWTAuthorizer() const
AuthorizerConfiguration & WithCustomJWTAuthorizer(CustomJWTAuthorizerT &&value)
AWS_AGENTREGISTRYCONTROL_API AuthorizerConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue