/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an Amazon Simple Storage Service (Amazon S3) bucket to
* write managed node-level logs to. LoggingInfo
has
* been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket
* to contain logs, instead use the OutputS3BucketName
and
* OutputS3KeyPrefix
options in the
* TaskInvocationParameters
structure. For information about how
* Amazon Web Services Systems Manager handles these options for the supported
* maintenance window task types, see
* MaintenanceWindowTaskInvocationParameters.See
* Also:
AWS API
* Reference
The name of an S3 bucket where execution logs are stored.
*/ inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; } /** *The name of an S3 bucket where execution logs are stored.
*/ inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; } /** *The name of an S3 bucket where execution logs are stored.
*/ inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; } /** *The name of an S3 bucket where execution logs are stored.
*/ inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); } /** *The name of an S3 bucket where execution logs are stored.
*/ inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); } /** *The name of an S3 bucket where execution logs are stored.
*/ inline LoggingInfo& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;} /** *The name of an S3 bucket where execution logs are stored.
*/ inline LoggingInfo& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;} /** *The name of an S3 bucket where execution logs are stored.
*/ inline LoggingInfo& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;} /** *(Optional) The S3 bucket subfolder.
*/ inline const Aws::String& GetS3KeyPrefix() const{ return m_s3KeyPrefix; } /** *(Optional) The S3 bucket subfolder.
*/ inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; } /** *(Optional) The S3 bucket subfolder.
*/ inline void SetS3KeyPrefix(const Aws::String& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = value; } /** *(Optional) The S3 bucket subfolder.
*/ inline void SetS3KeyPrefix(Aws::String&& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::move(value); } /** *(Optional) The S3 bucket subfolder.
*/ inline void SetS3KeyPrefix(const char* value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix.assign(value); } /** *(Optional) The S3 bucket subfolder.
*/ inline LoggingInfo& WithS3KeyPrefix(const Aws::String& value) { SetS3KeyPrefix(value); return *this;} /** *(Optional) The S3 bucket subfolder.
*/ inline LoggingInfo& WithS3KeyPrefix(Aws::String&& value) { SetS3KeyPrefix(std::move(value)); return *this;} /** *(Optional) The S3 bucket subfolder.
*/ inline LoggingInfo& WithS3KeyPrefix(const char* value) { SetS3KeyPrefix(value); return *this;} /** *The Amazon Web Services Region where the S3 bucket is located.
*/ inline const Aws::String& GetS3Region() const{ return m_s3Region; } /** *The Amazon Web Services Region where the S3 bucket is located.
*/ inline bool S3RegionHasBeenSet() const { return m_s3RegionHasBeenSet; } /** *The Amazon Web Services Region where the S3 bucket is located.
*/ inline void SetS3Region(const Aws::String& value) { m_s3RegionHasBeenSet = true; m_s3Region = value; } /** *The Amazon Web Services Region where the S3 bucket is located.
*/ inline void SetS3Region(Aws::String&& value) { m_s3RegionHasBeenSet = true; m_s3Region = std::move(value); } /** *The Amazon Web Services Region where the S3 bucket is located.
*/ inline void SetS3Region(const char* value) { m_s3RegionHasBeenSet = true; m_s3Region.assign(value); } /** *The Amazon Web Services Region where the S3 bucket is located.
*/ inline LoggingInfo& WithS3Region(const Aws::String& value) { SetS3Region(value); return *this;} /** *The Amazon Web Services Region where the S3 bucket is located.
*/ inline LoggingInfo& WithS3Region(Aws::String&& value) { SetS3Region(std::move(value)); return *this;} /** *The Amazon Web Services Region where the S3 bucket is located.
*/ inline LoggingInfo& WithS3Region(const char* value) { SetS3Region(value); return *this;} private: Aws::String m_s3BucketName; bool m_s3BucketNameHasBeenSet = false; Aws::String m_s3KeyPrefix; bool m_s3KeyPrefixHasBeenSet = false; Aws::String m_s3Region; bool m_s3RegionHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws