AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
S3Location.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppStream {
20namespace Model {
21
28 public:
29 AWS_APPSTREAM_API S3Location() = default;
30 AWS_APPSTREAM_API S3Location(Aws::Utils::Json::JsonView jsonValue);
31 AWS_APPSTREAM_API S3Location& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
39 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
40 template <typename S3BucketT = Aws::String>
41 void SetS3Bucket(S3BucketT&& value) {
42 m_s3BucketHasBeenSet = true;
43 m_s3Bucket = std::forward<S3BucketT>(value);
44 }
45 template <typename S3BucketT = Aws::String>
46 S3Location& WithS3Bucket(S3BucketT&& value) {
47 SetS3Bucket(std::forward<S3BucketT>(value));
48 return *this;
49 }
51
53
66 inline const Aws::String& GetS3Key() const { return m_s3Key; }
67 inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; }
68 template <typename S3KeyT = Aws::String>
69 void SetS3Key(S3KeyT&& value) {
70 m_s3KeyHasBeenSet = true;
71 m_s3Key = std::forward<S3KeyT>(value);
72 }
73 template <typename S3KeyT = Aws::String>
74 S3Location& WithS3Key(S3KeyT&& value) {
75 SetS3Key(std::forward<S3KeyT>(value));
76 return *this;
77 }
79 private:
80 Aws::String m_s3Bucket;
81
82 Aws::String m_s3Key;
83 bool m_s3BucketHasBeenSet = false;
84 bool m_s3KeyHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace AppStream
89} // namespace Aws
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetS3Bucket(S3BucketT &&value)
Definition S3Location.h:41
void SetS3Key(S3KeyT &&value)
Definition S3Location.h:69
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:66
const Aws::String & GetS3Bucket() const
Definition S3Location.h:38
S3Location & WithS3Bucket(S3BucketT &&value)
Definition S3Location.h:46
S3Location & WithS3Key(S3KeyT &&value)
Definition S3Location.h:74
AWS_APPSTREAM_API S3Location()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue