AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
S3Config.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/model/DataFormat.h>
10#include <aws/iotfleetwise/model/StorageCompressionFormat.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTFleetWise
24{
25namespace Model
26{
27
39 {
40 public:
41 AWS_IOTFLEETWISE_API S3Config() = default;
42 AWS_IOTFLEETWISE_API S3Config(Aws::Utils::Json::JsonView jsonValue);
43 AWS_IOTFLEETWISE_API S3Config& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetBucketArn() const { return m_bucketArn; }
52 inline bool BucketArnHasBeenSet() const { return m_bucketArnHasBeenSet; }
53 template<typename BucketArnT = Aws::String>
54 void SetBucketArn(BucketArnT&& value) { m_bucketArnHasBeenSet = true; m_bucketArn = std::forward<BucketArnT>(value); }
55 template<typename BucketArnT = Aws::String>
56 S3Config& WithBucketArn(BucketArnT&& value) { SetBucketArn(std::forward<BucketArnT>(value)); return *this;}
58
60
67 inline DataFormat GetDataFormat() const { return m_dataFormat; }
68 inline bool DataFormatHasBeenSet() const { return m_dataFormatHasBeenSet; }
69 inline void SetDataFormat(DataFormat value) { m_dataFormatHasBeenSet = true; m_dataFormat = value; }
70 inline S3Config& WithDataFormat(DataFormat value) { SetDataFormat(value); return *this;}
72
74
78 inline StorageCompressionFormat GetStorageCompressionFormat() const { return m_storageCompressionFormat; }
79 inline bool StorageCompressionFormatHasBeenSet() const { return m_storageCompressionFormatHasBeenSet; }
80 inline void SetStorageCompressionFormat(StorageCompressionFormat value) { m_storageCompressionFormatHasBeenSet = true; m_storageCompressionFormat = value; }
83
85
98 inline const Aws::String& GetPrefix() const { return m_prefix; }
99 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
100 template<typename PrefixT = Aws::String>
101 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
102 template<typename PrefixT = Aws::String>
103 S3Config& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
105 private:
106
107 Aws::String m_bucketArn;
108 bool m_bucketArnHasBeenSet = false;
109
110 DataFormat m_dataFormat{DataFormat::NOT_SET};
111 bool m_dataFormatHasBeenSet = false;
112
114 bool m_storageCompressionFormatHasBeenSet = false;
115
116 Aws::String m_prefix;
117 bool m_prefixHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace IoTFleetWise
122} // namespace Aws
void SetBucketArn(BucketArnT &&value)
Definition S3Config.h:54
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStorageCompressionFormat(StorageCompressionFormat value)
Definition S3Config.h:80
S3Config & WithDataFormat(DataFormat value)
Definition S3Config.h:70
S3Config & WithBucketArn(BucketArnT &&value)
Definition S3Config.h:56
bool StorageCompressionFormatHasBeenSet() const
Definition S3Config.h:79
S3Config & WithPrefix(PrefixT &&value)
Definition S3Config.h:103
const Aws::String & GetPrefix() const
Definition S3Config.h:98
AWS_IOTFLEETWISE_API S3Config & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrefix(PrefixT &&value)
Definition S3Config.h:101
StorageCompressionFormat GetStorageCompressionFormat() const
Definition S3Config.h:78
DataFormat GetDataFormat() const
Definition S3Config.h:67
const Aws::String & GetBucketArn() const
Definition S3Config.h:51
void SetDataFormat(DataFormat value)
Definition S3Config.h:69
AWS_IOTFLEETWISE_API S3Config()=default
AWS_IOTFLEETWISE_API S3Config(Aws::Utils::Json::JsonView jsonValue)
S3Config & WithStorageCompressionFormat(StorageCompressionFormat value)
Definition S3Config.h:81
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue