AWS SDK for C++  1.9.68
AWS SDK for C++
Public Member Functions | List of all members
Aws::IoT::Model::TestAuthorizationRequest Class Reference

#include <TestAuthorizationRequest.h>

+ Inheritance diagram for Aws::IoT::Model::TestAuthorizationRequest:

Public Member Functions

 TestAuthorizationRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
void AddQueryStringParameters (Aws::Http::URI &uri) const override
 
const Aws::StringGetPrincipal () const
 
bool PrincipalHasBeenSet () const
 
void SetPrincipal (const Aws::String &value)
 
void SetPrincipal (Aws::String &&value)
 
void SetPrincipal (const char *value)
 
TestAuthorizationRequestWithPrincipal (const Aws::String &value)
 
TestAuthorizationRequestWithPrincipal (Aws::String &&value)
 
TestAuthorizationRequestWithPrincipal (const char *value)
 
const Aws::StringGetCognitoIdentityPoolId () const
 
bool CognitoIdentityPoolIdHasBeenSet () const
 
void SetCognitoIdentityPoolId (const Aws::String &value)
 
void SetCognitoIdentityPoolId (Aws::String &&value)
 
void SetCognitoIdentityPoolId (const char *value)
 
TestAuthorizationRequestWithCognitoIdentityPoolId (const Aws::String &value)
 
TestAuthorizationRequestWithCognitoIdentityPoolId (Aws::String &&value)
 
TestAuthorizationRequestWithCognitoIdentityPoolId (const char *value)
 
const Aws::Vector< AuthInfo > & GetAuthInfos () const
 
bool AuthInfosHasBeenSet () const
 
void SetAuthInfos (const Aws::Vector< AuthInfo > &value)
 
void SetAuthInfos (Aws::Vector< AuthInfo > &&value)
 
TestAuthorizationRequestWithAuthInfos (const Aws::Vector< AuthInfo > &value)
 
TestAuthorizationRequestWithAuthInfos (Aws::Vector< AuthInfo > &&value)
 
TestAuthorizationRequestAddAuthInfos (const AuthInfo &value)
 
TestAuthorizationRequestAddAuthInfos (AuthInfo &&value)
 
const Aws::StringGetClientId () const
 
bool ClientIdHasBeenSet () const
 
void SetClientId (const Aws::String &value)
 
void SetClientId (Aws::String &&value)
 
void SetClientId (const char *value)
 
TestAuthorizationRequestWithClientId (const Aws::String &value)
 
TestAuthorizationRequestWithClientId (Aws::String &&value)
 
TestAuthorizationRequestWithClientId (const char *value)
 
const Aws::Vector< Aws::String > & GetPolicyNamesToAdd () const
 
bool PolicyNamesToAddHasBeenSet () const
 
void SetPolicyNamesToAdd (const Aws::Vector< Aws::String > &value)
 
void SetPolicyNamesToAdd (Aws::Vector< Aws::String > &&value)
 
TestAuthorizationRequestWithPolicyNamesToAdd (const Aws::Vector< Aws::String > &value)
 
TestAuthorizationRequestWithPolicyNamesToAdd (Aws::Vector< Aws::String > &&value)
 
TestAuthorizationRequestAddPolicyNamesToAdd (const Aws::String &value)
 
TestAuthorizationRequestAddPolicyNamesToAdd (Aws::String &&value)
 
TestAuthorizationRequestAddPolicyNamesToAdd (const char *value)
 
const Aws::Vector< Aws::String > & GetPolicyNamesToSkip () const
 
bool PolicyNamesToSkipHasBeenSet () const
 
void SetPolicyNamesToSkip (const Aws::Vector< Aws::String > &value)
 
void SetPolicyNamesToSkip (Aws::Vector< Aws::String > &&value)
 
TestAuthorizationRequestWithPolicyNamesToSkip (const Aws::Vector< Aws::String > &value)
 
TestAuthorizationRequestWithPolicyNamesToSkip (Aws::Vector< Aws::String > &&value)
 
TestAuthorizationRequestAddPolicyNamesToSkip (const Aws::String &value)
 
TestAuthorizationRequestAddPolicyNamesToSkip (Aws::String &&value)
 
TestAuthorizationRequestAddPolicyNamesToSkip (const char *value)
 
- Public Member Functions inherited from Aws::IoT::IoTRequest
virtual ~IoTRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::IoT::IoTRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 
- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 27 of file TestAuthorizationRequest.h.

Constructor & Destructor Documentation

◆ TestAuthorizationRequest()

Aws::IoT::Model::TestAuthorizationRequest::TestAuthorizationRequest ( )

Member Function Documentation

◆ AddAuthInfos() [1/2]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::AddAuthInfos ( AuthInfo &&  value)
inline

A list of authorization info objects. Simulating authorization will create a response for each authInfo object in the list.

Definition at line 203 of file TestAuthorizationRequest.h.

◆ AddAuthInfos() [2/2]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::AddAuthInfos ( const AuthInfo value)
inline

A list of authorization info objects. Simulating authorization will create a response for each authInfo object in the list.

Definition at line 197 of file TestAuthorizationRequest.h.

◆ AddPolicyNamesToAdd() [1/3]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::AddPolicyNamesToAdd ( Aws::String &&  value)
inline

When testing custom authorization, the policies specified here are treated as if they are attached to the principal being authorized.

Definition at line 293 of file TestAuthorizationRequest.h.

◆ AddPolicyNamesToAdd() [2/3]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::AddPolicyNamesToAdd ( const Aws::String value)
inline

When testing custom authorization, the policies specified here are treated as if they are attached to the principal being authorized.

Definition at line 287 of file TestAuthorizationRequest.h.

◆ AddPolicyNamesToAdd() [3/3]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::AddPolicyNamesToAdd ( const char *  value)
inline

When testing custom authorization, the policies specified here are treated as if they are attached to the principal being authorized.

Definition at line 299 of file TestAuthorizationRequest.h.

◆ AddPolicyNamesToSkip() [1/3]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::AddPolicyNamesToSkip ( Aws::String &&  value)
inline

When testing custom authorization, the policies specified here are treated as if they are not attached to the principal being authorized.

Definition at line 348 of file TestAuthorizationRequest.h.

◆ AddPolicyNamesToSkip() [2/3]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::AddPolicyNamesToSkip ( const Aws::String value)
inline

When testing custom authorization, the policies specified here are treated as if they are not attached to the principal being authorized.

Definition at line 342 of file TestAuthorizationRequest.h.

◆ AddPolicyNamesToSkip() [3/3]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::AddPolicyNamesToSkip ( const char *  value)
inline

When testing custom authorization, the policies specified here are treated as if they are not attached to the principal being authorized.

Definition at line 354 of file TestAuthorizationRequest.h.

◆ AddQueryStringParameters()

void Aws::IoT::Model::TestAuthorizationRequest::AddQueryStringParameters ( Aws::Http::URI uri) const
overridevirtual

Do nothing virtual, override this to add query strings to the request

Reimplemented from Aws::AmazonWebServiceRequest.

◆ AuthInfosHasBeenSet()

bool Aws::IoT::Model::TestAuthorizationRequest::AuthInfosHasBeenSet ( ) const
inline

A list of authorization info objects. Simulating authorization will create a response for each authInfo object in the list.

Definition at line 167 of file TestAuthorizationRequest.h.

◆ ClientIdHasBeenSet()

bool Aws::IoT::Model::TestAuthorizationRequest::ClientIdHasBeenSet ( ) const
inline

The MQTT client ID.

Definition at line 214 of file TestAuthorizationRequest.h.

◆ CognitoIdentityPoolIdHasBeenSet()

bool Aws::IoT::Model::TestAuthorizationRequest::CognitoIdentityPoolIdHasBeenSet ( ) const
inline

The Cognito identity pool ID.

Definition at line 124 of file TestAuthorizationRequest.h.

◆ GetAuthInfos()

const Aws::Vector<AuthInfo>& Aws::IoT::Model::TestAuthorizationRequest::GetAuthInfos ( ) const
inline

A list of authorization info objects. Simulating authorization will create a response for each authInfo object in the list.

Definition at line 161 of file TestAuthorizationRequest.h.

◆ GetClientId()

const Aws::String& Aws::IoT::Model::TestAuthorizationRequest::GetClientId ( ) const
inline

The MQTT client ID.

Definition at line 209 of file TestAuthorizationRequest.h.

◆ GetCognitoIdentityPoolId()

const Aws::String& Aws::IoT::Model::TestAuthorizationRequest::GetCognitoIdentityPoolId ( ) const
inline

The Cognito identity pool ID.

Definition at line 119 of file TestAuthorizationRequest.h.

◆ GetPolicyNamesToAdd()

const Aws::Vector<Aws::String>& Aws::IoT::Model::TestAuthorizationRequest::GetPolicyNamesToAdd ( ) const
inline

When testing custom authorization, the policies specified here are treated as if they are attached to the principal being authorized.

Definition at line 251 of file TestAuthorizationRequest.h.

◆ GetPolicyNamesToSkip()

const Aws::Vector<Aws::String>& Aws::IoT::Model::TestAuthorizationRequest::GetPolicyNamesToSkip ( ) const
inline

When testing custom authorization, the policies specified here are treated as if they are not attached to the principal being authorized.

Definition at line 306 of file TestAuthorizationRequest.h.

◆ GetPrincipal()

const Aws::String& Aws::IoT::Model::TestAuthorizationRequest::GetPrincipal ( ) const
inline

The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).

Definition at line 50 of file TestAuthorizationRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::IoT::Model::TestAuthorizationRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 36 of file TestAuthorizationRequest.h.

◆ PolicyNamesToAddHasBeenSet()

bool Aws::IoT::Model::TestAuthorizationRequest::PolicyNamesToAddHasBeenSet ( ) const
inline

When testing custom authorization, the policies specified here are treated as if they are attached to the principal being authorized.

Definition at line 257 of file TestAuthorizationRequest.h.

◆ PolicyNamesToSkipHasBeenSet()

bool Aws::IoT::Model::TestAuthorizationRequest::PolicyNamesToSkipHasBeenSet ( ) const
inline

When testing custom authorization, the policies specified here are treated as if they are not attached to the principal being authorized.

Definition at line 312 of file TestAuthorizationRequest.h.

◆ PrincipalHasBeenSet()

bool Aws::IoT::Model::TestAuthorizationRequest::PrincipalHasBeenSet ( ) const
inline

The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).

Definition at line 59 of file TestAuthorizationRequest.h.

◆ SerializePayload()

Aws::String Aws::IoT::Model::TestAuthorizationRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAuthInfos() [1/2]

void Aws::IoT::Model::TestAuthorizationRequest::SetAuthInfos ( Aws::Vector< AuthInfo > &&  value)
inline

A list of authorization info objects. Simulating authorization will create a response for each authInfo object in the list.

Definition at line 179 of file TestAuthorizationRequest.h.

◆ SetAuthInfos() [2/2]

void Aws::IoT::Model::TestAuthorizationRequest::SetAuthInfos ( const Aws::Vector< AuthInfo > &  value)
inline

A list of authorization info objects. Simulating authorization will create a response for each authInfo object in the list.

Definition at line 173 of file TestAuthorizationRequest.h.

◆ SetClientId() [1/3]

void Aws::IoT::Model::TestAuthorizationRequest::SetClientId ( Aws::String &&  value)
inline

The MQTT client ID.

Definition at line 224 of file TestAuthorizationRequest.h.

◆ SetClientId() [2/3]

void Aws::IoT::Model::TestAuthorizationRequest::SetClientId ( const Aws::String value)
inline

The MQTT client ID.

Definition at line 219 of file TestAuthorizationRequest.h.

◆ SetClientId() [3/3]

void Aws::IoT::Model::TestAuthorizationRequest::SetClientId ( const char *  value)
inline

The MQTT client ID.

Definition at line 229 of file TestAuthorizationRequest.h.

◆ SetCognitoIdentityPoolId() [1/3]

void Aws::IoT::Model::TestAuthorizationRequest::SetCognitoIdentityPoolId ( Aws::String &&  value)
inline

The Cognito identity pool ID.

Definition at line 134 of file TestAuthorizationRequest.h.

◆ SetCognitoIdentityPoolId() [2/3]

void Aws::IoT::Model::TestAuthorizationRequest::SetCognitoIdentityPoolId ( const Aws::String value)
inline

The Cognito identity pool ID.

Definition at line 129 of file TestAuthorizationRequest.h.

◆ SetCognitoIdentityPoolId() [3/3]

void Aws::IoT::Model::TestAuthorizationRequest::SetCognitoIdentityPoolId ( const char *  value)
inline

The Cognito identity pool ID.

Definition at line 139 of file TestAuthorizationRequest.h.

◆ SetPolicyNamesToAdd() [1/2]

void Aws::IoT::Model::TestAuthorizationRequest::SetPolicyNamesToAdd ( Aws::Vector< Aws::String > &&  value)
inline

When testing custom authorization, the policies specified here are treated as if they are attached to the principal being authorized.

Definition at line 269 of file TestAuthorizationRequest.h.

◆ SetPolicyNamesToAdd() [2/2]

void Aws::IoT::Model::TestAuthorizationRequest::SetPolicyNamesToAdd ( const Aws::Vector< Aws::String > &  value)
inline

When testing custom authorization, the policies specified here are treated as if they are attached to the principal being authorized.

Definition at line 263 of file TestAuthorizationRequest.h.

◆ SetPolicyNamesToSkip() [1/2]

void Aws::IoT::Model::TestAuthorizationRequest::SetPolicyNamesToSkip ( Aws::Vector< Aws::String > &&  value)
inline

When testing custom authorization, the policies specified here are treated as if they are not attached to the principal being authorized.

Definition at line 324 of file TestAuthorizationRequest.h.

◆ SetPolicyNamesToSkip() [2/2]

void Aws::IoT::Model::TestAuthorizationRequest::SetPolicyNamesToSkip ( const Aws::Vector< Aws::String > &  value)
inline

When testing custom authorization, the policies specified here are treated as if they are not attached to the principal being authorized.

Definition at line 318 of file TestAuthorizationRequest.h.

◆ SetPrincipal() [1/3]

void Aws::IoT::Model::TestAuthorizationRequest::SetPrincipal ( Aws::String &&  value)
inline

The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).

Definition at line 77 of file TestAuthorizationRequest.h.

◆ SetPrincipal() [2/3]

void Aws::IoT::Model::TestAuthorizationRequest::SetPrincipal ( const Aws::String value)
inline

The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).

Definition at line 68 of file TestAuthorizationRequest.h.

◆ SetPrincipal() [3/3]

void Aws::IoT::Model::TestAuthorizationRequest::SetPrincipal ( const char *  value)
inline

The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).

Definition at line 86 of file TestAuthorizationRequest.h.

◆ WithAuthInfos() [1/2]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::WithAuthInfos ( Aws::Vector< AuthInfo > &&  value)
inline

A list of authorization info objects. Simulating authorization will create a response for each authInfo object in the list.

Definition at line 191 of file TestAuthorizationRequest.h.

◆ WithAuthInfos() [2/2]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::WithAuthInfos ( const Aws::Vector< AuthInfo > &  value)
inline

A list of authorization info objects. Simulating authorization will create a response for each authInfo object in the list.

Definition at line 185 of file TestAuthorizationRequest.h.

◆ WithClientId() [1/3]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::WithClientId ( Aws::String &&  value)
inline

The MQTT client ID.

Definition at line 239 of file TestAuthorizationRequest.h.

◆ WithClientId() [2/3]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::WithClientId ( const Aws::String value)
inline

The MQTT client ID.

Definition at line 234 of file TestAuthorizationRequest.h.

◆ WithClientId() [3/3]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::WithClientId ( const char *  value)
inline

The MQTT client ID.

Definition at line 244 of file TestAuthorizationRequest.h.

◆ WithCognitoIdentityPoolId() [1/3]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::WithCognitoIdentityPoolId ( Aws::String &&  value)
inline

The Cognito identity pool ID.

Definition at line 149 of file TestAuthorizationRequest.h.

◆ WithCognitoIdentityPoolId() [2/3]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::WithCognitoIdentityPoolId ( const Aws::String value)
inline

The Cognito identity pool ID.

Definition at line 144 of file TestAuthorizationRequest.h.

◆ WithCognitoIdentityPoolId() [3/3]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::WithCognitoIdentityPoolId ( const char *  value)
inline

The Cognito identity pool ID.

Definition at line 154 of file TestAuthorizationRequest.h.

◆ WithPolicyNamesToAdd() [1/2]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::WithPolicyNamesToAdd ( Aws::Vector< Aws::String > &&  value)
inline

When testing custom authorization, the policies specified here are treated as if they are attached to the principal being authorized.

Definition at line 281 of file TestAuthorizationRequest.h.

◆ WithPolicyNamesToAdd() [2/2]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::WithPolicyNamesToAdd ( const Aws::Vector< Aws::String > &  value)
inline

When testing custom authorization, the policies specified here are treated as if they are attached to the principal being authorized.

Definition at line 275 of file TestAuthorizationRequest.h.

◆ WithPolicyNamesToSkip() [1/2]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::WithPolicyNamesToSkip ( Aws::Vector< Aws::String > &&  value)
inline

When testing custom authorization, the policies specified here are treated as if they are not attached to the principal being authorized.

Definition at line 336 of file TestAuthorizationRequest.h.

◆ WithPolicyNamesToSkip() [2/2]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::WithPolicyNamesToSkip ( const Aws::Vector< Aws::String > &  value)
inline

When testing custom authorization, the policies specified here are treated as if they are not attached to the principal being authorized.

Definition at line 330 of file TestAuthorizationRequest.h.

◆ WithPrincipal() [1/3]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::WithPrincipal ( Aws::String &&  value)
inline

The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).

Definition at line 104 of file TestAuthorizationRequest.h.

◆ WithPrincipal() [2/3]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::WithPrincipal ( const Aws::String value)
inline

The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).

Definition at line 95 of file TestAuthorizationRequest.h.

◆ WithPrincipal() [3/3]

TestAuthorizationRequest& Aws::IoT::Model::TestAuthorizationRequest::WithPrincipal ( const char *  value)
inline

The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).

Definition at line 113 of file TestAuthorizationRequest.h.


The documentation for this class was generated from the following file: