AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3Source.h
1
6#pragma once
7#include <aws/signer/Signer_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 signer
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SIGNER_API S3Source();
36 AWS_SIGNER_API S3Source(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SIGNER_API S3Source& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetBucketName() const{ return m_bucketName; }
46 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
47 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
48 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
49 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
50 inline S3Source& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
51 inline S3Source& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
52 inline S3Source& WithBucketName(const char* value) { SetBucketName(value); return *this;}
54
56
59 inline const Aws::String& GetKey() const{ return m_key; }
60 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
61 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
62 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
63 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
64 inline S3Source& WithKey(const Aws::String& value) { SetKey(value); return *this;}
65 inline S3Source& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
66 inline S3Source& WithKey(const char* value) { SetKey(value); return *this;}
68
70
73 inline const Aws::String& GetVersion() const{ return m_version; }
74 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
75 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
76 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
77 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
78 inline S3Source& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
79 inline S3Source& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
80 inline S3Source& WithVersion(const char* value) { SetVersion(value); return *this;}
82 private:
83
84 Aws::String m_bucketName;
85 bool m_bucketNameHasBeenSet = false;
86
87 Aws::String m_key;
88 bool m_keyHasBeenSet = false;
89
90 Aws::String m_version;
91 bool m_versionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace signer
96} // namespace Aws
AWS_SIGNER_API S3Source(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBucketName() const
Definition S3Source.h:45
void SetBucketName(const Aws::String &value)
Definition S3Source.h:47
AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKey(const char *value)
Definition S3Source.h:63
void SetBucketName(Aws::String &&value)
Definition S3Source.h:48
S3Source & WithKey(Aws::String &&value)
Definition S3Source.h:65
const Aws::String & GetKey() const
Definition S3Source.h:59
S3Source & WithVersion(const char *value)
Definition S3Source.h:80
S3Source & WithKey(const char *value)
Definition S3Source.h:66
void SetVersion(const char *value)
Definition S3Source.h:77
void SetVersion(const Aws::String &value)
Definition S3Source.h:75
S3Source & WithKey(const Aws::String &value)
Definition S3Source.h:64
void SetBucketName(const char *value)
Definition S3Source.h:49
void SetKey(const Aws::String &value)
Definition S3Source.h:61
S3Source & WithBucketName(const char *value)
Definition S3Source.h:52
S3Source & WithBucketName(const Aws::String &value)
Definition S3Source.h:50
AWS_SIGNER_API S3Source & operator=(Aws::Utils::Json::JsonView jsonValue)
bool VersionHasBeenSet() const
Definition S3Source.h:74
S3Source & WithVersion(const Aws::String &value)
Definition S3Source.h:78
void SetVersion(Aws::String &&value)
Definition S3Source.h:76
S3Source & WithVersion(Aws::String &&value)
Definition S3Source.h:79
bool BucketNameHasBeenSet() const
Definition S3Source.h:46
const Aws::String & GetVersion() const
Definition S3Source.h:73
S3Source & WithBucketName(Aws::String &&value)
Definition S3Source.h:51
void SetKey(Aws::String &&value)
Definition S3Source.h:62
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue