AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBucketARN(const Aws::String& value) { m_bucketARNHasBeenSet = true; m_bucketARN = value; }
51 inline void SetBucketARN(Aws::String&& value) { m_bucketARNHasBeenSet = true; m_bucketARN = std::move(value); }
52 inline void SetBucketARN(const char* value) { m_bucketARNHasBeenSet = true; m_bucketARN.assign(value); }
53 inline S3ContentLocation& WithBucketARN(const Aws::String& value) { SetBucketARN(value); return *this;}
54 inline S3ContentLocation& WithBucketARN(Aws::String&& value) { SetBucketARN(std::move(value)); return *this;}
55 inline S3ContentLocation& WithBucketARN(const char* value) { SetBucketARN(value); return *this;}
57
59
62 inline const Aws::String& GetFileKey() const{ return m_fileKey; }
63 inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; }
64 inline void SetFileKey(const Aws::String& value) { m_fileKeyHasBeenSet = true; m_fileKey = value; }
65 inline void SetFileKey(Aws::String&& value) { m_fileKeyHasBeenSet = true; m_fileKey = std::move(value); }
66 inline void SetFileKey(const char* value) { m_fileKeyHasBeenSet = true; m_fileKey.assign(value); }
67 inline S3ContentLocation& WithFileKey(const Aws::String& value) { SetFileKey(value); return *this;}
68 inline S3ContentLocation& WithFileKey(Aws::String&& value) { SetFileKey(std::move(value)); return *this;}
69 inline S3ContentLocation& WithFileKey(const char* value) { SetFileKey(value); return *this;}
71
73
76 inline const Aws::String& GetObjectVersion() const{ return m_objectVersion; }
77 inline bool ObjectVersionHasBeenSet() const { return m_objectVersionHasBeenSet; }
78 inline void SetObjectVersion(const Aws::String& value) { m_objectVersionHasBeenSet = true; m_objectVersion = value; }
79 inline void SetObjectVersion(Aws::String&& value) { m_objectVersionHasBeenSet = true; m_objectVersion = std::move(value); }
80 inline void SetObjectVersion(const char* value) { m_objectVersionHasBeenSet = true; m_objectVersion.assign(value); }
81 inline S3ContentLocation& WithObjectVersion(const Aws::String& value) { SetObjectVersion(value); return *this;}
82 inline S3ContentLocation& WithObjectVersion(Aws::String&& value) { SetObjectVersion(std::move(value)); return *this;}
83 inline S3ContentLocation& WithObjectVersion(const char* value) { SetObjectVersion(value); return *this;}
85 private:
86
87 Aws::String m_bucketARN;
88 bool m_bucketARNHasBeenSet = false;
89
90 Aws::String m_fileKey;
91 bool m_fileKeyHasBeenSet = false;
92
93 Aws::String m_objectVersion;
94 bool m_objectVersionHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace KinesisAnalyticsV2
99} // namespace Aws
AWS_KINESISANALYTICSV2_API S3ContentLocation()
S3ContentLocation & WithBucketARN(const char *value)
S3ContentLocation & WithObjectVersion(const char *value)
S3ContentLocation & WithFileKey(const char *value)
S3ContentLocation & WithFileKey(const Aws::String &value)
S3ContentLocation & WithFileKey(Aws::String &&value)
S3ContentLocation & WithObjectVersion(const Aws::String &value)
AWS_KINESISANALYTICSV2_API S3ContentLocation(Aws::Utils::Json::JsonView jsonValue)
S3ContentLocation & WithObjectVersion(Aws::String &&value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
S3ContentLocation & WithBucketARN(Aws::String &&value)
AWS_KINESISANALYTICSV2_API S3ContentLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
S3ContentLocation & WithBucketARN(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue