AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3BucketSource.h
1
6#pragma once
7#include <aws/mgn/Mgn_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 mgn
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MGN_API S3BucketSource();
38
39
41
44 inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
45 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
46 inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
47 inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
48 inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
49 inline S3BucketSource& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
50 inline S3BucketSource& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
51 inline S3BucketSource& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
53
55
58 inline const Aws::String& GetS3BucketOwner() const{ return m_s3BucketOwner; }
59 inline bool S3BucketOwnerHasBeenSet() const { return m_s3BucketOwnerHasBeenSet; }
60 inline void SetS3BucketOwner(const Aws::String& value) { m_s3BucketOwnerHasBeenSet = true; m_s3BucketOwner = value; }
61 inline void SetS3BucketOwner(Aws::String&& value) { m_s3BucketOwnerHasBeenSet = true; m_s3BucketOwner = std::move(value); }
62 inline void SetS3BucketOwner(const char* value) { m_s3BucketOwnerHasBeenSet = true; m_s3BucketOwner.assign(value); }
63 inline S3BucketSource& WithS3BucketOwner(const Aws::String& value) { SetS3BucketOwner(value); return *this;}
64 inline S3BucketSource& WithS3BucketOwner(Aws::String&& value) { SetS3BucketOwner(std::move(value)); return *this;}
65 inline S3BucketSource& WithS3BucketOwner(const char* value) { SetS3BucketOwner(value); return *this;}
67
69
72 inline const Aws::String& GetS3Key() const{ return m_s3Key; }
73 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
74 inline void SetS3Key(const Aws::String& value) { m_s3KeyHasBeenSet = true; m_s3Key = value; }
75 inline void SetS3Key(Aws::String&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::move(value); }
76 inline void SetS3Key(const char* value) { m_s3KeyHasBeenSet = true; m_s3Key.assign(value); }
77 inline S3BucketSource& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;}
78 inline S3BucketSource& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;}
79 inline S3BucketSource& WithS3Key(const char* value) { SetS3Key(value); return *this;}
81 private:
82
83 Aws::String m_s3Bucket;
84 bool m_s3BucketHasBeenSet = false;
85
86 Aws::String m_s3BucketOwner;
87 bool m_s3BucketOwnerHasBeenSet = false;
88
89 Aws::String m_s3Key;
90 bool m_s3KeyHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace mgn
95} // namespace Aws
void SetS3BucketOwner(const char *value)
S3BucketSource & WithS3BucketOwner(const char *value)
const Aws::String & GetS3BucketOwner() const
AWS_MGN_API S3BucketSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetS3Bucket(Aws::String &&value)
void SetS3Bucket(const Aws::String &value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetS3Bucket() const
const Aws::String & GetS3Key() const
void SetS3Bucket(const char *value)
void SetS3BucketOwner(Aws::String &&value)
void SetS3Key(const Aws::String &value)
S3BucketSource & WithS3Bucket(const Aws::String &value)
S3BucketSource & WithS3Bucket(const char *value)
S3BucketSource & WithS3Key(const Aws::String &value)
void SetS3Key(Aws::String &&value)
S3BucketSource & WithS3BucketOwner(const Aws::String &value)
void SetS3Key(const char *value)
S3BucketSource & WithS3Key(Aws::String &&value)
S3BucketSource & WithS3Bucket(Aws::String &&value)
void SetS3BucketOwner(const Aws::String &value)
S3BucketSource & WithS3Key(const char *value)
S3BucketSource & WithS3BucketOwner(Aws::String &&value)
AWS_MGN_API S3BucketSource(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue