AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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