AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
S3Location.h
Go to the documentation of this file.
1
6#pragma once
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 AppStream
22{
23namespace Model
24{
25
32 {
33 public:
38
39
43 inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
44
48 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
49
53 inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
54
58 inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
59
63 inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
64
68 inline S3Location& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
69
73 inline S3Location& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
74
78 inline S3Location& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
79
80
84 inline const Aws::String& GetS3Key() const{ return m_s3Key; }
85
89 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
90
94 inline void SetS3Key(const Aws::String& value) { m_s3KeyHasBeenSet = true; m_s3Key = value; }
95
99 inline void SetS3Key(Aws::String&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::move(value); }
100
104 inline void SetS3Key(const char* value) { m_s3KeyHasBeenSet = true; m_s3Key.assign(value); }
105
109 inline S3Location& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;}
110
114 inline S3Location& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;}
115
119 inline S3Location& WithS3Key(const char* value) { SetS3Key(value); return *this;}
120
121 private:
122
123 Aws::String m_s3Bucket;
124 bool m_s3BucketHasBeenSet = false;
125
126 Aws::String m_s3Key;
127 bool m_s3KeyHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace AppStream
132} // namespace Aws
#define AWS_APPSTREAM_API
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
S3Location & WithS3Bucket(const char *value)
Definition: S3Location.h:78
AWS_APPSTREAM_API S3Location(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSTREAM_API S3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetS3Key() const
Definition: S3Location.h:84
void SetS3Key(const char *value)
Definition: S3Location.h:104
S3Location & WithS3Bucket(Aws::String &&value)
Definition: S3Location.h:73
S3Location & WithS3Bucket(const Aws::String &value)
Definition: S3Location.h:68
S3Location & WithS3Key(Aws::String &&value)
Definition: S3Location.h:114
const Aws::String & GetS3Bucket() const
Definition: S3Location.h:43
S3Location & WithS3Key(const Aws::String &value)
Definition: S3Location.h:109
void SetS3Bucket(Aws::String &&value)
Definition: S3Location.h:58
void SetS3Key(const Aws::String &value)
Definition: S3Location.h:94
void SetS3Key(Aws::String &&value)
Definition: S3Location.h:99
S3Location & WithS3Key(const char *value)
Definition: S3Location.h:119
void SetS3Bucket(const char *value)
Definition: S3Location.h:63
AWS_APPSTREAM_API S3Location()
void SetS3Bucket(const Aws::String &value)
Definition: S3Location.h:53
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String