7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/iot/model/AuthorizerStatus.h>
11#include <aws/core/utils/DateTime.h>
49 template<
typename AuthorizerNameT = Aws::String>
50 void SetAuthorizerName(AuthorizerNameT&& value) { m_authorizerNameHasBeenSet =
true; m_authorizerName = std::forward<AuthorizerNameT>(value); }
51 template<
typename AuthorizerNameT = Aws::String>
61 template<
typename AuthorizerArnT = Aws::String>
62 void SetAuthorizerArn(AuthorizerArnT&& value) { m_authorizerArnHasBeenSet =
true; m_authorizerArn = std::forward<AuthorizerArnT>(value); }
63 template<
typename AuthorizerArnT = Aws::String>
73 template<
typename AuthorizerFunctionArnT = Aws::String>
74 void SetAuthorizerFunctionArn(AuthorizerFunctionArnT&& value) { m_authorizerFunctionArnHasBeenSet =
true; m_authorizerFunctionArn = std::forward<AuthorizerFunctionArnT>(value); }
75 template<
typename AuthorizerFunctionArnT = Aws::String>
85 template<
typename TokenKeyNameT = Aws::String>
86 void SetTokenKeyName(TokenKeyNameT&& value) { m_tokenKeyNameHasBeenSet =
true; m_tokenKeyName = std::forward<TokenKeyNameT>(value); }
87 template<
typename TokenKeyNameT = Aws::String>
98 template<
typename TokenSigningPublicKeysT = Aws::Map<Aws::String, Aws::String>>
99 void SetTokenSigningPublicKeys(TokenSigningPublicKeysT&& value) { m_tokenSigningPublicKeysHasBeenSet =
true; m_tokenSigningPublicKeys = std::forward<TokenSigningPublicKeysT>(value); }
100 template<
typename TokenSigningPublicKeysT = Aws::Map<Aws::String, Aws::String>>
102 template<
typename TokenSigningPublicKeysKeyT = Aws::String,
typename TokenSigningPublicKeysValueT = Aws::String>
104 m_tokenSigningPublicKeysHasBeenSet =
true; m_tokenSigningPublicKeys.emplace(std::forward<TokenSigningPublicKeysKeyT>(key), std::forward<TokenSigningPublicKeysValueT>(value));
return *
this;
124 template<
typename CreationDateT = Aws::Utils::DateTime>
125 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
126 template<
typename CreationDateT = Aws::Utils::DateTime>
136 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
137 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
138 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
149 inline void SetSigningDisabled(
bool value) { m_signingDisabledHasBeenSet =
true; m_signingDisabled = value; }
167 bool m_authorizerNameHasBeenSet =
false;
170 bool m_authorizerArnHasBeenSet =
false;
173 bool m_authorizerFunctionArnHasBeenSet =
false;
176 bool m_tokenKeyNameHasBeenSet =
false;
179 bool m_tokenSigningPublicKeysHasBeenSet =
false;
182 bool m_statusHasBeenSet =
false;
185 bool m_creationDateHasBeenSet =
false;
188 bool m_lastModifiedDateHasBeenSet =
false;
190 bool m_signingDisabled{
false};
191 bool m_signingDisabledHasBeenSet =
false;
193 bool m_enableCachingForHttp{
false};
194 bool m_enableCachingForHttpHasBeenSet =
false;
bool CreationDateHasBeenSet() const
bool GetSigningDisabled() const
bool GetEnableCachingForHttp() const
void SetCreationDate(CreationDateT &&value)
bool AuthorizerFunctionArnHasBeenSet() const
AuthorizerDescription & WithEnableCachingForHttp(bool value)
void SetAuthorizerArn(AuthorizerArnT &&value)
AuthorizerDescription & WithStatus(AuthorizerStatus value)
void SetTokenKeyName(TokenKeyNameT &&value)
bool TokenSigningPublicKeysHasBeenSet() const
void SetLastModifiedDate(LastModifiedDateT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTokenSigningPublicKeys() const
void SetTokenSigningPublicKeys(TokenSigningPublicKeysT &&value)
AuthorizerDescription & WithTokenSigningPublicKeys(TokenSigningPublicKeysT &&value)
bool TokenKeyNameHasBeenSet() const
const Aws::String & GetAuthorizerArn() const
AuthorizerDescription & WithAuthorizerArn(AuthorizerArnT &&value)
bool EnableCachingForHttpHasBeenSet() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API AuthorizerDescription()=default
void SetAuthorizerFunctionArn(AuthorizerFunctionArnT &&value)
const Aws::String & GetAuthorizerFunctionArn() const
const Aws::Utils::DateTime & GetLastModifiedDate() const
AWS_IOT_API AuthorizerDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AuthorizerDescription & WithLastModifiedDate(LastModifiedDateT &&value)
bool StatusHasBeenSet() const
AuthorizerDescription & WithAuthorizerFunctionArn(AuthorizerFunctionArnT &&value)
void SetAuthorizerName(AuthorizerNameT &&value)
const Aws::String & GetAuthorizerName() const
void SetSigningDisabled(bool value)
bool LastModifiedDateHasBeenSet() const
bool AuthorizerArnHasBeenSet() const
AuthorizerDescription & AddTokenSigningPublicKeys(TokenSigningPublicKeysKeyT &&key, TokenSigningPublicKeysValueT &&value)
AuthorizerDescription & WithTokenKeyName(TokenKeyNameT &&value)
AuthorizerDescription & WithSigningDisabled(bool value)
bool AuthorizerNameHasBeenSet() const
bool SigningDisabledHasBeenSet() const
AuthorizerStatus GetStatus() const
AuthorizerDescription & WithCreationDate(CreationDateT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
AuthorizerDescription & WithAuthorizerName(AuthorizerNameT &&value)
AWS_IOT_API AuthorizerDescription(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTokenKeyName() const
void SetStatus(AuthorizerStatus value)
void SetEnableCachingForHttp(bool value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue