AWS SDK for C++  1.9.156
AWS SDK for C++
Public Member Functions | List of all members
Aws::ComputeOptimizer::Model::S3DestinationConfig Class Reference

#include <S3DestinationConfig.h>

Public Member Functions

 S3DestinationConfig ()
 
 S3DestinationConfig (Aws::Utils::Json::JsonView jsonValue)
 
S3DestinationConfigoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetBucket () const
 
bool BucketHasBeenSet () const
 
void SetBucket (const Aws::String &value)
 
void SetBucket (Aws::String &&value)
 
void SetBucket (const char *value)
 
S3DestinationConfigWithBucket (const Aws::String &value)
 
S3DestinationConfigWithBucket (Aws::String &&value)
 
S3DestinationConfigWithBucket (const char *value)
 
const Aws::StringGetKeyPrefix () const
 
bool KeyPrefixHasBeenSet () const
 
void SetKeyPrefix (const Aws::String &value)
 
void SetKeyPrefix (Aws::String &&value)
 
void SetKeyPrefix (const char *value)
 
S3DestinationConfigWithKeyPrefix (const Aws::String &value)
 
S3DestinationConfigWithKeyPrefix (Aws::String &&value)
 
S3DestinationConfigWithKeyPrefix (const char *value)
 

Detailed Description

Describes the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for a recommendations export job.

You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required permission policy to allow Compute Optimizer to write the export file to it. If you plan to specify an object prefix when you create the export job, you must include the object prefix in the policy that you add to the S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute Optimizer in the Compute Optimizer User Guide.

See Also:

AWS API Reference

Definition at line 41 of file S3DestinationConfig.h.

Constructor & Destructor Documentation

◆ S3DestinationConfig() [1/2]

Aws::ComputeOptimizer::Model::S3DestinationConfig::S3DestinationConfig ( )

◆ S3DestinationConfig() [2/2]

Aws::ComputeOptimizer::Model::S3DestinationConfig::S3DestinationConfig ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ BucketHasBeenSet()

bool Aws::ComputeOptimizer::Model::S3DestinationConfig::BucketHasBeenSet ( ) const
inline

The name of the Amazon S3 bucket to use as the destination for an export job.

Definition at line 60 of file S3DestinationConfig.h.

◆ GetBucket()

const Aws::String& Aws::ComputeOptimizer::Model::S3DestinationConfig::GetBucket ( ) const
inline

The name of the Amazon S3 bucket to use as the destination for an export job.

Definition at line 54 of file S3DestinationConfig.h.

◆ GetKeyPrefix()

const Aws::String& Aws::ComputeOptimizer::Model::S3DestinationConfig::GetKeyPrefix ( ) const
inline

The Amazon S3 bucket prefix for an export job.

Definition at line 102 of file S3DestinationConfig.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::ComputeOptimizer::Model::S3DestinationConfig::Jsonize ( ) const

◆ KeyPrefixHasBeenSet()

bool Aws::ComputeOptimizer::Model::S3DestinationConfig::KeyPrefixHasBeenSet ( ) const
inline

The Amazon S3 bucket prefix for an export job.

Definition at line 107 of file S3DestinationConfig.h.

◆ operator=()

S3DestinationConfig& Aws::ComputeOptimizer::Model::S3DestinationConfig::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetBucket() [1/3]

void Aws::ComputeOptimizer::Model::S3DestinationConfig::SetBucket ( Aws::String &&  value)
inline

The name of the Amazon S3 bucket to use as the destination for an export job.

Definition at line 72 of file S3DestinationConfig.h.

◆ SetBucket() [2/3]

void Aws::ComputeOptimizer::Model::S3DestinationConfig::SetBucket ( const Aws::String value)
inline

The name of the Amazon S3 bucket to use as the destination for an export job.

Definition at line 66 of file S3DestinationConfig.h.

◆ SetBucket() [3/3]

void Aws::ComputeOptimizer::Model::S3DestinationConfig::SetBucket ( const char *  value)
inline

The name of the Amazon S3 bucket to use as the destination for an export job.

Definition at line 78 of file S3DestinationConfig.h.

◆ SetKeyPrefix() [1/3]

void Aws::ComputeOptimizer::Model::S3DestinationConfig::SetKeyPrefix ( Aws::String &&  value)
inline

The Amazon S3 bucket prefix for an export job.

Definition at line 117 of file S3DestinationConfig.h.

◆ SetKeyPrefix() [2/3]

void Aws::ComputeOptimizer::Model::S3DestinationConfig::SetKeyPrefix ( const Aws::String value)
inline

The Amazon S3 bucket prefix for an export job.

Definition at line 112 of file S3DestinationConfig.h.

◆ SetKeyPrefix() [3/3]

void Aws::ComputeOptimizer::Model::S3DestinationConfig::SetKeyPrefix ( const char *  value)
inline

The Amazon S3 bucket prefix for an export job.

Definition at line 122 of file S3DestinationConfig.h.

◆ WithBucket() [1/3]

S3DestinationConfig& Aws::ComputeOptimizer::Model::S3DestinationConfig::WithBucket ( Aws::String &&  value)
inline

The name of the Amazon S3 bucket to use as the destination for an export job.

Definition at line 90 of file S3DestinationConfig.h.

◆ WithBucket() [2/3]

S3DestinationConfig& Aws::ComputeOptimizer::Model::S3DestinationConfig::WithBucket ( const Aws::String value)
inline

The name of the Amazon S3 bucket to use as the destination for an export job.

Definition at line 84 of file S3DestinationConfig.h.

◆ WithBucket() [3/3]

S3DestinationConfig& Aws::ComputeOptimizer::Model::S3DestinationConfig::WithBucket ( const char *  value)
inline

The name of the Amazon S3 bucket to use as the destination for an export job.

Definition at line 96 of file S3DestinationConfig.h.

◆ WithKeyPrefix() [1/3]

S3DestinationConfig& Aws::ComputeOptimizer::Model::S3DestinationConfig::WithKeyPrefix ( Aws::String &&  value)
inline

The Amazon S3 bucket prefix for an export job.

Definition at line 132 of file S3DestinationConfig.h.

◆ WithKeyPrefix() [2/3]

S3DestinationConfig& Aws::ComputeOptimizer::Model::S3DestinationConfig::WithKeyPrefix ( const Aws::String value)
inline

The Amazon S3 bucket prefix for an export job.

Definition at line 127 of file S3DestinationConfig.h.

◆ WithKeyPrefix() [3/3]

S3DestinationConfig& Aws::ComputeOptimizer::Model::S3DestinationConfig::WithKeyPrefix ( const char *  value)
inline

The Amazon S3 bucket prefix for an export job.

Definition at line 137 of file S3DestinationConfig.h.


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