7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iot/model/AuthInfo.h>
53 template<
typename PrincipalT = Aws::String>
54 void SetPrincipal(PrincipalT&& value) { m_principalHasBeenSet =
true; m_principal = std::forward<PrincipalT>(value); }
55 template<
typename PrincipalT = Aws::String>
65 template<
typename CognitoIdentityPoolIdT = Aws::String>
66 void SetCognitoIdentityPoolId(CognitoIdentityPoolIdT&& value) { m_cognitoIdentityPoolIdHasBeenSet =
true; m_cognitoIdentityPoolId = std::forward<CognitoIdentityPoolIdT>(value); }
67 template<
typename CognitoIdentityPoolIdT = Aws::String>
78 template<
typename AuthInfosT = Aws::Vector<AuthInfo>>
79 void SetAuthInfos(AuthInfosT&& value) { m_authInfosHasBeenSet =
true; m_authInfos = std::forward<AuthInfosT>(value); }
80 template<
typename AuthInfosT = Aws::Vector<AuthInfo>>
82 template<
typename AuthInfosT = AuthInfo>
92 template<
typename ClientIdT = Aws::String>
93 void SetClientId(ClientIdT&& value) { m_clientIdHasBeenSet =
true; m_clientId = std::forward<ClientIdT>(value); }
94 template<
typename ClientIdT = Aws::String>
105 template<
typename PolicyNamesToAddT = Aws::Vector<Aws::String>>
106 void SetPolicyNamesToAdd(PolicyNamesToAddT&& value) { m_policyNamesToAddHasBeenSet =
true; m_policyNamesToAdd = std::forward<PolicyNamesToAddT>(value); }
107 template<
typename PolicyNamesToAddT = Aws::Vector<Aws::String>>
109 template<
typename PolicyNamesToAddT = Aws::String>
120 template<
typename PolicyNamesToSkipT = Aws::Vector<Aws::String>>
121 void SetPolicyNamesToSkip(PolicyNamesToSkipT&& value) { m_policyNamesToSkipHasBeenSet =
true; m_policyNamesToSkip = std::forward<PolicyNamesToSkipT>(value); }
122 template<
typename PolicyNamesToSkipT = Aws::Vector<Aws::String>>
124 template<
typename PolicyNamesToSkipT = Aws::String>
130 bool m_principalHasBeenSet =
false;
133 bool m_cognitoIdentityPoolIdHasBeenSet =
false;
136 bool m_authInfosHasBeenSet =
false;
139 bool m_clientIdHasBeenSet =
false;
142 bool m_policyNamesToAddHasBeenSet =
false;
145 bool m_policyNamesToSkipHasBeenSet =
false;
void SetPolicyNamesToSkip(PolicyNamesToSkipT &&value)
bool PolicyNamesToAddHasBeenSet() const
const Aws::String & GetClientId() const
TestAuthorizationRequest & WithPolicyNamesToSkip(PolicyNamesToSkipT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetCognitoIdentityPoolId() const
TestAuthorizationRequest & WithAuthInfos(AuthInfosT &&value)
TestAuthorizationRequest & WithPolicyNamesToAdd(PolicyNamesToAddT &&value)
void SetAuthInfos(AuthInfosT &&value)
const Aws::Vector< AuthInfo > & GetAuthInfos() const
TestAuthorizationRequest & WithCognitoIdentityPoolId(CognitoIdentityPoolIdT &&value)
TestAuthorizationRequest & AddPolicyNamesToSkip(PolicyNamesToSkipT &&value)
const Aws::String & GetPrincipal() const
const Aws::Vector< Aws::String > & GetPolicyNamesToSkip() const
TestAuthorizationRequest & WithClientId(ClientIdT &&value)
AWS_IOT_API TestAuthorizationRequest()=default
void SetClientId(ClientIdT &&value)
bool PrincipalHasBeenSet() const
AWS_IOT_API Aws::String SerializePayload() const override
bool AuthInfosHasBeenSet() const
void SetPrincipal(PrincipalT &&value)
bool ClientIdHasBeenSet() const
TestAuthorizationRequest & WithPrincipal(PrincipalT &&value)
TestAuthorizationRequest & AddPolicyNamesToAdd(PolicyNamesToAddT &&value)
bool CognitoIdentityPoolIdHasBeenSet() const
const Aws::Vector< Aws::String > & GetPolicyNamesToAdd() const
TestAuthorizationRequest & AddAuthInfos(AuthInfosT &&value)
void SetCognitoIdentityPoolId(CognitoIdentityPoolIdT &&value)
void SetPolicyNamesToAdd(PolicyNamesToAddT &&value)
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool PolicyNamesToSkipHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector