AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3Location.h
1
6#pragma once
7#include <aws/simspaceweaver/SimSpaceWeaver_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 SimSpaceWeaver
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_SIMSPACEWEAVER_API S3Location();
40 AWS_SIMSPACEWEAVER_API S3Location(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SIMSPACEWEAVER_API S3Location& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
52 inline const Aws::String& GetBucketName() const{ return m_bucketName; }
53 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
54 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
55 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
56 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
57 inline S3Location& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
58 inline S3Location& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
59 inline S3Location& WithBucketName(const char* value) { SetBucketName(value); return *this;}
61
63
70 inline const Aws::String& GetObjectKey() const{ return m_objectKey; }
71 inline bool ObjectKeyHasBeenSet() const { return m_objectKeyHasBeenSet; }
72 inline void SetObjectKey(const Aws::String& value) { m_objectKeyHasBeenSet = true; m_objectKey = value; }
73 inline void SetObjectKey(Aws::String&& value) { m_objectKeyHasBeenSet = true; m_objectKey = std::move(value); }
74 inline void SetObjectKey(const char* value) { m_objectKeyHasBeenSet = true; m_objectKey.assign(value); }
75 inline S3Location& WithObjectKey(const Aws::String& value) { SetObjectKey(value); return *this;}
76 inline S3Location& WithObjectKey(Aws::String&& value) { SetObjectKey(std::move(value)); return *this;}
77 inline S3Location& WithObjectKey(const char* value) { SetObjectKey(value); return *this;}
79 private:
80
81 Aws::String m_bucketName;
82 bool m_bucketNameHasBeenSet = false;
83
84 Aws::String m_objectKey;
85 bool m_objectKeyHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SimSpaceWeaver
90} // namespace Aws
AWS_SIMSPACEWEAVER_API S3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
S3Location & WithBucketName(const Aws::String &value)
Definition S3Location.h:57
void SetObjectKey(const Aws::String &value)
Definition S3Location.h:72
AWS_SIMSPACEWEAVER_API S3Location()
void SetObjectKey(const char *value)
Definition S3Location.h:74
S3Location & WithObjectKey(const Aws::String &value)
Definition S3Location.h:75
S3Location & WithBucketName(const char *value)
Definition S3Location.h:59
void SetBucketName(const char *value)
Definition S3Location.h:56
AWS_SIMSPACEWEAVER_API S3Location(Aws::Utils::Json::JsonView jsonValue)
AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetBucketName() const
Definition S3Location.h:52
S3Location & WithObjectKey(const char *value)
Definition S3Location.h:77
void SetObjectKey(Aws::String &&value)
Definition S3Location.h:73
S3Location & WithBucketName(Aws::String &&value)
Definition S3Location.h:58
void SetBucketName(const Aws::String &value)
Definition S3Location.h:54
const Aws::String & GetObjectKey() const
Definition S3Location.h:70
void SetBucketName(Aws::String &&value)
Definition S3Location.h:55
S3Location & WithObjectKey(Aws::String &&value)
Definition S3Location.h:76
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue