AWS SDK for C++  1.9.129
AWS SDK for C++
AuthorizerConfig.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoT
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetDefaultAuthorizerName() const{ return m_defaultAuthorizerName; }
45 
49  inline bool DefaultAuthorizerNameHasBeenSet() const { return m_defaultAuthorizerNameHasBeenSet; }
50 
54  inline void SetDefaultAuthorizerName(const Aws::String& value) { m_defaultAuthorizerNameHasBeenSet = true; m_defaultAuthorizerName = value; }
55 
59  inline void SetDefaultAuthorizerName(Aws::String&& value) { m_defaultAuthorizerNameHasBeenSet = true; m_defaultAuthorizerName = std::move(value); }
60 
64  inline void SetDefaultAuthorizerName(const char* value) { m_defaultAuthorizerNameHasBeenSet = true; m_defaultAuthorizerName.assign(value); }
65 
69  inline AuthorizerConfig& WithDefaultAuthorizerName(const Aws::String& value) { SetDefaultAuthorizerName(value); return *this;}
70 
74  inline AuthorizerConfig& WithDefaultAuthorizerName(Aws::String&& value) { SetDefaultAuthorizerName(std::move(value)); return *this;}
75 
79  inline AuthorizerConfig& WithDefaultAuthorizerName(const char* value) { SetDefaultAuthorizerName(value); return *this;}
80 
81 
86  inline bool GetAllowAuthorizerOverride() const{ return m_allowAuthorizerOverride; }
87 
92  inline bool AllowAuthorizerOverrideHasBeenSet() const { return m_allowAuthorizerOverrideHasBeenSet; }
93 
98  inline void SetAllowAuthorizerOverride(bool value) { m_allowAuthorizerOverrideHasBeenSet = true; m_allowAuthorizerOverride = value; }
99 
104  inline AuthorizerConfig& WithAllowAuthorizerOverride(bool value) { SetAllowAuthorizerOverride(value); return *this;}
105 
106  private:
107 
108  Aws::String m_defaultAuthorizerName;
109  bool m_defaultAuthorizerNameHasBeenSet;
110 
111  bool m_allowAuthorizerOverride;
112  bool m_allowAuthorizerOverrideHasBeenSet;
113  };
114 
115 } // namespace Model
116 } // namespace IoT
117 } // namespace Aws
Aws::IoT::Model::AuthorizerConfig::GetAllowAuthorizerOverride
bool GetAllowAuthorizerOverride() const
Definition: AuthorizerConfig.h:86
Aws::IoT::Model::AuthorizerConfig::SetDefaultAuthorizerName
void SetDefaultAuthorizerName(Aws::String &&value)
Definition: AuthorizerConfig.h:59
Aws::IoT::Model::AuthorizerConfig::GetDefaultAuthorizerName
const Aws::String & GetDefaultAuthorizerName() const
Definition: AuthorizerConfig.h:44
Aws::IoT::Model::AuthorizerConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::AuthorizerConfig::WithAllowAuthorizerOverride
AuthorizerConfig & WithAllowAuthorizerOverride(bool value)
Definition: AuthorizerConfig.h:104
Aws::IoT::Model::AuthorizerConfig::DefaultAuthorizerNameHasBeenSet
bool DefaultAuthorizerNameHasBeenSet() const
Definition: AuthorizerConfig.h:49
Aws::IoT::Model::AuthorizerConfig::WithDefaultAuthorizerName
AuthorizerConfig & WithDefaultAuthorizerName(Aws::String &&value)
Definition: AuthorizerConfig.h:74
Aws::IoT::Model::AuthorizerConfig::SetDefaultAuthorizerName
void SetDefaultAuthorizerName(const Aws::String &value)
Definition: AuthorizerConfig.h:54
Aws::IoT::Model::AuthorizerConfig::AuthorizerConfig
AuthorizerConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::AuthorizerConfig::AuthorizerConfig
AuthorizerConfig()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::AuthorizerConfig::WithDefaultAuthorizerName
AuthorizerConfig & WithDefaultAuthorizerName(const char *value)
Definition: AuthorizerConfig.h:79
Aws::IoT::Model::AuthorizerConfig::WithDefaultAuthorizerName
AuthorizerConfig & WithDefaultAuthorizerName(const Aws::String &value)
Definition: AuthorizerConfig.h:69
Aws::IoT::Model::AuthorizerConfig::AllowAuthorizerOverrideHasBeenSet
bool AllowAuthorizerOverrideHasBeenSet() const
Definition: AuthorizerConfig.h:92
Aws::IoT::Model::AuthorizerConfig::SetDefaultAuthorizerName
void SetDefaultAuthorizerName(const char *value)
Definition: AuthorizerConfig.h:64
Aws::IoT::Model::AuthorizerConfig::SetAllowAuthorizerOverride
void SetAllowAuthorizerOverride(bool value)
Definition: AuthorizerConfig.h:98
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::AuthorizerConfig
Definition: AuthorizerConfig.h:33
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::AuthorizerConfig::operator=
AuthorizerConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
IoT_EXPORTS.h