AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
S3Location.h
1
6#pragma once
7#include <aws/gamelift/GameLift_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 GameLift
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GAMELIFT_API S3Location() = default;
36 AWS_GAMELIFT_API S3Location(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GAMELIFT_API S3Location& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetBucket() const { return m_bucket; }
48 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
49 template<typename BucketT = Aws::String>
50 void SetBucket(BucketT&& value) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
51 template<typename BucketT = Aws::String>
52 S3Location& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
54
56
59 inline const Aws::String& GetKey() const { return m_key; }
60 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
61 template<typename KeyT = Aws::String>
62 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
63 template<typename KeyT = Aws::String>
64 S3Location& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
66
68
73 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
74 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
75 template<typename RoleArnT = Aws::String>
76 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
77 template<typename RoleArnT = Aws::String>
78 S3Location& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
80
82
88 inline const Aws::String& GetObjectVersion() const { return m_objectVersion; }
89 inline bool ObjectVersionHasBeenSet() const { return m_objectVersionHasBeenSet; }
90 template<typename ObjectVersionT = Aws::String>
91 void SetObjectVersion(ObjectVersionT&& value) { m_objectVersionHasBeenSet = true; m_objectVersion = std::forward<ObjectVersionT>(value); }
92 template<typename ObjectVersionT = Aws::String>
93 S3Location& WithObjectVersion(ObjectVersionT&& value) { SetObjectVersion(std::forward<ObjectVersionT>(value)); return *this;}
95 private:
96
97 Aws::String m_bucket;
98 bool m_bucketHasBeenSet = false;
99
100 Aws::String m_key;
101 bool m_keyHasBeenSet = false;
102
103 Aws::String m_roleArn;
104 bool m_roleArnHasBeenSet = false;
105
106 Aws::String m_objectVersion;
107 bool m_objectVersionHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace GameLift
112} // namespace Aws
AWS_GAMELIFT_API S3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetKey() const
Definition S3Location.h:59
const Aws::String & GetObjectVersion() const
Definition S3Location.h:88
AWS_GAMELIFT_API S3Location(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetBucket() const
Definition S3Location.h:47
S3Location & WithRoleArn(RoleArnT &&value)
Definition S3Location.h:78
S3Location & WithObjectVersion(ObjectVersionT &&value)
Definition S3Location.h:93
void SetRoleArn(RoleArnT &&value)
Definition S3Location.h:76
S3Location & WithBucket(BucketT &&value)
Definition S3Location.h:52
void SetObjectVersion(ObjectVersionT &&value)
Definition S3Location.h:91
AWS_GAMELIFT_API S3Location()=default
S3Location & WithKey(KeyT &&value)
Definition S3Location.h:64
const Aws::String & GetRoleArn() const
Definition S3Location.h:73
void SetBucket(BucketT &&value)
Definition S3Location.h:50
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue