AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::String& GetDefaultAuthorizerName() const{ return m_defaultAuthorizerName; }
46 inline bool DefaultAuthorizerNameHasBeenSet() const { return m_defaultAuthorizerNameHasBeenSet; }
47 inline void SetDefaultAuthorizerName(const Aws::String& value) { m_defaultAuthorizerNameHasBeenSet = true; m_defaultAuthorizerName = value; }
48 inline void SetDefaultAuthorizerName(Aws::String&& value) { m_defaultAuthorizerNameHasBeenSet = true; m_defaultAuthorizerName = std::move(value); }
49 inline void SetDefaultAuthorizerName(const char* value) { m_defaultAuthorizerNameHasBeenSet = true; m_defaultAuthorizerName.assign(value); }
51 inline AuthorizerConfig& WithDefaultAuthorizerName(Aws::String&& value) { SetDefaultAuthorizerName(std::move(value)); return *this;}
52 inline AuthorizerConfig& WithDefaultAuthorizerName(const char* value) { SetDefaultAuthorizerName(value); return *this;}
54
56
60 inline bool GetAllowAuthorizerOverride() const{ return m_allowAuthorizerOverride; }
61 inline bool AllowAuthorizerOverrideHasBeenSet() const { return m_allowAuthorizerOverrideHasBeenSet; }
62 inline void SetAllowAuthorizerOverride(bool value) { m_allowAuthorizerOverrideHasBeenSet = true; m_allowAuthorizerOverride = value; }
63 inline AuthorizerConfig& WithAllowAuthorizerOverride(bool value) { SetAllowAuthorizerOverride(value); return *this;}
65 private:
66
67 Aws::String m_defaultAuthorizerName;
68 bool m_defaultAuthorizerNameHasBeenSet = false;
69
70 bool m_allowAuthorizerOverride;
71 bool m_allowAuthorizerOverrideHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace IoT
76} // namespace Aws
void SetDefaultAuthorizerName(const char *value)
AuthorizerConfig & WithDefaultAuthorizerName(const char *value)
AuthorizerConfig & WithDefaultAuthorizerName(const Aws::String &value)
AuthorizerConfig & WithDefaultAuthorizerName(Aws::String &&value)
AWS_IOT_API AuthorizerConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API AuthorizerConfig(Aws::Utils::Json::JsonView jsonValue)
AuthorizerConfig & WithAllowAuthorizerOverride(bool value)
void SetDefaultAuthorizerName(const Aws::String &value)
const Aws::String & GetDefaultAuthorizerName() const
void SetDefaultAuthorizerName(Aws::String &&value)
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