AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
AuthorizerSummary.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
28 public:
29 AWS_IOT_API AuthorizerSummary() = default;
33
35
38 inline const Aws::String& GetAuthorizerName() const { return m_authorizerName; }
39 inline bool AuthorizerNameHasBeenSet() const { return m_authorizerNameHasBeenSet; }
40 template <typename AuthorizerNameT = Aws::String>
41 void SetAuthorizerName(AuthorizerNameT&& value) {
42 m_authorizerNameHasBeenSet = true;
43 m_authorizerName = std::forward<AuthorizerNameT>(value);
44 }
45 template <typename AuthorizerNameT = Aws::String>
46 AuthorizerSummary& WithAuthorizerName(AuthorizerNameT&& value) {
47 SetAuthorizerName(std::forward<AuthorizerNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetAuthorizerArn() const { return m_authorizerArn; }
57 inline bool AuthorizerArnHasBeenSet() const { return m_authorizerArnHasBeenSet; }
58 template <typename AuthorizerArnT = Aws::String>
59 void SetAuthorizerArn(AuthorizerArnT&& value) {
60 m_authorizerArnHasBeenSet = true;
61 m_authorizerArn = std::forward<AuthorizerArnT>(value);
62 }
63 template <typename AuthorizerArnT = Aws::String>
64 AuthorizerSummary& WithAuthorizerArn(AuthorizerArnT&& value) {
65 SetAuthorizerArn(std::forward<AuthorizerArnT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_authorizerName;
71
72 Aws::String m_authorizerArn;
73 bool m_authorizerNameHasBeenSet = false;
74 bool m_authorizerArnHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace IoT
79} // namespace Aws
const Aws::String & GetAuthorizerName() const
AWS_IOT_API AuthorizerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAuthorizerName(AuthorizerNameT &&value)
AuthorizerSummary & WithAuthorizerName(AuthorizerNameT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API AuthorizerSummary(Aws::Utils::Json::JsonView jsonValue)
void SetAuthorizerArn(AuthorizerArnT &&value)
const Aws::String & GetAuthorizerArn() const
AuthorizerSummary & WithAuthorizerArn(AuthorizerArnT &&value)
AWS_IOT_API AuthorizerSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue