/**
* 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 signer
{
namespace Model
{
/**
* Points to an S3Destination
object that contains information
* about your S3 bucket.
See Also:
AWS
* API Reference
*/
class Destination
{
public:
AWS_SIGNER_API Destination();
AWS_SIGNER_API Destination(Aws::Utils::Json::JsonView jsonValue);
AWS_SIGNER_API Destination& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The S3Destination
object.
*/
inline const S3Destination& GetS3() const{ return m_s3; }
/**
* The S3Destination
object.
*/
inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
/**
* The S3Destination
object.
*/
inline void SetS3(const S3Destination& value) { m_s3HasBeenSet = true; m_s3 = value; }
/**
* The S3Destination
object.
*/
inline void SetS3(S3Destination&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); }
/**
* The S3Destination
object.
*/
inline Destination& WithS3(const S3Destination& value) { SetS3(value); return *this;}
/**
* The S3Destination
object.
*/
inline Destination& WithS3(S3Destination&& value) { SetS3(std::move(value)); return *this;}
private:
S3Destination m_s3;
bool m_s3HasBeenSet = false;
};
} // namespace Model
} // namespace signer
} // namespace Aws