AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SourceS3Location.h
1
6#pragma once
7#include <aws/applicationcostprofiler/ApplicationCostProfiler_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/applicationcostprofiler/model/S3BucketRegion.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ApplicationCostProfiler
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPLICATIONCOSTPROFILER_API SourceS3Location();
37 AWS_APPLICATIONCOSTPROFILER_API SourceS3Location(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPLICATIONCOSTPROFILER_API SourceS3Location& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPLICATIONCOSTPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetBucket() const{ return m_bucket; }
47 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
48 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
49 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
50 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
51 inline SourceS3Location& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
52 inline SourceS3Location& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
53 inline SourceS3Location& WithBucket(const char* value) { SetBucket(value); return *this;}
55
57
60 inline const Aws::String& GetKey() const{ return m_key; }
61 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
62 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
63 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
64 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
65 inline SourceS3Location& WithKey(const Aws::String& value) { SetKey(value); return *this;}
66 inline SourceS3Location& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
67 inline SourceS3Location& WithKey(const char* value) { SetKey(value); return *this;}
69
71
77 inline const S3BucketRegion& GetRegion() const{ return m_region; }
78 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
79 inline void SetRegion(const S3BucketRegion& value) { m_regionHasBeenSet = true; m_region = value; }
80 inline void SetRegion(S3BucketRegion&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
81 inline SourceS3Location& WithRegion(const S3BucketRegion& value) { SetRegion(value); return *this;}
82 inline SourceS3Location& WithRegion(S3BucketRegion&& value) { SetRegion(std::move(value)); return *this;}
84 private:
85
86 Aws::String m_bucket;
87 bool m_bucketHasBeenSet = false;
88
89 Aws::String m_key;
90 bool m_keyHasBeenSet = false;
91
92 S3BucketRegion m_region;
93 bool m_regionHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace ApplicationCostProfiler
98} // namespace Aws
AWS_APPLICATIONCOSTPROFILER_API SourceS3Location()
SourceS3Location & WithRegion(const S3BucketRegion &value)
SourceS3Location & WithKey(const char *value)
AWS_APPLICATIONCOSTPROFILER_API SourceS3Location(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONCOSTPROFILER_API SourceS3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceS3Location & WithBucket(Aws::String &&value)
SourceS3Location & WithRegion(S3BucketRegion &&value)
SourceS3Location & WithBucket(const char *value)
SourceS3Location & WithKey(const Aws::String &value)
SourceS3Location & WithBucket(const Aws::String &value)
AWS_APPLICATIONCOSTPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
SourceS3Location & WithKey(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue