AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
S3Location.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_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 ResilienceHub
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_RESILIENCEHUB_API S3Location() = default;
35 AWS_RESILIENCEHUB_API S3Location(Aws::Utils::Json::JsonView jsonValue);
36 AWS_RESILIENCEHUB_API S3Location& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
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& GetPrefix() const { return m_prefix; }
57 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
58 template<typename PrefixT = Aws::String>
59 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
60 template<typename PrefixT = Aws::String>
61 S3Location& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
63 private:
64
65 Aws::String m_bucket;
66 bool m_bucketHasBeenSet = false;
67
68 Aws::String m_prefix;
69 bool m_prefixHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace ResilienceHub
74} // namespace Aws
const Aws::String & GetBucket() const
Definition S3Location.h:44
void SetBucket(BucketT &&value)
Definition S3Location.h:47
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESILIENCEHUB_API S3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrefix(PrefixT &&value)
Definition S3Location.h:59
AWS_RESILIENCEHUB_API S3Location(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUB_API S3Location()=default
S3Location & WithBucket(BucketT &&value)
Definition S3Location.h:49
const Aws::String & GetPrefix() const
Definition S3Location.h:56
S3Location & WithPrefix(PrefixT &&value)
Definition S3Location.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue