AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
61 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
62 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
63 inline S3InputFileLocation& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
64 inline S3InputFileLocation& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
65 inline S3InputFileLocation& WithBucket(const char* value) { SetBucket(value); return *this;}
67
69
73 inline const Aws::String& GetKey() const{ return m_key; }
74 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
75 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
76 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
77 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
78 inline S3InputFileLocation& WithKey(const Aws::String& value) { SetKey(value); return *this;}
79 inline S3InputFileLocation& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
80 inline S3InputFileLocation& WithKey(const char* value) { SetKey(value); return *this;}
82 private:
83
84 Aws::String m_bucket;
85 bool m_bucketHasBeenSet = false;
86
87 Aws::String m_key;
88 bool m_keyHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Transfer
93} // namespace Aws
S3InputFileLocation & WithBucket(Aws::String &&value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
S3InputFileLocation & WithKey(const char *value)
S3InputFileLocation & WithBucket(const Aws::String &value)
S3InputFileLocation & WithKey(const Aws::String &value)
void SetBucket(const Aws::String &value)
S3InputFileLocation & WithKey(Aws::String &&value)
AWS_TRANSFER_API S3InputFileLocation(Aws::Utils::Json::JsonView jsonValue)
S3InputFileLocation & WithBucket(const char *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