AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
47 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
48 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
49 inline File& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
50 inline File& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
51 inline File& WithBucket(const char* value) { SetBucket(value); return *this;}
53
55
59 inline const Aws::String& GetKey() const{ return m_key; }
60 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
61 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
62 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
63 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
64 inline File& WithKey(const Aws::String& value) { SetKey(value); return *this;}
65 inline File& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
66 inline File& WithKey(const char* value) { SetKey(value); return *this;}
68
70
74 inline const Aws::String& GetVersionId() const{ return m_versionId; }
75 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
76 inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
77 inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); }
78 inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
79 inline File& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
80 inline File& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
81 inline File& WithVersionId(const char* value) { SetVersionId(value); return *this;}
83 private:
84
85 Aws::String m_bucket;
86 bool m_bucketHasBeenSet = false;
87
88 Aws::String m_key;
89 bool m_keyHasBeenSet = false;
90
91 Aws::String m_versionId;
92 bool m_versionIdHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace IoTSiteWise
97} // namespace Aws
bool BucketHasBeenSet() const
Definition File.h:45
AWS_IOTSITEWISE_API File & operator=(Aws::Utils::Json::JsonView jsonValue)
bool KeyHasBeenSet() const
Definition File.h:60
File & WithBucket(Aws::String &&value)
Definition File.h:50
const Aws::String & GetKey() const
Definition File.h:59
void SetKey(const Aws::String &value)
Definition File.h:61
File & WithVersionId(Aws::String &&value)
Definition File.h:80
void SetVersionId(const char *value)
Definition File.h:78
void SetBucket(const char *value)
Definition File.h:48
File & WithBucket(const Aws::String &value)
Definition File.h:49
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
File & WithKey(const char *value)
Definition File.h:66
const Aws::String & GetVersionId() const
Definition File.h:74
File & WithKey(Aws::String &&value)
Definition File.h:65
AWS_IOTSITEWISE_API File()
void SetBucket(const Aws::String &value)
Definition File.h:46
File & WithKey(const Aws::String &value)
Definition File.h:64
File & WithBucket(const char *value)
Definition File.h:51
void SetKey(const char *value)
Definition File.h:63
void SetBucket(Aws::String &&value)
Definition File.h:47
AWS_IOTSITEWISE_API File(Aws::Utils::Json::JsonView jsonValue)
void SetVersionId(Aws::String &&value)
Definition File.h:77
const Aws::String & GetBucket() const
Definition File.h:44
void SetKey(Aws::String &&value)
Definition File.h:62
void SetVersionId(const Aws::String &value)
Definition File.h:76
File & WithVersionId(const char *value)
Definition File.h:81
File & WithVersionId(const Aws::String &value)
Definition File.h:79
bool VersionIdHasBeenSet() const
Definition File.h:75
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue