AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
S3Location.h
1
6#pragma once
7#include <aws/lookoutvision/LookoutforVision_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 LookoutforVision
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LOOKOUTFORVISION_API S3Location() = default;
36 AWS_LOOKOUTFORVISION_API S3Location(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LOOKOUTFORVISION_API S3Location& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline const Aws::String& GetBucket() const { return m_bucket; }
49 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
50 template<typename BucketT = Aws::String>
51 void SetBucket(BucketT&& value) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
52 template<typename BucketT = Aws::String>
53 S3Location& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
55
57
60 inline const Aws::String& GetPrefix() const { return m_prefix; }
61 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
62 template<typename PrefixT = Aws::String>
63 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
64 template<typename PrefixT = Aws::String>
65 S3Location& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
67 private:
68
69 Aws::String m_bucket;
70 bool m_bucketHasBeenSet = false;
71
72 Aws::String m_prefix;
73 bool m_prefixHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace LookoutforVision
78} // namespace Aws
AWS_LOOKOUTFORVISION_API S3Location(Aws::Utils::Json::JsonView jsonValue)
S3Location & WithBucket(BucketT &&value)
Definition S3Location.h:53
const Aws::String & GetBucket() const
Definition S3Location.h:48
S3Location & WithPrefix(PrefixT &&value)
Definition S3Location.h:65
AWS_LOOKOUTFORVISION_API S3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOOKOUTFORVISION_API S3Location()=default
const Aws::String & GetPrefix() const
Definition S3Location.h:60
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue