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>
55 inline void SetPrincipal(
const char* value) { m_principalHasBeenSet =
true; m_principal.assign(value); }
69 inline void SetCognitoIdentityPoolId(
const char* value) { m_cognitoIdentityPoolIdHasBeenSet =
true; m_cognitoIdentityPoolId.assign(value); }
98 inline void SetClientId(
const char* value) { m_clientIdHasBeenSet =
true; m_clientId.assign(value); }
138 bool m_principalHasBeenSet =
false;
141 bool m_cognitoIdentityPoolIdHasBeenSet =
false;
144 bool m_authInfosHasBeenSet =
false;
147 bool m_clientIdHasBeenSet =
false;
150 bool m_policyNamesToAddHasBeenSet =
false;
153 bool m_policyNamesToSkipHasBeenSet =
false;
bool PolicyNamesToAddHasBeenSet() const
TestAuthorizationRequest & WithCognitoIdentityPoolId(const Aws::String &value)
const Aws::String & GetClientId() const
void SetAuthInfos(Aws::Vector< AuthInfo > &&value)
TestAuthorizationRequest & AddAuthInfos(AuthInfo &&value)
TestAuthorizationRequest & WithPrincipal(const char *value)
TestAuthorizationRequest & WithPolicyNamesToSkip(const Aws::Vector< Aws::String > &value)
void SetPolicyNamesToAdd(Aws::Vector< Aws::String > &&value)
void SetCognitoIdentityPoolId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetClientId(const Aws::String &value)
TestAuthorizationRequest & WithPrincipal(const Aws::String &value)
void SetPrincipal(const Aws::String &value)
const Aws::String & GetCognitoIdentityPoolId() const
void SetPrincipal(const char *value)
const Aws::Vector< AuthInfo > & GetAuthInfos() const
TestAuthorizationRequest & AddPolicyNamesToSkip(const char *value)
TestAuthorizationRequest & WithPolicyNamesToAdd(const Aws::Vector< Aws::String > &value)
TestAuthorizationRequest & WithClientId(Aws::String &&value)
TestAuthorizationRequest & WithCognitoIdentityPoolId(Aws::String &&value)
const Aws::String & GetPrincipal() const
TestAuthorizationRequest & AddPolicyNamesToSkip(const Aws::String &value)
const Aws::Vector< Aws::String > & GetPolicyNamesToSkip() const
TestAuthorizationRequest & WithClientId(const char *value)
void SetPolicyNamesToSkip(Aws::Vector< Aws::String > &&value)
TestAuthorizationRequest & AddPolicyNamesToAdd(const Aws::String &value)
TestAuthorizationRequest & AddPolicyNamesToSkip(Aws::String &&value)
TestAuthorizationRequest & WithPolicyNamesToAdd(Aws::Vector< Aws::String > &&value)
AWS_IOT_API TestAuthorizationRequest()
bool PrincipalHasBeenSet() const
void SetPolicyNamesToSkip(const Aws::Vector< Aws::String > &value)
AWS_IOT_API Aws::String SerializePayload() const override
TestAuthorizationRequest & WithCognitoIdentityPoolId(const char *value)
void SetCognitoIdentityPoolId(const char *value)
void SetAuthInfos(const Aws::Vector< AuthInfo > &value)
bool AuthInfosHasBeenSet() const
TestAuthorizationRequest & WithPolicyNamesToSkip(Aws::Vector< Aws::String > &&value)
TestAuthorizationRequest & WithAuthInfos(Aws::Vector< AuthInfo > &&value)
bool ClientIdHasBeenSet() const
TestAuthorizationRequest & WithAuthInfos(const Aws::Vector< AuthInfo > &value)
void SetCognitoIdentityPoolId(const Aws::String &value)
void SetPolicyNamesToAdd(const Aws::Vector< Aws::String > &value)
void SetPrincipal(Aws::String &&value)
TestAuthorizationRequest & AddAuthInfos(const AuthInfo &value)
TestAuthorizationRequest & AddPolicyNamesToAdd(const char *value)
TestAuthorizationRequest & AddPolicyNamesToAdd(Aws::String &&value)
TestAuthorizationRequest & WithPrincipal(Aws::String &&value)
bool CognitoIdentityPoolIdHasBeenSet() const
const Aws::Vector< Aws::String > & GetPolicyNamesToAdd() const
void SetClientId(Aws::String &&value)
TestAuthorizationRequest & WithClientId(const Aws::String &value)
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool PolicyNamesToSkipHasBeenSet() const
void SetClientId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector