AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#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:
34 AWS_APPSTREAM_API S3Location() = default;
35 AWS_APPSTREAM_API S3Location(Aws::Utils::Json::JsonView jsonValue);
36 AWS_APPSTREAM_API S3Location& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
45 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
46 template<typename S3BucketT = Aws::String>
47 void SetS3Bucket(S3BucketT&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::forward<S3BucketT>(value); }
48 template<typename S3BucketT = Aws::String>
49 S3Location& WithS3Bucket(S3BucketT&& value) { SetS3Bucket(std::forward<S3BucketT>(value)); return *this;}
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) { m_s3KeyHasBeenSet = true; m_s3Key = std::forward<S3KeyT>(value); }
70 template<typename S3KeyT = Aws::String>
71 S3Location& WithS3Key(S3KeyT&& value) { SetS3Key(std::forward<S3KeyT>(value)); return *this;}
73 private:
74
75 Aws::String m_s3Bucket;
76 bool m_s3BucketHasBeenSet = false;
77
78 Aws::String m_s3Key;
79 bool m_s3KeyHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace AppStream
84} // namespace Aws
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetS3Bucket(S3BucketT &&value)
Definition S3Location.h:47
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:44
S3Location & WithS3Bucket(S3BucketT &&value)
Definition S3Location.h:49
S3Location & WithS3Key(S3KeyT &&value)
Definition S3Location.h:71
AWS_APPSTREAM_API S3Location()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue