7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iot/IoT_EXPORTS.h>
10#include <aws/iot/model/Allowed.h>
11#include <aws/iot/model/AuthDecision.h>
12#include <aws/iot/model/AuthInfo.h>
13#include <aws/iot/model/Denied.h>
45 template <
typename AuthInfoT = AuthInfo>
47 m_authInfoHasBeenSet =
true;
48 m_authInfo = std::forward<AuthInfoT>(value);
50 template <
typename AuthInfoT = AuthInfo>
63 template <
typename AllowedT = Allowed>
65 m_allowedHasBeenSet =
true;
66 m_allowed = std::forward<AllowedT>(value);
68 template <
typename AllowedT = Allowed>
81 template <
typename DeniedT = Denied>
83 m_deniedHasBeenSet =
true;
84 m_denied = std::forward<DeniedT>(value);
86 template <
typename DeniedT = Denied>
102 m_authDecisionHasBeenSet =
true;
103 m_authDecision = value;
117 template <
typename MissingContextValuesT = Aws::Vector<Aws::String>>
119 m_missingContextValuesHasBeenSet =
true;
120 m_missingContextValues = std::forward<MissingContextValuesT>(value);
122 template <
typename MissingContextValuesT = Aws::Vector<Aws::String>>
127 template <
typename MissingContextValuesT = Aws::String>
129 m_missingContextValuesHasBeenSet =
true;
130 m_missingContextValues.emplace_back(std::forward<MissingContextValuesT>(value));
144 bool m_authInfoHasBeenSet =
false;
145 bool m_allowedHasBeenSet =
false;
146 bool m_deniedHasBeenSet =
false;
147 bool m_authDecisionHasBeenSet =
false;
148 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