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

#include <CreatePolicyRequest.h>

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

Public Member Functions

 CreatePolicyRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetPolicyName () const
 
bool PolicyNameHasBeenSet () const
 
void SetPolicyName (const Aws::String &value)
 
void SetPolicyName (Aws::String &&value)
 
void SetPolicyName (const char *value)
 
CreatePolicyRequestWithPolicyName (const Aws::String &value)
 
CreatePolicyRequestWithPolicyName (Aws::String &&value)
 
CreatePolicyRequestWithPolicyName (const char *value)
 
const Aws::StringGetPolicyDocument () const
 
bool PolicyDocumentHasBeenSet () const
 
void SetPolicyDocument (const Aws::String &value)
 
void SetPolicyDocument (Aws::String &&value)
 
void SetPolicyDocument (const char *value)
 
CreatePolicyRequestWithPolicyDocument (const Aws::String &value)
 
CreatePolicyRequestWithPolicyDocument (Aws::String &&value)
 
CreatePolicyRequestWithPolicyDocument (const char *value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreatePolicyRequestWithTags (const Aws::Vector< Tag > &value)
 
CreatePolicyRequestWithTags (Aws::Vector< Tag > &&value)
 
CreatePolicyRequestAddTags (const Tag &value)
 
CreatePolicyRequestAddTags (Tag &&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 AddQueryStringParameters (Aws::Http::URI &uri) const
 
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

The input for the CreatePolicy operation.

See Also:

AWS API Reference

Definition at line 26 of file CreatePolicyRequest.h.

Constructor & Destructor Documentation

◆ CreatePolicyRequest()

Aws::IoT::Model::CreatePolicyRequest::CreatePolicyRequest ( )

Member Function Documentation

◆ AddTags() [1/2]

CreatePolicyRequest& Aws::IoT::Model::CreatePolicyRequest::AddTags ( const Tag value)
inline

Metadata which can be used to manage the policy.

For URI Request parameters use format: ...key1=value1&key2=value2...

For the CLI command-line parameter use format: &&tags "key1=value1&amp;key2=value2..."

For the cli-input-json file use format: "tags": "key1=value1&amp;key2=value2..."

Definition at line 191 of file CreatePolicyRequest.h.

◆ AddTags() [2/2]

CreatePolicyRequest& Aws::IoT::Model::CreatePolicyRequest::AddTags ( Tag &&  value)
inline

Metadata which can be used to manage the policy.

For URI Request parameters use format: ...key1=value1&key2=value2...

For the CLI command-line parameter use format: &&tags "key1=value1&amp;key2=value2..."

For the cli-input-json file use format: "tags": "key1=value1&amp;key2=value2..."

Definition at line 200 of file CreatePolicyRequest.h.

◆ GetPolicyDocument()

const Aws::String& Aws::IoT::Model::CreatePolicyRequest::GetPolicyDocument ( ) const
inline

The JSON document that describes the policy. policyDocument must have a minimum length of 1, with a maximum length of 2048, excluding whitespace.

Definition at line 85 of file CreatePolicyRequest.h.

◆ GetPolicyName()

const Aws::String& Aws::IoT::Model::CreatePolicyRequest::GetPolicyName ( ) const
inline

The policy name.

Definition at line 43 of file CreatePolicyRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 35 of file CreatePolicyRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::IoT::Model::CreatePolicyRequest::GetTags ( ) const
inline

Metadata which can be used to manage the policy.

For URI Request parameters use format: ...key1=value1&key2=value2...

For the CLI command-line parameter use format: &&tags "key1=value1&amp;key2=value2..."

For the cli-input-json file use format: "tags": "key1=value1&amp;key2=value2..."

Definition at line 137 of file CreatePolicyRequest.h.

◆ PolicyDocumentHasBeenSet()

bool Aws::IoT::Model::CreatePolicyRequest::PolicyDocumentHasBeenSet ( ) const
inline

The JSON document that describes the policy. policyDocument must have a minimum length of 1, with a maximum length of 2048, excluding whitespace.

Definition at line 91 of file CreatePolicyRequest.h.

◆ PolicyNameHasBeenSet()

bool Aws::IoT::Model::CreatePolicyRequest::PolicyNameHasBeenSet ( ) const
inline

The policy name.

Definition at line 48 of file CreatePolicyRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetPolicyDocument() [1/3]

void Aws::IoT::Model::CreatePolicyRequest::SetPolicyDocument ( Aws::String &&  value)
inline

The JSON document that describes the policy. policyDocument must have a minimum length of 1, with a maximum length of 2048, excluding whitespace.

Definition at line 103 of file CreatePolicyRequest.h.

◆ SetPolicyDocument() [2/3]

void Aws::IoT::Model::CreatePolicyRequest::SetPolicyDocument ( const Aws::String value)
inline

The JSON document that describes the policy. policyDocument must have a minimum length of 1, with a maximum length of 2048, excluding whitespace.

Definition at line 97 of file CreatePolicyRequest.h.

◆ SetPolicyDocument() [3/3]

void Aws::IoT::Model::CreatePolicyRequest::SetPolicyDocument ( const char *  value)
inline

The JSON document that describes the policy. policyDocument must have a minimum length of 1, with a maximum length of 2048, excluding whitespace.

Definition at line 109 of file CreatePolicyRequest.h.

◆ SetPolicyName() [1/3]

void Aws::IoT::Model::CreatePolicyRequest::SetPolicyName ( Aws::String &&  value)
inline

The policy name.

Definition at line 58 of file CreatePolicyRequest.h.

◆ SetPolicyName() [2/3]

void Aws::IoT::Model::CreatePolicyRequest::SetPolicyName ( const Aws::String value)
inline

The policy name.

Definition at line 53 of file CreatePolicyRequest.h.

◆ SetPolicyName() [3/3]

void Aws::IoT::Model::CreatePolicyRequest::SetPolicyName ( const char *  value)
inline

The policy name.

Definition at line 63 of file CreatePolicyRequest.h.

◆ SetTags() [1/2]

void Aws::IoT::Model::CreatePolicyRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

Metadata which can be used to manage the policy.

For URI Request parameters use format: ...key1=value1&key2=value2...

For the CLI command-line parameter use format: &&tags "key1=value1&amp;key2=value2..."

For the cli-input-json file use format: "tags": "key1=value1&amp;key2=value2..."

Definition at line 164 of file CreatePolicyRequest.h.

◆ SetTags() [2/2]

void Aws::IoT::Model::CreatePolicyRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

Metadata which can be used to manage the policy.

For URI Request parameters use format: ...key1=value1&key2=value2...

For the CLI command-line parameter use format: &&tags "key1=value1&amp;key2=value2..."

For the cli-input-json file use format: "tags": "key1=value1&amp;key2=value2..."

Definition at line 155 of file CreatePolicyRequest.h.

◆ TagsHasBeenSet()

bool Aws::IoT::Model::CreatePolicyRequest::TagsHasBeenSet ( ) const
inline

Metadata which can be used to manage the policy.

For URI Request parameters use format: ...key1=value1&key2=value2...

For the CLI command-line parameter use format: &&tags "key1=value1&amp;key2=value2..."

For the cli-input-json file use format: "tags": "key1=value1&amp;key2=value2..."

Definition at line 146 of file CreatePolicyRequest.h.

◆ WithPolicyDocument() [1/3]

CreatePolicyRequest& Aws::IoT::Model::CreatePolicyRequest::WithPolicyDocument ( Aws::String &&  value)
inline

The JSON document that describes the policy. policyDocument must have a minimum length of 1, with a maximum length of 2048, excluding whitespace.

Definition at line 121 of file CreatePolicyRequest.h.

◆ WithPolicyDocument() [2/3]

CreatePolicyRequest& Aws::IoT::Model::CreatePolicyRequest::WithPolicyDocument ( const Aws::String value)
inline

The JSON document that describes the policy. policyDocument must have a minimum length of 1, with a maximum length of 2048, excluding whitespace.

Definition at line 115 of file CreatePolicyRequest.h.

◆ WithPolicyDocument() [3/3]

CreatePolicyRequest& Aws::IoT::Model::CreatePolicyRequest::WithPolicyDocument ( const char *  value)
inline

The JSON document that describes the policy. policyDocument must have a minimum length of 1, with a maximum length of 2048, excluding whitespace.

Definition at line 127 of file CreatePolicyRequest.h.

◆ WithPolicyName() [1/3]

CreatePolicyRequest& Aws::IoT::Model::CreatePolicyRequest::WithPolicyName ( Aws::String &&  value)
inline

The policy name.

Definition at line 73 of file CreatePolicyRequest.h.

◆ WithPolicyName() [2/3]

CreatePolicyRequest& Aws::IoT::Model::CreatePolicyRequest::WithPolicyName ( const Aws::String value)
inline

The policy name.

Definition at line 68 of file CreatePolicyRequest.h.

◆ WithPolicyName() [3/3]

CreatePolicyRequest& Aws::IoT::Model::CreatePolicyRequest::WithPolicyName ( const char *  value)
inline

The policy name.

Definition at line 78 of file CreatePolicyRequest.h.

◆ WithTags() [1/2]

CreatePolicyRequest& Aws::IoT::Model::CreatePolicyRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

Metadata which can be used to manage the policy.

For URI Request parameters use format: ...key1=value1&key2=value2...

For the CLI command-line parameter use format: &&tags "key1=value1&amp;key2=value2..."

For the cli-input-json file use format: "tags": "key1=value1&amp;key2=value2..."

Definition at line 182 of file CreatePolicyRequest.h.

◆ WithTags() [2/2]

CreatePolicyRequest& Aws::IoT::Model::CreatePolicyRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

Metadata which can be used to manage the policy.

For URI Request parameters use format: ...key1=value1&key2=value2...

For the CLI command-line parameter use format: &&tags "key1=value1&amp;key2=value2..."

For the cli-input-json file use format: "tags": "key1=value1&amp;key2=value2..."

Definition at line 173 of file CreatePolicyRequest.h.


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