AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
S3Config.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
9#include <aws/iotfleetwise/model/DataFormat.h>
10#include <aws/iotfleetwise/model/StorageCompressionFormat.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTFleetWise {
22namespace Model {
23
34class S3Config {
35 public:
36 AWS_IOTFLEETWISE_API S3Config() = default;
37 AWS_IOTFLEETWISE_API S3Config(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTFLEETWISE_API S3Config& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetBucketArn() const { return m_bucketArn; }
46 inline bool BucketArnHasBeenSet() const { return m_bucketArnHasBeenSet; }
47 template <typename BucketArnT = Aws::String>
48 void SetBucketArn(BucketArnT&& value) {
49 m_bucketArnHasBeenSet = true;
50 m_bucketArn = std::forward<BucketArnT>(value);
51 }
52 template <typename BucketArnT = Aws::String>
53 S3Config& WithBucketArn(BucketArnT&& value) {
54 SetBucketArn(std::forward<BucketArnT>(value));
55 return *this;
56 }
58
60
67 inline DataFormat GetDataFormat() const { return m_dataFormat; }
68 inline bool DataFormatHasBeenSet() const { return m_dataFormatHasBeenSet; }
69 inline void SetDataFormat(DataFormat value) {
70 m_dataFormatHasBeenSet = true;
71 m_dataFormat = value;
72 }
74 SetDataFormat(value);
75 return *this;
76 }
78
80
84 inline StorageCompressionFormat GetStorageCompressionFormat() const { return m_storageCompressionFormat; }
85 inline bool StorageCompressionFormatHasBeenSet() const { return m_storageCompressionFormatHasBeenSet; }
87 m_storageCompressionFormatHasBeenSet = true;
88 m_storageCompressionFormat = value;
89 }
95
97
110 inline const Aws::String& GetPrefix() const { return m_prefix; }
111 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
112 template <typename PrefixT = Aws::String>
113 void SetPrefix(PrefixT&& value) {
114 m_prefixHasBeenSet = true;
115 m_prefix = std::forward<PrefixT>(value);
116 }
117 template <typename PrefixT = Aws::String>
118 S3Config& WithPrefix(PrefixT&& value) {
119 SetPrefix(std::forward<PrefixT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_bucketArn;
125
126 DataFormat m_dataFormat{DataFormat::NOT_SET};
127
129
130 Aws::String m_prefix;
131 bool m_bucketArnHasBeenSet = false;
132 bool m_dataFormatHasBeenSet = false;
133 bool m_storageCompressionFormatHasBeenSet = false;
134 bool m_prefixHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace IoTFleetWise
139} // namespace Aws
void SetBucketArn(BucketArnT &&value)
Definition S3Config.h:48
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStorageCompressionFormat(StorageCompressionFormat value)
Definition S3Config.h:86
S3Config & WithDataFormat(DataFormat value)
Definition S3Config.h:73
S3Config & WithBucketArn(BucketArnT &&value)
Definition S3Config.h:53
bool StorageCompressionFormatHasBeenSet() const
Definition S3Config.h:85
S3Config & WithPrefix(PrefixT &&value)
Definition S3Config.h:118
const Aws::String & GetPrefix() const
Definition S3Config.h:110
AWS_IOTFLEETWISE_API S3Config & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrefix(PrefixT &&value)
Definition S3Config.h:113
StorageCompressionFormat GetStorageCompressionFormat() const
Definition S3Config.h:84
DataFormat GetDataFormat() const
Definition S3Config.h:67
const Aws::String & GetBucketArn() const
Definition S3Config.h:45
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:90
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue