# GetBucketLogging200Response

## Properties

| Name             | Type                  | Description                                                                                                                                                                                                                                                                                                                                                                                                                                             | Notes       |
| ---------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| **TargetBucket** | Pointer to **string** | Specifies the bucket where you want IONOS Object Storage to store server access logs. You can have your logs delivered to any bucket that you own, including the same bucket that is being logged. You can also configure multiple buckets to deliver their logs to the same target bucket. In this case, you should choose a different \<code>TargetPrefix\</code> for each source bucket so that the delivered log files can be distinguished by key. | \[optional] |
| **TargetPrefix** | Pointer to **string** | A prefix for all log object keys. If you store log files from multiple IONOS Object Storage buckets in a single bucket, you can use a prefix to distinguish which log files came from which bucket.                                                                                                                                                                                                                                                     | \[optional] |

## Methods

### NewGetBucketLogging200Response

`func NewGetBucketLogging200Response() *GetBucketLogging200Response`

NewGetBucketLogging200Response instantiates a new GetBucketLogging200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

### NewGetBucketLogging200ResponseWithDefaults

`func NewGetBucketLogging200ResponseWithDefaults() *GetBucketLogging200Response`

NewGetBucketLogging200ResponseWithDefaults instantiates a new GetBucketLogging200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

### GetTargetBucket

`func (o *GetBucketLogging200Response) GetTargetBucket() string`

GetTargetBucket returns the TargetBucket field if non-nil, zero value otherwise.

### GetTargetBucketOk

`func (o *GetBucketLogging200Response) GetTargetBucketOk() (*string, bool)`

GetTargetBucketOk returns a tuple with the TargetBucket field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetTargetBucket

`func (o *GetBucketLogging200Response) SetTargetBucket(v string)`

SetTargetBucket sets TargetBucket field to given value.

### HasTargetBucket

`func (o *GetBucketLogging200Response) HasTargetBucket() bool`

HasTargetBucket returns a boolean if a field has been set.

### GetTargetPrefix

`func (o *GetBucketLogging200Response) GetTargetPrefix() string`

GetTargetPrefix returns the TargetPrefix field if non-nil, zero value otherwise.

### GetTargetPrefixOk

`func (o *GetBucketLogging200Response) GetTargetPrefixOk() (*string, bool)`

GetTargetPrefixOk returns a tuple with the TargetPrefix field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetTargetPrefix

`func (o *GetBucketLogging200Response) SetTargetPrefix(v string)`

SetTargetPrefix sets TargetPrefix field to given value.

### HasTargetPrefix

`func (o *GetBucketLogging200Response) HasTargetPrefix() bool`

HasTargetPrefix returns a boolean if a field has been set.
