AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AuthorizerConfig.h
1
6#pragma once
7#include <aws/iot/IoT_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 IoT
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOT_API AuthorizerConfig() = default;
39
40
42
45 inline const Aws::String& GetDefaultAuthorizerName() const { return m_defaultAuthorizerName; }
46 inline bool DefaultAuthorizerNameHasBeenSet() const { return m_defaultAuthorizerNameHasBeenSet; }
47 template<typename DefaultAuthorizerNameT = Aws::String>
48 void SetDefaultAuthorizerName(DefaultAuthorizerNameT&& value) { m_defaultAuthorizerNameHasBeenSet = true; m_defaultAuthorizerName = std::forward<DefaultAuthorizerNameT>(value); }
49 template<typename DefaultAuthorizerNameT = Aws::String>
50 AuthorizerConfig& WithDefaultAuthorizerName(DefaultAuthorizerNameT&& value) { SetDefaultAuthorizerName(std::forward<DefaultAuthorizerNameT>(value)); return *this;}
52
54
58 inline bool GetAllowAuthorizerOverride() const { return m_allowAuthorizerOverride; }
59 inline bool AllowAuthorizerOverrideHasBeenSet() const { return m_allowAuthorizerOverrideHasBeenSet; }
60 inline void SetAllowAuthorizerOverride(bool value) { m_allowAuthorizerOverrideHasBeenSet = true; m_allowAuthorizerOverride = value; }
61 inline AuthorizerConfig& WithAllowAuthorizerOverride(bool value) { SetAllowAuthorizerOverride(value); return *this;}
63 private:
64
65 Aws::String m_defaultAuthorizerName;
66 bool m_defaultAuthorizerNameHasBeenSet = false;
67
68 bool m_allowAuthorizerOverride{false};
69 bool m_allowAuthorizerOverrideHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace IoT
74} // namespace Aws
void SetDefaultAuthorizerName(DefaultAuthorizerNameT &&value)
AWS_IOT_API AuthorizerConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API AuthorizerConfig(Aws::Utils::Json::JsonView jsonValue)
AuthorizerConfig & WithAllowAuthorizerOverride(bool value)
const Aws::String & GetDefaultAuthorizerName() const
AuthorizerConfig & WithDefaultAuthorizerName(DefaultAuthorizerNameT &&value)
AWS_IOT_API AuthorizerConfig()=default
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue