1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSString.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 
26   /**
27    * <p>The authorizer summary.</p><p><h3>See Also:</h3>   <a
28    * href="http://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/AuthorizerSummary">AWS
29    * API Reference</a></p>
30    */
31   class AWS_IOT_API AuthorizerSummary
32   {
33   public:
34     AuthorizerSummary();
35     AuthorizerSummary(Aws::Utils::Json::JsonView jsonValue);
36     AuthorizerSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
37     Aws::Utils::Json::JsonValue Jsonize() const;
38 
39 
40     /**
41      * <p>The authorizer name.</p>
42      */
GetAuthorizerName()43     inline const Aws::String& GetAuthorizerName() const{ return m_authorizerName; }
44 
45     /**
46      * <p>The authorizer name.</p>
47      */
AuthorizerNameHasBeenSet()48     inline bool AuthorizerNameHasBeenSet() const { return m_authorizerNameHasBeenSet; }
49 
50     /**
51      * <p>The authorizer name.</p>
52      */
SetAuthorizerName(const Aws::String & value)53     inline void SetAuthorizerName(const Aws::String& value) { m_authorizerNameHasBeenSet = true; m_authorizerName = value; }
54 
55     /**
56      * <p>The authorizer name.</p>
57      */
SetAuthorizerName(Aws::String && value)58     inline void SetAuthorizerName(Aws::String&& value) { m_authorizerNameHasBeenSet = true; m_authorizerName = std::move(value); }
59 
60     /**
61      * <p>The authorizer name.</p>
62      */
SetAuthorizerName(const char * value)63     inline void SetAuthorizerName(const char* value) { m_authorizerNameHasBeenSet = true; m_authorizerName.assign(value); }
64 
65     /**
66      * <p>The authorizer name.</p>
67      */
WithAuthorizerName(const Aws::String & value)68     inline AuthorizerSummary& WithAuthorizerName(const Aws::String& value) { SetAuthorizerName(value); return *this;}
69 
70     /**
71      * <p>The authorizer name.</p>
72      */
WithAuthorizerName(Aws::String && value)73     inline AuthorizerSummary& WithAuthorizerName(Aws::String&& value) { SetAuthorizerName(std::move(value)); return *this;}
74 
75     /**
76      * <p>The authorizer name.</p>
77      */
WithAuthorizerName(const char * value)78     inline AuthorizerSummary& WithAuthorizerName(const char* value) { SetAuthorizerName(value); return *this;}
79 
80 
81     /**
82      * <p>The authorizer ARN.</p>
83      */
GetAuthorizerArn()84     inline const Aws::String& GetAuthorizerArn() const{ return m_authorizerArn; }
85 
86     /**
87      * <p>The authorizer ARN.</p>
88      */
AuthorizerArnHasBeenSet()89     inline bool AuthorizerArnHasBeenSet() const { return m_authorizerArnHasBeenSet; }
90 
91     /**
92      * <p>The authorizer ARN.</p>
93      */
SetAuthorizerArn(const Aws::String & value)94     inline void SetAuthorizerArn(const Aws::String& value) { m_authorizerArnHasBeenSet = true; m_authorizerArn = value; }
95 
96     /**
97      * <p>The authorizer ARN.</p>
98      */
SetAuthorizerArn(Aws::String && value)99     inline void SetAuthorizerArn(Aws::String&& value) { m_authorizerArnHasBeenSet = true; m_authorizerArn = std::move(value); }
100 
101     /**
102      * <p>The authorizer ARN.</p>
103      */
SetAuthorizerArn(const char * value)104     inline void SetAuthorizerArn(const char* value) { m_authorizerArnHasBeenSet = true; m_authorizerArn.assign(value); }
105 
106     /**
107      * <p>The authorizer ARN.</p>
108      */
WithAuthorizerArn(const Aws::String & value)109     inline AuthorizerSummary& WithAuthorizerArn(const Aws::String& value) { SetAuthorizerArn(value); return *this;}
110 
111     /**
112      * <p>The authorizer ARN.</p>
113      */
WithAuthorizerArn(Aws::String && value)114     inline AuthorizerSummary& WithAuthorizerArn(Aws::String&& value) { SetAuthorizerArn(std::move(value)); return *this;}
115 
116     /**
117      * <p>The authorizer ARN.</p>
118      */
WithAuthorizerArn(const char * value)119     inline AuthorizerSummary& WithAuthorizerArn(const char* value) { SetAuthorizerArn(value); return *this;}
120 
121   private:
122 
123     Aws::String m_authorizerName;
124     bool m_authorizerNameHasBeenSet;
125 
126     Aws::String m_authorizerArn;
127     bool m_authorizerArnHasBeenSet;
128   };
129 
130 } // namespace Model
131 } // namespace IoT
132 } // namespace Aws
133