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 {
40 AWS_COMPUTEOPTIMIZER_API
S3DestinationConfig(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
42 AWS_COMPUTEOPTIMIZER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
51 template <
typename BucketT = Aws::String>
53 m_bucketHasBeenSet =
true;
54 m_bucket = std::forward<BucketT>(value);
56 template <
typename BucketT = Aws::String>
69 template <
typename KeyPrefixT = Aws::String>
71 m_keyPrefixHasBeenSet =
true;
72 m_keyPrefix = std::forward<KeyPrefixT>(value);
74 template <
typename KeyPrefixT = Aws::String>
84 bool m_bucketHasBeenSet =
false;
85 bool m_keyPrefixHasBeenSet =
false;
void SetKeyPrefix(KeyPrefixT &&value)
AWS_COMPUTEOPTIMIZER_API S3DestinationConfig(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_COMPUTEOPTIMIZER_API S3DestinationConfig()=default
bool BucketHasBeenSet() const
const Aws::String & GetBucket() const
S3DestinationConfig & WithKeyPrefix(KeyPrefixT &&value)
AWS_COMPUTEOPTIMIZER_API S3DestinationConfig & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
S3DestinationConfig & WithBucket(BucketT &&value)
AWS_COMPUTEOPTIMIZER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetBucket(BucketT &&value)
bool KeyPrefixHasBeenSet() const
const Aws::String & GetKeyPrefix() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String