AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename BucketT = Aws::String>
49 void SetBucket(BucketT&& value) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
50 template<typename BucketT = Aws::String>
51 SourceS3Location& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
53
55
58 inline const Aws::String& GetKey() const { return m_key; }
59 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
60 template<typename KeyT = Aws::String>
61 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
62 template<typename KeyT = Aws::String>
63 SourceS3Location& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
65
67
73 inline S3BucketRegion GetRegion() const { return m_region; }
74 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
75 inline void SetRegion(S3BucketRegion value) { m_regionHasBeenSet = true; m_region = value; }
76 inline SourceS3Location& WithRegion(S3BucketRegion value) { SetRegion(value); return *this;}
78 private:
79
80 Aws::String m_bucket;
81 bool m_bucketHasBeenSet = false;
82
83 Aws::String m_key;
84 bool m_keyHasBeenSet = false;
85
87 bool m_regionHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace ApplicationCostProfiler
92} // namespace Aws
AWS_APPLICATIONCOSTPROFILER_API SourceS3Location()=default
SourceS3Location & WithRegion(S3BucketRegion value)
AWS_APPLICATIONCOSTPROFILER_API SourceS3Location(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONCOSTPROFILER_API SourceS3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONCOSTPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue