AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
StorageLocation.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 StorageLocation() = default;
30 AWS_PANORAMA_API StorageLocation(Aws::Utils::Json::JsonView jsonValue);
32 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetBinaryPrefixLocation() const { return m_binaryPrefixLocation; }
39 inline bool BinaryPrefixLocationHasBeenSet() const { return m_binaryPrefixLocationHasBeenSet; }
40 template <typename BinaryPrefixLocationT = Aws::String>
41 void SetBinaryPrefixLocation(BinaryPrefixLocationT&& value) {
42 m_binaryPrefixLocationHasBeenSet = true;
43 m_binaryPrefixLocation = std::forward<BinaryPrefixLocationT>(value);
44 }
45 template <typename BinaryPrefixLocationT = Aws::String>
46 StorageLocation& WithBinaryPrefixLocation(BinaryPrefixLocationT&& value) {
47 SetBinaryPrefixLocation(std::forward<BinaryPrefixLocationT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetBucket() const { return m_bucket; }
57 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
58 template <typename BucketT = Aws::String>
59 void SetBucket(BucketT&& value) {
60 m_bucketHasBeenSet = true;
61 m_bucket = std::forward<BucketT>(value);
62 }
63 template <typename BucketT = Aws::String>
64 StorageLocation& WithBucket(BucketT&& value) {
65 SetBucket(std::forward<BucketT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetGeneratedPrefixLocation() const { return m_generatedPrefixLocation; }
75 inline bool GeneratedPrefixLocationHasBeenSet() const { return m_generatedPrefixLocationHasBeenSet; }
76 template <typename GeneratedPrefixLocationT = Aws::String>
77 void SetGeneratedPrefixLocation(GeneratedPrefixLocationT&& value) {
78 m_generatedPrefixLocationHasBeenSet = true;
79 m_generatedPrefixLocation = std::forward<GeneratedPrefixLocationT>(value);
80 }
81 template <typename GeneratedPrefixLocationT = Aws::String>
82 StorageLocation& WithGeneratedPrefixLocation(GeneratedPrefixLocationT&& value) {
83 SetGeneratedPrefixLocation(std::forward<GeneratedPrefixLocationT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetManifestPrefixLocation() const { return m_manifestPrefixLocation; }
93 inline bool ManifestPrefixLocationHasBeenSet() const { return m_manifestPrefixLocationHasBeenSet; }
94 template <typename ManifestPrefixLocationT = Aws::String>
95 void SetManifestPrefixLocation(ManifestPrefixLocationT&& value) {
96 m_manifestPrefixLocationHasBeenSet = true;
97 m_manifestPrefixLocation = std::forward<ManifestPrefixLocationT>(value);
98 }
99 template <typename ManifestPrefixLocationT = Aws::String>
100 StorageLocation& WithManifestPrefixLocation(ManifestPrefixLocationT&& value) {
101 SetManifestPrefixLocation(std::forward<ManifestPrefixLocationT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetRepoPrefixLocation() const { return m_repoPrefixLocation; }
111 inline bool RepoPrefixLocationHasBeenSet() const { return m_repoPrefixLocationHasBeenSet; }
112 template <typename RepoPrefixLocationT = Aws::String>
113 void SetRepoPrefixLocation(RepoPrefixLocationT&& value) {
114 m_repoPrefixLocationHasBeenSet = true;
115 m_repoPrefixLocation = std::forward<RepoPrefixLocationT>(value);
116 }
117 template <typename RepoPrefixLocationT = Aws::String>
118 StorageLocation& WithRepoPrefixLocation(RepoPrefixLocationT&& value) {
119 SetRepoPrefixLocation(std::forward<RepoPrefixLocationT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_binaryPrefixLocation;
125
126 Aws::String m_bucket;
127
128 Aws::String m_generatedPrefixLocation;
129
130 Aws::String m_manifestPrefixLocation;
131
132 Aws::String m_repoPrefixLocation;
133 bool m_binaryPrefixLocationHasBeenSet = false;
134 bool m_bucketHasBeenSet = false;
135 bool m_generatedPrefixLocationHasBeenSet = false;
136 bool m_manifestPrefixLocationHasBeenSet = false;
137 bool m_repoPrefixLocationHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace Panorama
142} // namespace Aws
const Aws::String & GetGeneratedPrefixLocation() const
const Aws::String & GetRepoPrefixLocation() const
void SetBinaryPrefixLocation(BinaryPrefixLocationT &&value)
void SetGeneratedPrefixLocation(GeneratedPrefixLocationT &&value)
const Aws::String & GetManifestPrefixLocation() const
StorageLocation & WithManifestPrefixLocation(ManifestPrefixLocationT &&value)
AWS_PANORAMA_API StorageLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetManifestPrefixLocation(ManifestPrefixLocationT &&value)
StorageLocation & WithBinaryPrefixLocation(BinaryPrefixLocationT &&value)
StorageLocation & WithGeneratedPrefixLocation(GeneratedPrefixLocationT &&value)
StorageLocation & WithBucket(BucketT &&value)
StorageLocation & WithRepoPrefixLocation(RepoPrefixLocationT &&value)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PANORAMA_API StorageLocation()=default
const Aws::String & GetBucket() const
void SetRepoPrefixLocation(RepoPrefixLocationT &&value)
const Aws::String & GetBinaryPrefixLocation() const
AWS_PANORAMA_API StorageLocation(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue