7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/AuthInfo.h>
9#include <aws/iot/model/Allowed.h>
10#include <aws/iot/model/Denied.h>
11#include <aws/iot/model/AuthDecision.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
51 template<
typename AuthInfoT = AuthInfo>
52 void SetAuthInfo(AuthInfoT&& value) { m_authInfoHasBeenSet =
true; m_authInfo = std::forward<AuthInfoT>(value); }
53 template<
typename AuthInfoT = AuthInfo>
63 template<
typename AllowedT = Allowed>
64 void SetAllowed(AllowedT&& value) { m_allowedHasBeenSet =
true; m_allowed = std::forward<AllowedT>(value); }
65 template<
typename AllowedT = Allowed>
75 template<
typename DeniedT = Denied>
76 void SetDenied(DeniedT&& value) { m_deniedHasBeenSet =
true; m_denied = std::forward<DeniedT>(value); }
77 template<
typename DeniedT = Denied>
99 template<
typename MissingContextValuesT = Aws::Vector<Aws::String>>
100 void SetMissingContextValues(MissingContextValuesT&& value) { m_missingContextValuesHasBeenSet =
true; m_missingContextValues = std::forward<MissingContextValuesT>(value); }
101 template<
typename MissingContextValuesT = Aws::Vector<Aws::String>>
103 template<
typename MissingContextValuesT = Aws::String>
104 AuthResult&
AddMissingContextValues(MissingContextValuesT&& value) { m_missingContextValuesHasBeenSet =
true; m_missingContextValues.emplace_back(std::forward<MissingContextValuesT>(value));
return *
this; }
109 bool m_authInfoHasBeenSet =
false;
112 bool m_allowedHasBeenSet =
false;
115 bool m_deniedHasBeenSet =
false;
118 bool m_authDecisionHasBeenSet =
false;
121 bool m_missingContextValuesHasBeenSet =
false;
void SetAuthInfo(AuthInfoT &&value)
const Aws::Vector< Aws::String > & GetMissingContextValues() const
bool AuthDecisionHasBeenSet() const
AuthResult & WithMissingContextValues(MissingContextValuesT &&value)
void SetMissingContextValues(MissingContextValuesT &&value)
AuthResult & WithAllowed(AllowedT &&value)
bool AllowedHasBeenSet() const
bool AuthInfoHasBeenSet() const
bool MissingContextValuesHasBeenSet() const
AWS_IOT_API AuthResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API AuthResult(Aws::Utils::Json::JsonView jsonValue)
bool DeniedHasBeenSet() const
const AuthInfo & GetAuthInfo() const
void SetAuthDecision(AuthDecision value)
void SetAllowed(AllowedT &&value)
AWS_IOT_API AuthResult()=default
const Denied & GetDenied() const
const Allowed & GetAllowed() const
AuthResult & WithAuthDecision(AuthDecision value)
AuthResult & AddMissingContextValues(MissingContextValuesT &&value)
AuthResult & WithDenied(DeniedT &&value)
AuthResult & WithAuthInfo(AuthInfoT &&value)
AuthDecision GetAuthDecision() const
void SetDenied(DeniedT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue