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

#include <LaunchTemplateInstanceMetadataOptionsRequest.h>

Public Member Functions

 LaunchTemplateInstanceMetadataOptionsRequest ()
 
 LaunchTemplateInstanceMetadataOptionsRequest (const Aws::Utils::Xml::XmlNode &xmlNode)
 
LaunchTemplateInstanceMetadataOptionsRequestoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
const LaunchTemplateHttpTokensStateGetHttpTokens () const
 
bool HttpTokensHasBeenSet () const
 
void SetHttpTokens (const LaunchTemplateHttpTokensState &value)
 
void SetHttpTokens (LaunchTemplateHttpTokensState &&value)
 
LaunchTemplateInstanceMetadataOptionsRequestWithHttpTokens (const LaunchTemplateHttpTokensState &value)
 
LaunchTemplateInstanceMetadataOptionsRequestWithHttpTokens (LaunchTemplateHttpTokensState &&value)
 
int GetHttpPutResponseHopLimit () const
 
bool HttpPutResponseHopLimitHasBeenSet () const
 
void SetHttpPutResponseHopLimit (int value)
 
LaunchTemplateInstanceMetadataOptionsRequestWithHttpPutResponseHopLimit (int value)
 
const LaunchTemplateInstanceMetadataEndpointStateGetHttpEndpoint () const
 
bool HttpEndpointHasBeenSet () const
 
void SetHttpEndpoint (const LaunchTemplateInstanceMetadataEndpointState &value)
 
void SetHttpEndpoint (LaunchTemplateInstanceMetadataEndpointState &&value)
 
LaunchTemplateInstanceMetadataOptionsRequestWithHttpEndpoint (const LaunchTemplateInstanceMetadataEndpointState &value)
 
LaunchTemplateInstanceMetadataOptionsRequestWithHttpEndpoint (LaunchTemplateInstanceMetadataEndpointState &&value)
 
const LaunchTemplateInstanceMetadataProtocolIpv6GetHttpProtocolIpv6 () const
 
bool HttpProtocolIpv6HasBeenSet () const
 
void SetHttpProtocolIpv6 (const LaunchTemplateInstanceMetadataProtocolIpv6 &value)
 
void SetHttpProtocolIpv6 (LaunchTemplateInstanceMetadataProtocolIpv6 &&value)
 
LaunchTemplateInstanceMetadataOptionsRequestWithHttpProtocolIpv6 (const LaunchTemplateInstanceMetadataProtocolIpv6 &value)
 
LaunchTemplateInstanceMetadataOptionsRequestWithHttpProtocolIpv6 (LaunchTemplateInstanceMetadataProtocolIpv6 &&value)
 

Detailed Description

The metadata options for the instance. For more information, see Instance Metadata and User Data in the Amazon Elastic Compute Cloud User Guide.

See Also:

AWS API Reference

Definition at line 36 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

Constructor & Destructor Documentation

◆ LaunchTemplateInstanceMetadataOptionsRequest() [1/2]

Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::LaunchTemplateInstanceMetadataOptionsRequest ( )

◆ LaunchTemplateInstanceMetadataOptionsRequest() [2/2]

Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::LaunchTemplateInstanceMetadataOptionsRequest ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ GetHttpEndpoint()

const LaunchTemplateInstanceMetadataEndpointState& Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::GetHttpEndpoint ( ) const
inline

This parameter enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled.

If you specify a value of disabled, you will not be able to access your instance metadata.

Definition at line 174 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

◆ GetHttpProtocolIpv6()

const LaunchTemplateInstanceMetadataProtocolIpv6& Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::GetHttpProtocolIpv6 ( ) const
inline

Enables or disables the IPv6 endpoint for the instance metadata service.

Default: disabled

Definition at line 226 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

◆ GetHttpPutResponseHopLimit()

int Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::GetHttpPutResponseHopLimit ( ) const
inline

The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.

Default: 1

Possible values: Integers from 1 to 64

Definition at line 143 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

◆ GetHttpTokens()

const LaunchTemplateHttpTokensState& Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::GetHttpTokens ( ) const
inline

The state of token usage for your instance metadata requests. If the parameter is not specified in the request, the default state is optional.

If the state is optional, you can choose to retrieve instance metadata with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials using a valid signed token, the version 2.0 role credentials are returned.

If the state is required, you must send a signed token header with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns the version 2.0 credentials; the version 1.0 credentials are not available.

Definition at line 60 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

◆ HttpEndpointHasBeenSet()

bool Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::HttpEndpointHasBeenSet ( ) const
inline

This parameter enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled.

If you specify a value of disabled, you will not be able to access your instance metadata.

Definition at line 183 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

◆ HttpProtocolIpv6HasBeenSet()

bool Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::HttpProtocolIpv6HasBeenSet ( ) const
inline

Enables or disables the IPv6 endpoint for the instance metadata service.

Default: disabled

Definition at line 232 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

◆ HttpPutResponseHopLimitHasBeenSet()

bool Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::HttpPutResponseHopLimitHasBeenSet ( ) const
inline

The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.

Default: 1

Possible values: Integers from 1 to 64

Definition at line 150 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

◆ HttpTokensHasBeenSet()

bool Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::HttpTokensHasBeenSet ( ) const
inline

The state of token usage for your instance metadata requests. If the parameter is not specified in the request, the default state is optional.

If the state is optional, you can choose to retrieve instance metadata with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials using a valid signed token, the version 2.0 role credentials are returned.

If the state is required, you must send a signed token header with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns the version 2.0 credentials; the version 1.0 credentials are not available.

Definition at line 75 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

◆ operator=()

LaunchTemplateInstanceMetadataOptionsRequest& Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

void Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ SetHttpEndpoint() [1/2]

void Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::SetHttpEndpoint ( const LaunchTemplateInstanceMetadataEndpointState value)
inline

This parameter enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled.

If you specify a value of disabled, you will not be able to access your instance metadata.

Definition at line 192 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

◆ SetHttpEndpoint() [2/2]

void Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::SetHttpEndpoint ( LaunchTemplateInstanceMetadataEndpointState &&  value)
inline

This parameter enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled.

If you specify a value of disabled, you will not be able to access your instance metadata.

Definition at line 201 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

◆ SetHttpProtocolIpv6() [1/2]

void Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::SetHttpProtocolIpv6 ( const LaunchTemplateInstanceMetadataProtocolIpv6 value)
inline

Enables or disables the IPv6 endpoint for the instance metadata service.

Default: disabled

Definition at line 238 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

◆ SetHttpProtocolIpv6() [2/2]

void Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::SetHttpProtocolIpv6 ( LaunchTemplateInstanceMetadataProtocolIpv6 &&  value)
inline

Enables or disables the IPv6 endpoint for the instance metadata service.

Default: disabled

Definition at line 244 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

◆ SetHttpPutResponseHopLimit()

void Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::SetHttpPutResponseHopLimit ( int  value)
inline

The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.

Default: 1

Possible values: Integers from 1 to 64

Definition at line 157 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

◆ SetHttpTokens() [1/2]

void Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::SetHttpTokens ( const LaunchTemplateHttpTokensState value)
inline

The state of token usage for your instance metadata requests. If the parameter is not specified in the request, the default state is optional.

If the state is optional, you can choose to retrieve instance metadata with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials using a valid signed token, the version 2.0 role credentials are returned.

If the state is required, you must send a signed token header with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns the version 2.0 credentials; the version 1.0 credentials are not available.

Definition at line 90 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

◆ SetHttpTokens() [2/2]

void Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::SetHttpTokens ( LaunchTemplateHttpTokensState &&  value)
inline

The state of token usage for your instance metadata requests. If the parameter is not specified in the request, the default state is optional.

If the state is optional, you can choose to retrieve instance metadata with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials using a valid signed token, the version 2.0 role credentials are returned.

If the state is required, you must send a signed token header with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns the version 2.0 credentials; the version 1.0 credentials are not available.

Definition at line 105 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

◆ WithHttpEndpoint() [1/2]

LaunchTemplateInstanceMetadataOptionsRequest& Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::WithHttpEndpoint ( const LaunchTemplateInstanceMetadataEndpointState value)
inline

This parameter enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled.

If you specify a value of disabled, you will not be able to access your instance metadata.

Definition at line 210 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

◆ WithHttpEndpoint() [2/2]

LaunchTemplateInstanceMetadataOptionsRequest& Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::WithHttpEndpoint ( LaunchTemplateInstanceMetadataEndpointState &&  value)
inline

This parameter enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled.

If you specify a value of disabled, you will not be able to access your instance metadata.

Definition at line 219 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

◆ WithHttpProtocolIpv6() [1/2]

LaunchTemplateInstanceMetadataOptionsRequest& Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::WithHttpProtocolIpv6 ( const LaunchTemplateInstanceMetadataProtocolIpv6 value)
inline

Enables or disables the IPv6 endpoint for the instance metadata service.

Default: disabled

Definition at line 250 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

◆ WithHttpProtocolIpv6() [2/2]

LaunchTemplateInstanceMetadataOptionsRequest& Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::WithHttpProtocolIpv6 ( LaunchTemplateInstanceMetadataProtocolIpv6 &&  value)
inline

Enables or disables the IPv6 endpoint for the instance metadata service.

Default: disabled

Definition at line 256 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

◆ WithHttpPutResponseHopLimit()

LaunchTemplateInstanceMetadataOptionsRequest& Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::WithHttpPutResponseHopLimit ( int  value)
inline

The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.

Default: 1

Possible values: Integers from 1 to 64

Definition at line 164 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

◆ WithHttpTokens() [1/2]

LaunchTemplateInstanceMetadataOptionsRequest& Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::WithHttpTokens ( const LaunchTemplateHttpTokensState value)
inline

The state of token usage for your instance metadata requests. If the parameter is not specified in the request, the default state is optional.

If the state is optional, you can choose to retrieve instance metadata with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials using a valid signed token, the version 2.0 role credentials are returned.

If the state is required, you must send a signed token header with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns the version 2.0 credentials; the version 1.0 credentials are not available.

Definition at line 120 of file LaunchTemplateInstanceMetadataOptionsRequest.h.

◆ WithHttpTokens() [2/2]

LaunchTemplateInstanceMetadataOptionsRequest& Aws::EC2::Model::LaunchTemplateInstanceMetadataOptionsRequest::WithHttpTokens ( LaunchTemplateHttpTokensState &&  value)
inline

The state of token usage for your instance metadata requests. If the parameter is not specified in the request, the default state is optional.

If the state is optional, you can choose to retrieve instance metadata with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials using a valid signed token, the version 2.0 role credentials are returned.

If the state is required, you must send a signed token header with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns the version 2.0 credentials; the version 1.0 credentials are not available.

Definition at line 135 of file LaunchTemplateInstanceMetadataOptionsRequest.h.


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