AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
50 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
51 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
52 inline S3Location& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
53 inline S3Location& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
54 inline S3Location& WithBucket(const char* value) { SetBucket(value); return *this;}
56
58
61 inline const Aws::String& GetKey() const{ return m_key; }
62 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
63 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
64 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
65 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
66 inline S3Location& WithKey(const Aws::String& value) { SetKey(value); return *this;}
67 inline S3Location& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
68 inline S3Location& WithKey(const char* value) { SetKey(value); return *this;}
70
72
77 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
78 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
79 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
80 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
81 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
82 inline S3Location& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
83 inline S3Location& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
84 inline S3Location& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
86
88
94 inline const Aws::String& GetObjectVersion() const{ return m_objectVersion; }
95 inline bool ObjectVersionHasBeenSet() const { return m_objectVersionHasBeenSet; }
96 inline void SetObjectVersion(const Aws::String& value) { m_objectVersionHasBeenSet = true; m_objectVersion = value; }
97 inline void SetObjectVersion(Aws::String&& value) { m_objectVersionHasBeenSet = true; m_objectVersion = std::move(value); }
98 inline void SetObjectVersion(const char* value) { m_objectVersionHasBeenSet = true; m_objectVersion.assign(value); }
99 inline S3Location& WithObjectVersion(const Aws::String& value) { SetObjectVersion(value); return *this;}
100 inline S3Location& WithObjectVersion(Aws::String&& value) { SetObjectVersion(std::move(value)); return *this;}
101 inline S3Location& WithObjectVersion(const char* value) { SetObjectVersion(value); return *this;}
103 private:
104
105 Aws::String m_bucket;
106 bool m_bucketHasBeenSet = false;
107
108 Aws::String m_key;
109 bool m_keyHasBeenSet = false;
110
111 Aws::String m_roleArn;
112 bool m_roleArnHasBeenSet = false;
113
114 Aws::String m_objectVersion;
115 bool m_objectVersionHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace GameLift
120} // namespace Aws
AWS_GAMELIFT_API S3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKey(const Aws::String &value)
Definition S3Location.h:63
S3Location & WithKey(const Aws::String &value)
Definition S3Location.h:66
S3Location & WithBucket(const char *value)
Definition S3Location.h:54
S3Location & WithObjectVersion(const char *value)
Definition S3Location.h:101
const Aws::String & GetKey() const
Definition S3Location.h:61
const Aws::String & GetObjectVersion() const
Definition S3Location.h:94
S3Location & WithBucket(const Aws::String &value)
Definition S3Location.h:52
S3Location & WithObjectVersion(const Aws::String &value)
Definition S3Location.h:99
void SetKey(Aws::String &&value)
Definition S3Location.h:64
AWS_GAMELIFT_API S3Location(Aws::Utils::Json::JsonView jsonValue)
void SetObjectVersion(const Aws::String &value)
Definition S3Location.h:96
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetObjectVersion(Aws::String &&value)
Definition S3Location.h:97
void SetBucket(Aws::String &&value)
Definition S3Location.h:50
const Aws::String & GetBucket() const
Definition S3Location.h:47
void SetBucket(const Aws::String &value)
Definition S3Location.h:49
S3Location & WithObjectVersion(Aws::String &&value)
Definition S3Location.h:100
S3Location & WithKey(Aws::String &&value)
Definition S3Location.h:67
S3Location & WithRoleArn(Aws::String &&value)
Definition S3Location.h:83
void SetObjectVersion(const char *value)
Definition S3Location.h:98
void SetBucket(const char *value)
Definition S3Location.h:51
void SetRoleArn(const char *value)
Definition S3Location.h:81
const Aws::String & GetRoleArn() const
Definition S3Location.h:77
void SetRoleArn(const Aws::String &value)
Definition S3Location.h:79
S3Location & WithRoleArn(const Aws::String &value)
Definition S3Location.h:82
S3Location & WithKey(const char *value)
Definition S3Location.h:68
void SetRoleArn(Aws::String &&value)
Definition S3Location.h:80
S3Location & WithBucket(Aws::String &&value)
Definition S3Location.h:53
void SetKey(const char *value)
Definition S3Location.h:65
S3Location & WithRoleArn(const char *value)
Definition S3Location.h:84
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue