AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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 Transfer
22{
23namespace Model
24{
25
46 {
47 public:
48 AWS_TRANSFER_API S3InputFileLocation() = default;
51 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
52
53
55
58 inline const Aws::String& GetBucket() const { return m_bucket; }
59 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
60 template<typename BucketT = Aws::String>
61 void SetBucket(BucketT&& value) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
62 template<typename BucketT = Aws::String>
63 S3InputFileLocation& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
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) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
75 template<typename KeyT = Aws::String>
76 S3InputFileLocation& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
78 private:
79
80 Aws::String m_bucket;
81 bool m_bucketHasBeenSet = false;
82
83 Aws::String m_key;
84 bool m_keyHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Transfer
89} // 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