AWS SDK for C++  1.8.100
AWS SDK for C++
Public Member Functions | List of all members
Aws::SSM::Model::AddTagsToResourceRequest Class Reference

#include <AddTagsToResourceRequest.h>

+ Inheritance diagram for Aws::SSM::Model::AddTagsToResourceRequest:

Public Member Functions

 AddTagsToResourceRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const ResourceTypeForTaggingGetResourceType () const
 
bool ResourceTypeHasBeenSet () const
 
void SetResourceType (const ResourceTypeForTagging &value)
 
void SetResourceType (ResourceTypeForTagging &&value)
 
AddTagsToResourceRequestWithResourceType (const ResourceTypeForTagging &value)
 
AddTagsToResourceRequestWithResourceType (ResourceTypeForTagging &&value)
 
const Aws::StringGetResourceId () const
 
bool ResourceIdHasBeenSet () const
 
void SetResourceId (const Aws::String &value)
 
void SetResourceId (Aws::String &&value)
 
void SetResourceId (const char *value)
 
AddTagsToResourceRequestWithResourceId (const Aws::String &value)
 
AddTagsToResourceRequestWithResourceId (Aws::String &&value)
 
AddTagsToResourceRequestWithResourceId (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)
 
AddTagsToResourceRequestWithTags (const Aws::Vector< Tag > &value)
 
AddTagsToResourceRequestWithTags (Aws::Vector< Tag > &&value)
 
AddTagsToResourceRequestAddTags (const Tag &value)
 
AddTagsToResourceRequestAddTags (Tag &&value)
 
- Public Member Functions inherited from Aws::SSM::SSMRequest
virtual ~SSMRequest ()
 
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 24 of file AddTagsToResourceRequest.h.

Constructor & Destructor Documentation

◆ AddTagsToResourceRequest()

Aws::SSM::Model::AddTagsToResourceRequest::AddTagsToResourceRequest ( )

Member Function Documentation

◆ AddTags() [1/2]

AddTagsToResourceRequest& Aws::SSM::Model::AddTagsToResourceRequest::AddTags ( const Tag value)
inline

One or more tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string.

Do not enter personally identifiable information in this field.

Definition at line 232 of file AddTagsToResourceRequest.h.

◆ AddTags() [2/2]

AddTagsToResourceRequest& Aws::SSM::Model::AddTagsToResourceRequest::AddTags ( Tag &&  value)
inline

One or more tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string.

Do not enter personally identifiable information in this field.

Definition at line 240 of file AddTagsToResourceRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::SSM::Model::AddTagsToResourceRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::SSM::SSMRequest.

◆ GetResourceId()

const Aws::String& Aws::SSM::Model::AddTagsToResourceRequest::GetResourceId ( ) const
inline

The resource ID you want to tag.

Use the ID of the resource. Here are some examples:

ManagedInstance: mi-012345abcde

MaintenanceWindow: mw-012345abcde

PatchBaseline: pb-012345abcde

For the Document and Parameter values, use the name of the resource.

The ManagedInstance type for this API action is only for on-premises managed instances. You must specify the name of the managed instance in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.

Definition at line 98 of file AddTagsToResourceRequest.h.

◆ GetResourceType()

const ResourceTypeForTagging& Aws::SSM::Model::AddTagsToResourceRequest::GetResourceType ( ) const
inline

Specifies the type of resource you are tagging.

The ManagedInstance type for this API action is for on-premises managed instances. You must specify the name of the managed instance in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.

Definition at line 46 of file AddTagsToResourceRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::SSM::Model::AddTagsToResourceRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 33 of file AddTagsToResourceRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::SSM::Model::AddTagsToResourceRequest::GetTags ( ) const
inline

One or more tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string.

Do not enter personally identifiable information in this field.

Definition at line 184 of file AddTagsToResourceRequest.h.

◆ ResourceIdHasBeenSet()

bool Aws::SSM::Model::AddTagsToResourceRequest::ResourceIdHasBeenSet ( ) const
inline

The resource ID you want to tag.

Use the ID of the resource. Here are some examples:

ManagedInstance: mi-012345abcde

MaintenanceWindow: mw-012345abcde

PatchBaseline: pb-012345abcde

For the Document and Parameter values, use the name of the resource.

The ManagedInstance type for this API action is only for on-premises managed instances. You must specify the name of the managed instance in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.

Definition at line 109 of file AddTagsToResourceRequest.h.

◆ ResourceTypeHasBeenSet()

bool Aws::SSM::Model::AddTagsToResourceRequest::ResourceTypeHasBeenSet ( ) const
inline

Specifies the type of resource you are tagging.

The ManagedInstance type for this API action is for on-premises managed instances. You must specify the name of the managed instance in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.

Definition at line 54 of file AddTagsToResourceRequest.h.

◆ SerializePayload()

Aws::String Aws::SSM::Model::AddTagsToResourceRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetResourceId() [1/3]

void Aws::SSM::Model::AddTagsToResourceRequest::SetResourceId ( const Aws::String value)
inline

The resource ID you want to tag.

Use the ID of the resource. Here are some examples:

ManagedInstance: mi-012345abcde

MaintenanceWindow: mw-012345abcde

PatchBaseline: pb-012345abcde

For the Document and Parameter values, use the name of the resource.

The ManagedInstance type for this API action is only for on-premises managed instances. You must specify the name of the managed instance in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.

Definition at line 120 of file AddTagsToResourceRequest.h.

◆ SetResourceId() [2/3]

void Aws::SSM::Model::AddTagsToResourceRequest::SetResourceId ( Aws::String &&  value)
inline

The resource ID you want to tag.

Use the ID of the resource. Here are some examples:

ManagedInstance: mi-012345abcde

MaintenanceWindow: mw-012345abcde

PatchBaseline: pb-012345abcde

For the Document and Parameter values, use the name of the resource.

The ManagedInstance type for this API action is only for on-premises managed instances. You must specify the name of the managed instance in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.

Definition at line 131 of file AddTagsToResourceRequest.h.

◆ SetResourceId() [3/3]

void Aws::SSM::Model::AddTagsToResourceRequest::SetResourceId ( const char *  value)
inline

The resource ID you want to tag.

Use the ID of the resource. Here are some examples:

ManagedInstance: mi-012345abcde

MaintenanceWindow: mw-012345abcde

PatchBaseline: pb-012345abcde

For the Document and Parameter values, use the name of the resource.

The ManagedInstance type for this API action is only for on-premises managed instances. You must specify the name of the managed instance in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.

Definition at line 142 of file AddTagsToResourceRequest.h.

◆ SetResourceType() [1/2]

void Aws::SSM::Model::AddTagsToResourceRequest::SetResourceType ( const ResourceTypeForTagging value)
inline

Specifies the type of resource you are tagging.

The ManagedInstance type for this API action is for on-premises managed instances. You must specify the name of the managed instance in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.

Definition at line 62 of file AddTagsToResourceRequest.h.

◆ SetResourceType() [2/2]

void Aws::SSM::Model::AddTagsToResourceRequest::SetResourceType ( ResourceTypeForTagging &&  value)
inline

Specifies the type of resource you are tagging.

The ManagedInstance type for this API action is for on-premises managed instances. You must specify the name of the managed instance in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.

Definition at line 70 of file AddTagsToResourceRequest.h.

◆ SetTags() [1/2]

void Aws::SSM::Model::AddTagsToResourceRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

One or more tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string.

Do not enter personally identifiable information in this field.

Definition at line 200 of file AddTagsToResourceRequest.h.

◆ SetTags() [2/2]

void Aws::SSM::Model::AddTagsToResourceRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

One or more tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string.

Do not enter personally identifiable information in this field.

Definition at line 208 of file AddTagsToResourceRequest.h.

◆ TagsHasBeenSet()

bool Aws::SSM::Model::AddTagsToResourceRequest::TagsHasBeenSet ( ) const
inline

One or more tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string.

Do not enter personally identifiable information in this field.

Definition at line 192 of file AddTagsToResourceRequest.h.

◆ WithResourceId() [1/3]

AddTagsToResourceRequest& Aws::SSM::Model::AddTagsToResourceRequest::WithResourceId ( const Aws::String value)
inline

The resource ID you want to tag.

Use the ID of the resource. Here are some examples:

ManagedInstance: mi-012345abcde

MaintenanceWindow: mw-012345abcde

PatchBaseline: pb-012345abcde

For the Document and Parameter values, use the name of the resource.

The ManagedInstance type for this API action is only for on-premises managed instances. You must specify the name of the managed instance in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.

Definition at line 153 of file AddTagsToResourceRequest.h.

◆ WithResourceId() [2/3]

AddTagsToResourceRequest& Aws::SSM::Model::AddTagsToResourceRequest::WithResourceId ( Aws::String &&  value)
inline

The resource ID you want to tag.

Use the ID of the resource. Here are some examples:

ManagedInstance: mi-012345abcde

MaintenanceWindow: mw-012345abcde

PatchBaseline: pb-012345abcde

For the Document and Parameter values, use the name of the resource.

The ManagedInstance type for this API action is only for on-premises managed instances. You must specify the name of the managed instance in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.

Definition at line 164 of file AddTagsToResourceRequest.h.

◆ WithResourceId() [3/3]

AddTagsToResourceRequest& Aws::SSM::Model::AddTagsToResourceRequest::WithResourceId ( const char *  value)
inline

The resource ID you want to tag.

Use the ID of the resource. Here are some examples:

ManagedInstance: mi-012345abcde

MaintenanceWindow: mw-012345abcde

PatchBaseline: pb-012345abcde

For the Document and Parameter values, use the name of the resource.

The ManagedInstance type for this API action is only for on-premises managed instances. You must specify the name of the managed instance in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.

Definition at line 175 of file AddTagsToResourceRequest.h.

◆ WithResourceType() [1/2]

AddTagsToResourceRequest& Aws::SSM::Model::AddTagsToResourceRequest::WithResourceType ( const ResourceTypeForTagging value)
inline

Specifies the type of resource you are tagging.

The ManagedInstance type for this API action is for on-premises managed instances. You must specify the name of the managed instance in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.

Definition at line 78 of file AddTagsToResourceRequest.h.

◆ WithResourceType() [2/2]

AddTagsToResourceRequest& Aws::SSM::Model::AddTagsToResourceRequest::WithResourceType ( ResourceTypeForTagging &&  value)
inline

Specifies the type of resource you are tagging.

The ManagedInstance type for this API action is for on-premises managed instances. You must specify the name of the managed instance in the following format: mi-ID_number. For example, mi-1a2b3c4d5e6f.

Definition at line 86 of file AddTagsToResourceRequest.h.

◆ WithTags() [1/2]

AddTagsToResourceRequest& Aws::SSM::Model::AddTagsToResourceRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

One or more tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string.

Do not enter personally identifiable information in this field.

Definition at line 216 of file AddTagsToResourceRequest.h.

◆ WithTags() [2/2]

AddTagsToResourceRequest& Aws::SSM::Model::AddTagsToResourceRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

One or more tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string.

Do not enter personally identifiable information in this field.

Definition at line 224 of file AddTagsToResourceRequest.h.


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