AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
S3Destination.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediapackage/MediaPackage_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaPackage {
20namespace Model {
21
30 public:
31 AWS_MEDIAPACKAGE_API S3Destination() = default;
32 AWS_MEDIAPACKAGE_API S3Destination(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIAPACKAGE_API S3Destination& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetBucketName() const { return m_bucketName; }
42 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
43 template <typename BucketNameT = Aws::String>
44 void SetBucketName(BucketNameT&& value) {
45 m_bucketNameHasBeenSet = true;
46 m_bucketName = std::forward<BucketNameT>(value);
47 }
48 template <typename BucketNameT = Aws::String>
49 S3Destination& WithBucketName(BucketNameT&& value) {
50 SetBucketName(std::forward<BucketNameT>(value));
51 return *this;
52 }
54
56
61 inline const Aws::String& GetManifestKey() const { return m_manifestKey; }
62 inline bool ManifestKeyHasBeenSet() const { return m_manifestKeyHasBeenSet; }
63 template <typename ManifestKeyT = Aws::String>
64 void SetManifestKey(ManifestKeyT&& value) {
65 m_manifestKeyHasBeenSet = true;
66 m_manifestKey = std::forward<ManifestKeyT>(value);
67 }
68 template <typename ManifestKeyT = Aws::String>
69 S3Destination& WithManifestKey(ManifestKeyT&& value) {
70 SetManifestKey(std::forward<ManifestKeyT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
81 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
82 template <typename RoleArnT = Aws::String>
83 void SetRoleArn(RoleArnT&& value) {
84 m_roleArnHasBeenSet = true;
85 m_roleArn = std::forward<RoleArnT>(value);
86 }
87 template <typename RoleArnT = Aws::String>
88 S3Destination& WithRoleArn(RoleArnT&& value) {
89 SetRoleArn(std::forward<RoleArnT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_bucketName;
95
96 Aws::String m_manifestKey;
97
98 Aws::String m_roleArn;
99 bool m_bucketNameHasBeenSet = false;
100 bool m_manifestKeyHasBeenSet = false;
101 bool m_roleArnHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace MediaPackage
106} // namespace Aws
const Aws::String & GetManifestKey() const
AWS_MEDIAPACKAGE_API S3Destination()=default
S3Destination & WithRoleArn(RoleArnT &&value)
const Aws::String & GetBucketName() const
void SetManifestKey(ManifestKeyT &&value)
AWS_MEDIAPACKAGE_API S3Destination(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRoleArn() const
AWS_MEDIAPACKAGE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBucketName(BucketNameT &&value)
S3Destination & WithBucketName(BucketNameT &&value)
S3Destination & WithManifestKey(ManifestKeyT &&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