AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
S3ContentLocation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace KinesisAnalyticsV2 {
20namespace Model {
21
31 public:
32 AWS_KINESISANALYTICSV2_API S3ContentLocation() = default;
33 AWS_KINESISANALYTICSV2_API S3ContentLocation(Aws::Utils::Json::JsonView jsonValue);
34 AWS_KINESISANALYTICSV2_API S3ContentLocation& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetBucketARN() const { return m_bucketARN; }
43 inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; }
44 template <typename BucketARNT = Aws::String>
45 void SetBucketARN(BucketARNT&& value) {
46 m_bucketARNHasBeenSet = true;
47 m_bucketARN = std::forward<BucketARNT>(value);
48 }
49 template <typename BucketARNT = Aws::String>
50 S3ContentLocation& WithBucketARN(BucketARNT&& value) {
51 SetBucketARN(std::forward<BucketARNT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetFileKey() const { return m_fileKey; }
61 inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; }
62 template <typename FileKeyT = Aws::String>
63 void SetFileKey(FileKeyT&& value) {
64 m_fileKeyHasBeenSet = true;
65 m_fileKey = std::forward<FileKeyT>(value);
66 }
67 template <typename FileKeyT = Aws::String>
68 S3ContentLocation& WithFileKey(FileKeyT&& value) {
69 SetFileKey(std::forward<FileKeyT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetObjectVersion() const { return m_objectVersion; }
79 inline bool ObjectVersionHasBeenSet() const { return m_objectVersionHasBeenSet; }
80 template <typename ObjectVersionT = Aws::String>
81 void SetObjectVersion(ObjectVersionT&& value) {
82 m_objectVersionHasBeenSet = true;
83 m_objectVersion = std::forward<ObjectVersionT>(value);
84 }
85 template <typename ObjectVersionT = Aws::String>
86 S3ContentLocation& WithObjectVersion(ObjectVersionT&& value) {
87 SetObjectVersion(std::forward<ObjectVersionT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_bucketARN;
93
94 Aws::String m_fileKey;
95
96 Aws::String m_objectVersion;
97 bool m_bucketARNHasBeenSet = false;
98 bool m_fileKeyHasBeenSet = false;
99 bool m_objectVersionHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace KinesisAnalyticsV2
104} // namespace Aws
AWS_KINESISANALYTICSV2_API S3ContentLocation()=default
AWS_KINESISANALYTICSV2_API S3ContentLocation(Aws::Utils::Json::JsonView jsonValue)
S3ContentLocation & WithObjectVersion(ObjectVersionT &&value)
S3ContentLocation & WithBucketARN(BucketARNT &&value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
S3ContentLocation & WithFileKey(FileKeyT &&value)
AWS_KINESISANALYTICSV2_API S3ContentLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue