This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

133 lines
3.9 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace imagebuilder
{
namespace Model
{
/**
* <p>Amazon S3 logging configuration.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/S3Logs">AWS
* API Reference</a></p>
*/
class AWS_IMAGEBUILDER_API S3Logs
{
public:
S3Logs();
S3Logs(Aws::Utils::Json::JsonView jsonValue);
S3Logs& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon S3 bucket in which to store the logs.</p>
*/
inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
/**
* <p>The Amazon S3 bucket in which to store the logs.</p>
*/
inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
/**
* <p>The Amazon S3 bucket in which to store the logs.</p>
*/
inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
/**
* <p>The Amazon S3 bucket in which to store the logs.</p>
*/
inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
/**
* <p>The Amazon S3 bucket in which to store the logs.</p>
*/
inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
/**
* <p>The Amazon S3 bucket in which to store the logs.</p>
*/
inline S3Logs& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
/**
* <p>The Amazon S3 bucket in which to store the logs.</p>
*/
inline S3Logs& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
/**
* <p>The Amazon S3 bucket in which to store the logs.</p>
*/
inline S3Logs& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
/**
* <p>The Amazon S3 path in which to store the logs.</p>
*/
inline const Aws::String& GetS3KeyPrefix() const{ return m_s3KeyPrefix; }
/**
* <p>The Amazon S3 path in which to store the logs.</p>
*/
inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
/**
* <p>The Amazon S3 path in which to store the logs.</p>
*/
inline void SetS3KeyPrefix(const Aws::String& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = value; }
/**
* <p>The Amazon S3 path in which to store the logs.</p>
*/
inline void SetS3KeyPrefix(Aws::String&& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::move(value); }
/**
* <p>The Amazon S3 path in which to store the logs.</p>
*/
inline void SetS3KeyPrefix(const char* value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix.assign(value); }
/**
* <p>The Amazon S3 path in which to store the logs.</p>
*/
inline S3Logs& WithS3KeyPrefix(const Aws::String& value) { SetS3KeyPrefix(value); return *this;}
/**
* <p>The Amazon S3 path in which to store the logs.</p>
*/
inline S3Logs& WithS3KeyPrefix(Aws::String&& value) { SetS3KeyPrefix(std::move(value)); return *this;}
/**
* <p>The Amazon S3 path in which to store the logs.</p>
*/
inline S3Logs& WithS3KeyPrefix(const char* value) { SetS3KeyPrefix(value); return *this;}
private:
Aws::String m_s3BucketName;
bool m_s3BucketNameHasBeenSet;
Aws::String m_s3KeyPrefix;
bool m_s3KeyPrefixHasBeenSet;
};
} // namespace Model
} // namespace imagebuilder
} // namespace Aws