AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3Destination.h
1
6#pragma once
7#include <aws/mediapackage/MediaPackage_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 MediaPackage
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_MEDIAPACKAGE_API S3Destination();
37 AWS_MEDIAPACKAGE_API S3Destination(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIAPACKAGE_API S3Destination& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetBucketName() const{ return m_bucketName; }
48 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
49 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
50 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
51 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
52 inline S3Destination& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
53 inline S3Destination& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
54 inline S3Destination& WithBucketName(const char* value) { SetBucketName(value); return *this;}
56
58
63 inline const Aws::String& GetManifestKey() const{ return m_manifestKey; }
64 inline bool ManifestKeyHasBeenSet() const { return m_manifestKeyHasBeenSet; }
65 inline void SetManifestKey(const Aws::String& value) { m_manifestKeyHasBeenSet = true; m_manifestKey = value; }
66 inline void SetManifestKey(Aws::String&& value) { m_manifestKeyHasBeenSet = true; m_manifestKey = std::move(value); }
67 inline void SetManifestKey(const char* value) { m_manifestKeyHasBeenSet = true; m_manifestKey.assign(value); }
68 inline S3Destination& WithManifestKey(const Aws::String& value) { SetManifestKey(value); return *this;}
69 inline S3Destination& WithManifestKey(Aws::String&& value) { SetManifestKey(std::move(value)); return *this;}
70 inline S3Destination& WithManifestKey(const char* value) { SetManifestKey(value); return *this;}
72
74
78 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
79 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
80 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
81 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
82 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
83 inline S3Destination& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
84 inline S3Destination& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
85 inline S3Destination& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
87 private:
88
89 Aws::String m_bucketName;
90 bool m_bucketNameHasBeenSet = false;
91
92 Aws::String m_manifestKey;
93 bool m_manifestKeyHasBeenSet = false;
94
95 Aws::String m_roleArn;
96 bool m_roleArnHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace MediaPackage
101} // namespace Aws
const Aws::String & GetManifestKey() const
void SetManifestKey(const Aws::String &value)
S3Destination & WithBucketName(const char *value)
S3Destination & WithManifestKey(const char *value)
void SetBucketName(const Aws::String &value)
S3Destination & WithManifestKey(const Aws::String &value)
S3Destination & WithRoleArn(Aws::String &&value)
void SetRoleArn(Aws::String &&value)
const Aws::String & GetBucketName() const
AWS_MEDIAPACKAGE_API S3Destination()
AWS_MEDIAPACKAGE_API S3Destination(Aws::Utils::Json::JsonView jsonValue)
S3Destination & WithBucketName(const Aws::String &value)
const Aws::String & GetRoleArn() const
S3Destination & WithRoleArn(const char *value)
S3Destination & WithRoleArn(const Aws::String &value)
void SetManifestKey(const char *value)
AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetManifestKey(Aws::String &&value)
void SetRoleArn(const Aws::String &value)
void SetBucketName(const char *value)
S3Destination & WithBucketName(Aws::String &&value)
void SetBucketName(Aws::String &&value)
S3Destination & WithManifestKey(Aws::String &&value)
AWS_MEDIAPACKAGE_API S3Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue