/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace TimestreamWrite
{
namespace Model
{
/**
* See Also:
AWS
* API Reference
*/
class DataModelS3Configuration
{
public:
AWS_TIMESTREAMWRITE_API DataModelS3Configuration();
AWS_TIMESTREAMWRITE_API DataModelS3Configuration(Aws::Utils::Json::JsonView jsonValue);
AWS_TIMESTREAMWRITE_API DataModelS3Configuration& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
*
*/
inline const Aws::String& GetBucketName() const{ return m_bucketName; }
/**
*
*/
inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
/**
*
*/
inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
/**
*
*/
inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
/**
*
*/
inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
/**
*
*/
inline DataModelS3Configuration& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
/**
*
*/
inline DataModelS3Configuration& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
/**
*
*/
inline DataModelS3Configuration& WithBucketName(const char* value) { SetBucketName(value); return *this;}
/**
*
*/
inline const Aws::String& GetObjectKey() const{ return m_objectKey; }
/**
*
*/
inline bool ObjectKeyHasBeenSet() const { return m_objectKeyHasBeenSet; }
/**
*
*/
inline void SetObjectKey(const Aws::String& value) { m_objectKeyHasBeenSet = true; m_objectKey = value; }
/**
*
*/
inline void SetObjectKey(Aws::String&& value) { m_objectKeyHasBeenSet = true; m_objectKey = std::move(value); }
/**
*
*/
inline void SetObjectKey(const char* value) { m_objectKeyHasBeenSet = true; m_objectKey.assign(value); }
/**
*
*/
inline DataModelS3Configuration& WithObjectKey(const Aws::String& value) { SetObjectKey(value); return *this;}
/**
*
*/
inline DataModelS3Configuration& WithObjectKey(Aws::String&& value) { SetObjectKey(std::move(value)); return *this;}
/**
*
*/
inline DataModelS3Configuration& WithObjectKey(const char* value) { SetObjectKey(value); return *this;}
private:
Aws::String m_bucketName;
bool m_bucketNameHasBeenSet = false;
Aws::String m_objectKey;
bool m_objectKeyHasBeenSet = false;
};
} // namespace Model
} // namespace TimestreamWrite
} // namespace Aws