AWS SDK for C++

AWS SDK for C++ Version 1.11.689

Loading...
Searching...
No Matches
AuthorizerConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoT_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoT {
20namespace Model {
21
29 public:
30 AWS_IOT_API AuthorizerConfig() = default;
34
36
39 inline const Aws::String& GetDefaultAuthorizerName() const { return m_defaultAuthorizerName; }
40 inline bool DefaultAuthorizerNameHasBeenSet() const { return m_defaultAuthorizerNameHasBeenSet; }
41 template <typename DefaultAuthorizerNameT = Aws::String>
42 void SetDefaultAuthorizerName(DefaultAuthorizerNameT&& value) {
43 m_defaultAuthorizerNameHasBeenSet = true;
44 m_defaultAuthorizerName = std::forward<DefaultAuthorizerNameT>(value);
45 }
46 template <typename DefaultAuthorizerNameT = Aws::String>
47 AuthorizerConfig& WithDefaultAuthorizerName(DefaultAuthorizerNameT&& value) {
48 SetDefaultAuthorizerName(std::forward<DefaultAuthorizerNameT>(value));
49 return *this;
50 }
52
54
58 inline bool GetAllowAuthorizerOverride() const { return m_allowAuthorizerOverride; }
59 inline bool AllowAuthorizerOverrideHasBeenSet() const { return m_allowAuthorizerOverrideHasBeenSet; }
60 inline void SetAllowAuthorizerOverride(bool value) {
61 m_allowAuthorizerOverrideHasBeenSet = true;
62 m_allowAuthorizerOverride = value;
63 }
66 return *this;
67 }
69 private:
70 Aws::String m_defaultAuthorizerName;
71 bool m_defaultAuthorizerNameHasBeenSet = false;
72
73 bool m_allowAuthorizerOverride{false};
74 bool m_allowAuthorizerOverrideHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace IoT
79} // 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