7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
19namespace ComputeOptimizer {
32 AWS_COMPUTEOPTIMIZER_API
S3Destination(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_COMPUTEOPTIMIZER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename BucketT = Aws::String>
45 m_bucketHasBeenSet =
true;
46 m_bucket = std::forward<BucketT>(value);
48 template <
typename BucketT = Aws::String>
62 template <
typename KeyT = Aws::String>
64 m_keyHasBeenSet =
true;
65 m_key = std::forward<KeyT>(value);
67 template <
typename KeyT = Aws::String>
69 SetKey(std::forward<KeyT>(value));
81 template <
typename MetadataKeyT = Aws::String>
83 m_metadataKeyHasBeenSet =
true;
84 m_metadataKey = std::forward<MetadataKeyT>(value);
86 template <
typename MetadataKeyT = Aws::String>
98 bool m_bucketHasBeenSet =
false;
99 bool m_keyHasBeenSet =
false;
100 bool m_metadataKeyHasBeenSet =
false;
AWS_COMPUTEOPTIMIZER_API S3Destination()=default
bool BucketHasBeenSet() const
S3Destination & WithKey(KeyT &&value)
void SetBucket(BucketT &&value)
S3Destination & WithBucket(BucketT &&value)
const Aws::String & GetMetadataKey() const
const Aws::String & GetBucket() const
AWS_COMPUTEOPTIMIZER_API S3Destination & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_COMPUTEOPTIMIZER_API S3Destination(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_COMPUTEOPTIMIZER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool MetadataKeyHasBeenSet() const
const Aws::String & GetKey() const
void SetKey(KeyT &&value)
void SetMetadataKey(MetadataKeyT &&value)
bool KeyHasBeenSet() const
S3Destination & WithMetadataKey(MetadataKeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String