AWS SDK for C++  1.9.108
AWS SDK for C++
Public Member Functions | List of all members
Aws::ECR::Model::SetRepositoryPolicyRequest Class Reference

#include <SetRepositoryPolicyRequest.h>

+ Inheritance diagram for Aws::ECR::Model::SetRepositoryPolicyRequest:

Public Member Functions

 SetRepositoryPolicyRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetRegistryId () const
 
bool RegistryIdHasBeenSet () const
 
void SetRegistryId (const Aws::String &value)
 
void SetRegistryId (Aws::String &&value)
 
void SetRegistryId (const char *value)
 
SetRepositoryPolicyRequestWithRegistryId (const Aws::String &value)
 
SetRepositoryPolicyRequestWithRegistryId (Aws::String &&value)
 
SetRepositoryPolicyRequestWithRegistryId (const char *value)
 
const Aws::StringGetRepositoryName () const
 
bool RepositoryNameHasBeenSet () const
 
void SetRepositoryName (const Aws::String &value)
 
void SetRepositoryName (Aws::String &&value)
 
void SetRepositoryName (const char *value)
 
SetRepositoryPolicyRequestWithRepositoryName (const Aws::String &value)
 
SetRepositoryPolicyRequestWithRepositoryName (Aws::String &&value)
 
SetRepositoryPolicyRequestWithRepositoryName (const char *value)
 
const Aws::StringGetPolicyText () const
 
bool PolicyTextHasBeenSet () const
 
void SetPolicyText (const Aws::String &value)
 
void SetPolicyText (Aws::String &&value)
 
void SetPolicyText (const char *value)
 
SetRepositoryPolicyRequestWithPolicyText (const Aws::String &value)
 
SetRepositoryPolicyRequestWithPolicyText (Aws::String &&value)
 
SetRepositoryPolicyRequestWithPolicyText (const char *value)
 
bool GetForce () const
 
bool ForceHasBeenSet () const
 
void SetForce (bool value)
 
SetRepositoryPolicyRequestWithForce (bool value)
 
- Public Member Functions inherited from Aws::ECR::ECRRequest
virtual ~ECRRequest ()
 
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::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 21 of file SetRepositoryPolicyRequest.h.

Constructor & Destructor Documentation

◆ SetRepositoryPolicyRequest()

Aws::ECR::Model::SetRepositoryPolicyRequest::SetRepositoryPolicyRequest ( )

Member Function Documentation

◆ ForceHasBeenSet()

bool Aws::ECR::Model::SetRepositoryPolicyRequest::ForceHasBeenSet ( ) const
inline

If the policy you are attempting to set on a repository policy would prevent you from setting another policy in the future, you must force the SetRepositoryPolicy operation. This is intended to prevent accidental repository lock outs.

Definition at line 222 of file SetRepositoryPolicyRequest.h.

◆ GetForce()

bool Aws::ECR::Model::SetRepositoryPolicyRequest::GetForce ( ) const
inline

If the policy you are attempting to set on a repository policy would prevent you from setting another policy in the future, you must force the SetRepositoryPolicy operation. This is intended to prevent accidental repository lock outs.

Definition at line 214 of file SetRepositoryPolicyRequest.h.

◆ GetPolicyText()

const Aws::String& Aws::ECR::Model::SetRepositoryPolicyRequest::GetPolicyText ( ) const
inline

The JSON repository policy text to apply to the repository. For more information, see Amazon ECR repository policies in the Amazon Elastic Container Registry User Guide.

Definition at line 142 of file SetRepositoryPolicyRequest.h.

◆ GetRegistryId()

const Aws::String& Aws::ECR::Model::SetRepositoryPolicyRequest::GetRegistryId ( ) const
inline

The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

Definition at line 42 of file SetRepositoryPolicyRequest.h.

◆ GetRepositoryName()

const Aws::String& Aws::ECR::Model::SetRepositoryPolicyRequest::GetRepositoryName ( ) const
inline

The name of the repository to receive the policy.

Definition at line 97 of file SetRepositoryPolicyRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::ECR::Model::SetRepositoryPolicyRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::ECR::ECRRequest.

◆ GetServiceRequestName()

virtual const char* Aws::ECR::Model::SetRepositoryPolicyRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 30 of file SetRepositoryPolicyRequest.h.

◆ PolicyTextHasBeenSet()

bool Aws::ECR::Model::SetRepositoryPolicyRequest::PolicyTextHasBeenSet ( ) const
inline

The JSON repository policy text to apply to the repository. For more information, see Amazon ECR repository policies in the Amazon Elastic Container Registry User Guide.

Definition at line 151 of file SetRepositoryPolicyRequest.h.

◆ RegistryIdHasBeenSet()

bool Aws::ECR::Model::SetRepositoryPolicyRequest::RegistryIdHasBeenSet ( ) const
inline

The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

Definition at line 49 of file SetRepositoryPolicyRequest.h.

◆ RepositoryNameHasBeenSet()

bool Aws::ECR::Model::SetRepositoryPolicyRequest::RepositoryNameHasBeenSet ( ) const
inline

The name of the repository to receive the policy.

Definition at line 102 of file SetRepositoryPolicyRequest.h.

◆ SerializePayload()

Aws::String Aws::ECR::Model::SetRepositoryPolicyRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetForce()

void Aws::ECR::Model::SetRepositoryPolicyRequest::SetForce ( bool  value)
inline

If the policy you are attempting to set on a repository policy would prevent you from setting another policy in the future, you must force the SetRepositoryPolicy operation. This is intended to prevent accidental repository lock outs.

Definition at line 230 of file SetRepositoryPolicyRequest.h.

◆ SetPolicyText() [1/3]

void Aws::ECR::Model::SetRepositoryPolicyRequest::SetPolicyText ( Aws::String &&  value)
inline

The JSON repository policy text to apply to the repository. For more information, see Amazon ECR repository policies in the Amazon Elastic Container Registry User Guide.

Definition at line 169 of file SetRepositoryPolicyRequest.h.

◆ SetPolicyText() [2/3]

void Aws::ECR::Model::SetRepositoryPolicyRequest::SetPolicyText ( const Aws::String value)
inline

The JSON repository policy text to apply to the repository. For more information, see Amazon ECR repository policies in the Amazon Elastic Container Registry User Guide.

Definition at line 160 of file SetRepositoryPolicyRequest.h.

◆ SetPolicyText() [3/3]

void Aws::ECR::Model::SetRepositoryPolicyRequest::SetPolicyText ( const char *  value)
inline

The JSON repository policy text to apply to the repository. For more information, see Amazon ECR repository policies in the Amazon Elastic Container Registry User Guide.

Definition at line 178 of file SetRepositoryPolicyRequest.h.

◆ SetRegistryId() [1/3]

void Aws::ECR::Model::SetRepositoryPolicyRequest::SetRegistryId ( Aws::String &&  value)
inline

The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

Definition at line 63 of file SetRepositoryPolicyRequest.h.

◆ SetRegistryId() [2/3]

void Aws::ECR::Model::SetRepositoryPolicyRequest::SetRegistryId ( const Aws::String value)
inline

The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

Definition at line 56 of file SetRepositoryPolicyRequest.h.

◆ SetRegistryId() [3/3]

void Aws::ECR::Model::SetRepositoryPolicyRequest::SetRegistryId ( const char *  value)
inline

The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

Definition at line 70 of file SetRepositoryPolicyRequest.h.

◆ SetRepositoryName() [1/3]

void Aws::ECR::Model::SetRepositoryPolicyRequest::SetRepositoryName ( Aws::String &&  value)
inline

The name of the repository to receive the policy.

Definition at line 112 of file SetRepositoryPolicyRequest.h.

◆ SetRepositoryName() [2/3]

void Aws::ECR::Model::SetRepositoryPolicyRequest::SetRepositoryName ( const Aws::String value)
inline

The name of the repository to receive the policy.

Definition at line 107 of file SetRepositoryPolicyRequest.h.

◆ SetRepositoryName() [3/3]

void Aws::ECR::Model::SetRepositoryPolicyRequest::SetRepositoryName ( const char *  value)
inline

The name of the repository to receive the policy.

Definition at line 117 of file SetRepositoryPolicyRequest.h.

◆ WithForce()

SetRepositoryPolicyRequest& Aws::ECR::Model::SetRepositoryPolicyRequest::WithForce ( bool  value)
inline

If the policy you are attempting to set on a repository policy would prevent you from setting another policy in the future, you must force the SetRepositoryPolicy operation. This is intended to prevent accidental repository lock outs.

Definition at line 238 of file SetRepositoryPolicyRequest.h.

◆ WithPolicyText() [1/3]

SetRepositoryPolicyRequest& Aws::ECR::Model::SetRepositoryPolicyRequest::WithPolicyText ( Aws::String &&  value)
inline

The JSON repository policy text to apply to the repository. For more information, see Amazon ECR repository policies in the Amazon Elastic Container Registry User Guide.

Definition at line 196 of file SetRepositoryPolicyRequest.h.

◆ WithPolicyText() [2/3]

SetRepositoryPolicyRequest& Aws::ECR::Model::SetRepositoryPolicyRequest::WithPolicyText ( const Aws::String value)
inline

The JSON repository policy text to apply to the repository. For more information, see Amazon ECR repository policies in the Amazon Elastic Container Registry User Guide.

Definition at line 187 of file SetRepositoryPolicyRequest.h.

◆ WithPolicyText() [3/3]

SetRepositoryPolicyRequest& Aws::ECR::Model::SetRepositoryPolicyRequest::WithPolicyText ( const char *  value)
inline

The JSON repository policy text to apply to the repository. For more information, see Amazon ECR repository policies in the Amazon Elastic Container Registry User Guide.

Definition at line 205 of file SetRepositoryPolicyRequest.h.

◆ WithRegistryId() [1/3]

SetRepositoryPolicyRequest& Aws::ECR::Model::SetRepositoryPolicyRequest::WithRegistryId ( Aws::String &&  value)
inline

The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

Definition at line 84 of file SetRepositoryPolicyRequest.h.

◆ WithRegistryId() [2/3]

SetRepositoryPolicyRequest& Aws::ECR::Model::SetRepositoryPolicyRequest::WithRegistryId ( const Aws::String value)
inline

The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

Definition at line 77 of file SetRepositoryPolicyRequest.h.

◆ WithRegistryId() [3/3]

SetRepositoryPolicyRequest& Aws::ECR::Model::SetRepositoryPolicyRequest::WithRegistryId ( const char *  value)
inline

The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

Definition at line 91 of file SetRepositoryPolicyRequest.h.

◆ WithRepositoryName() [1/3]

SetRepositoryPolicyRequest& Aws::ECR::Model::SetRepositoryPolicyRequest::WithRepositoryName ( Aws::String &&  value)
inline

The name of the repository to receive the policy.

Definition at line 127 of file SetRepositoryPolicyRequest.h.

◆ WithRepositoryName() [2/3]

SetRepositoryPolicyRequest& Aws::ECR::Model::SetRepositoryPolicyRequest::WithRepositoryName ( const Aws::String value)
inline

The name of the repository to receive the policy.

Definition at line 122 of file SetRepositoryPolicyRequest.h.

◆ WithRepositoryName() [3/3]

SetRepositoryPolicyRequest& Aws::ECR::Model::SetRepositoryPolicyRequest::WithRepositoryName ( const char *  value)
inline

The name of the repository to receive the policy.

Definition at line 132 of file SetRepositoryPolicyRequest.h.


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