AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
S3ContentLocation.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace KinesisAnalyticsV2
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_KINESISANALYTICSV2_API S3ContentLocation() = default;
38 AWS_KINESISANALYTICSV2_API S3ContentLocation(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISANALYTICSV2_API S3ContentLocation& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetBucketARN() const { return m_bucketARN; }
49 inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; }
50 template<typename BucketARNT = Aws::String>
51 void SetBucketARN(BucketARNT&& value) { m_bucketARNHasBeenSet = true; m_bucketARN = std::forward<BucketARNT>(value); }
52 template<typename BucketARNT = Aws::String>
53 S3ContentLocation& WithBucketARN(BucketARNT&& value) { SetBucketARN(std::forward<BucketARNT>(value)); return *this;}
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) { m_fileKeyHasBeenSet = true; m_fileKey = std::forward<FileKeyT>(value); }
64 template<typename FileKeyT = Aws::String>
65 S3ContentLocation& WithFileKey(FileKeyT&& value) { SetFileKey(std::forward<FileKeyT>(value)); return *this;}
67
69
72 inline const Aws::String& GetObjectVersion() const { return m_objectVersion; }
73 inline bool ObjectVersionHasBeenSet() const { return m_objectVersionHasBeenSet; }
74 template<typename ObjectVersionT = Aws::String>
75 void SetObjectVersion(ObjectVersionT&& value) { m_objectVersionHasBeenSet = true; m_objectVersion = std::forward<ObjectVersionT>(value); }
76 template<typename ObjectVersionT = Aws::String>
77 S3ContentLocation& WithObjectVersion(ObjectVersionT&& value) { SetObjectVersion(std::forward<ObjectVersionT>(value)); return *this;}
79 private:
80
81 Aws::String m_bucketARN;
82 bool m_bucketARNHasBeenSet = false;
83
84 Aws::String m_fileKey;
85 bool m_fileKeyHasBeenSet = false;
86
87 Aws::String m_objectVersion;
88 bool m_objectVersionHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace KinesisAnalyticsV2
93} // 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