AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
File.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_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 IoTSiteWise
22{
23namespace Model
24{
25
31 class File
32 {
33 public:
34 AWS_IOTSITEWISE_API File() = default;
35 AWS_IOTSITEWISE_API File(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTSITEWISE_API File& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTSITEWISE_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 File& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
51
53
57 inline const Aws::String& GetKey() const { return m_key; }
58 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
59 template<typename KeyT = Aws::String>
60 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
61 template<typename KeyT = Aws::String>
62 File& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
64
66
70 inline const Aws::String& GetVersionId() const { return m_versionId; }
71 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
72 template<typename VersionIdT = Aws::String>
73 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet = true; m_versionId = std::forward<VersionIdT>(value); }
74 template<typename VersionIdT = Aws::String>
75 File& WithVersionId(VersionIdT&& value) { SetVersionId(std::forward<VersionIdT>(value)); return *this;}
77 private:
78
79 Aws::String m_bucket;
80 bool m_bucketHasBeenSet = false;
81
82 Aws::String m_key;
83 bool m_keyHasBeenSet = false;
84
85 Aws::String m_versionId;
86 bool m_versionIdHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace IoTSiteWise
91} // namespace Aws
bool BucketHasBeenSet() const
Definition File.h:45
AWS_IOTSITEWISE_API File()=default
AWS_IOTSITEWISE_API File & operator=(Aws::Utils::Json::JsonView jsonValue)
bool KeyHasBeenSet() const
Definition File.h:58
void SetVersionId(VersionIdT &&value)
Definition File.h:73
const Aws::String & GetKey() const
Definition File.h:57
void SetKey(KeyT &&value)
Definition File.h:60
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
File & WithBucket(BucketT &&value)
Definition File.h:49
const Aws::String & GetVersionId() const
Definition File.h:70
File & WithVersionId(VersionIdT &&value)
Definition File.h:75
void SetBucket(BucketT &&value)
Definition File.h:47
File & WithKey(KeyT &&value)
Definition File.h:62
AWS_IOTSITEWISE_API File(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBucket() const
Definition File.h:44
bool VersionIdHasBeenSet() const
Definition File.h:71
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue