AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
S3InputFileLocation.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Transfer {
20namespace Model {
21
42 public:
43 AWS_TRANSFER_API S3InputFileLocation() = default;
46 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
47
49
52 inline const Aws::String& GetBucket() const { return m_bucket; }
53 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
54 template <typename BucketT = Aws::String>
55 void SetBucket(BucketT&& value) {
56 m_bucketHasBeenSet = true;
57 m_bucket = std::forward<BucketT>(value);
58 }
59 template <typename BucketT = Aws::String>
60 S3InputFileLocation& WithBucket(BucketT&& value) {
61 SetBucket(std::forward<BucketT>(value));
62 return *this;
63 }
65
67
71 inline const Aws::String& GetKey() const { return m_key; }
72 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
73 template <typename KeyT = Aws::String>
74 void SetKey(KeyT&& value) {
75 m_keyHasBeenSet = true;
76 m_key = std::forward<KeyT>(value);
77 }
78 template <typename KeyT = Aws::String>
80 SetKey(std::forward<KeyT>(value));
81 return *this;
82 }
84 private:
85 Aws::String m_bucket;
86
87 Aws::String m_key;
88 bool m_bucketHasBeenSet = false;
89 bool m_keyHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace Transfer
94} // namespace Aws
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSFER_API S3InputFileLocation()=default
AWS_TRANSFER_API S3InputFileLocation(Aws::Utils::Json::JsonView jsonValue)
S3InputFileLocation & WithKey(KeyT &&value)
S3InputFileLocation & WithBucket(BucketT &&value)
AWS_TRANSFER_API S3InputFileLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue