AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
S3Location.h
1
6#pragma once
7#include <aws/iot/IoT_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 IoT
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOT_API S3Location() = default;
35 AWS_IOT_API S3Location(Aws::Utils::Json::JsonView jsonValue);
38
39
41
44 inline const Aws::String& GetBucket() const { return m_bucket; }
45 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
46 template<typename BucketT = Aws::String>
47 void SetBucket(BucketT&& value) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
48 template<typename BucketT = Aws::String>
49 S3Location& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
51
53
56 inline const Aws::String& GetKey() const { return m_key; }
57 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
58 template<typename KeyT = Aws::String>
59 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
60 template<typename KeyT = Aws::String>
61 S3Location& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
63
65
68 inline const Aws::String& GetVersion() const { return m_version; }
69 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
70 template<typename VersionT = Aws::String>
71 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
72 template<typename VersionT = Aws::String>
73 S3Location& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
75 private:
76
77 Aws::String m_bucket;
78 bool m_bucketHasBeenSet = false;
79
80 Aws::String m_key;
81 bool m_keyHasBeenSet = false;
82
83 Aws::String m_version;
84 bool m_versionHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace IoT
89} // namespace Aws
AWS_IOT_API S3Location(Aws::Utils::Json::JsonView jsonValue)
S3Location & WithBucket(BucketT &&value)
Definition S3Location.h:49
S3Location & WithVersion(VersionT &&value)
Definition S3Location.h:73
const Aws::String & GetKey() const
Definition S3Location.h:56
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
S3Location & WithKey(KeyT &&value)
Definition S3Location.h:61
bool BucketHasBeenSet() const
Definition S3Location.h:45
void SetVersion(VersionT &&value)
Definition S3Location.h:71
void SetBucket(BucketT &&value)
Definition S3Location.h:47
AWS_IOT_API S3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
bool VersionHasBeenSet() const
Definition S3Location.h:69
void SetKey(KeyT &&value)
Definition S3Location.h:59
AWS_IOT_API S3Location()=default
const Aws::String & GetBucket() const
Definition S3Location.h:44
const Aws::String & GetVersion() const
Definition S3Location.h:68
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue