AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
S3Location.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/panorama/Panorama_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Panorama {
20namespace Model {
21
28 public:
29 AWS_PANORAMA_API S3Location() = default;
30 AWS_PANORAMA_API S3Location(Aws::Utils::Json::JsonView jsonValue);
31 AWS_PANORAMA_API S3Location& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetBucketName() const { return m_bucketName; }
39 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
40 template <typename BucketNameT = Aws::String>
41 void SetBucketName(BucketNameT&& value) {
42 m_bucketNameHasBeenSet = true;
43 m_bucketName = std::forward<BucketNameT>(value);
44 }
45 template <typename BucketNameT = Aws::String>
46 S3Location& WithBucketName(BucketNameT&& value) {
47 SetBucketName(std::forward<BucketNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetObjectKey() const { return m_objectKey; }
57 inline bool ObjectKeyHasBeenSet() const { return m_objectKeyHasBeenSet; }
58 template <typename ObjectKeyT = Aws::String>
59 void SetObjectKey(ObjectKeyT&& value) {
60 m_objectKeyHasBeenSet = true;
61 m_objectKey = std::forward<ObjectKeyT>(value);
62 }
63 template <typename ObjectKeyT = Aws::String>
64 S3Location& WithObjectKey(ObjectKeyT&& value) {
65 SetObjectKey(std::forward<ObjectKeyT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetRegion() const { return m_region; }
75 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
76 template <typename RegionT = Aws::String>
77 void SetRegion(RegionT&& value) {
78 m_regionHasBeenSet = true;
79 m_region = std::forward<RegionT>(value);
80 }
81 template <typename RegionT = Aws::String>
82 S3Location& WithRegion(RegionT&& value) {
83 SetRegion(std::forward<RegionT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_bucketName;
89
90 Aws::String m_objectKey;
91
92 Aws::String m_region;
93 bool m_bucketNameHasBeenSet = false;
94 bool m_objectKeyHasBeenSet = false;
95 bool m_regionHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Panorama
100} // namespace Aws
S3Location & WithObjectKey(ObjectKeyT &&value)
Definition S3Location.h:64
const Aws::String & GetRegion() const
Definition S3Location.h:74
S3Location & WithBucketName(BucketNameT &&value)
Definition S3Location.h:46
void SetRegion(RegionT &&value)
Definition S3Location.h:77
AWS_PANORAMA_API S3Location(Aws::Utils::Json::JsonView jsonValue)
void SetObjectKey(ObjectKeyT &&value)
Definition S3Location.h:59
AWS_PANORAMA_API S3Location()=default
S3Location & WithRegion(RegionT &&value)
Definition S3Location.h:82
void SetBucketName(BucketNameT &&value)
Definition S3Location.h:41
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetBucketName() const
Definition S3Location.h:38
const Aws::String & GetObjectKey() const
Definition S3Location.h:56
AWS_PANORAMA_API S3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue