AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename BucketNameT = Aws::String>
50 void SetBucketName(BucketNameT&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::forward<BucketNameT>(value); }
51 template<typename BucketNameT = Aws::String>
52 S3Destination& WithBucketName(BucketNameT&& value) { SetBucketName(std::forward<BucketNameT>(value)); return *this;}
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) { m_manifestKeyHasBeenSet = true; m_manifestKey = std::forward<ManifestKeyT>(value); }
65 template<typename ManifestKeyT = Aws::String>
66 S3Destination& WithManifestKey(ManifestKeyT&& value) { SetManifestKey(std::forward<ManifestKeyT>(value)); return *this;}
68
70
74 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
75 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
76 template<typename RoleArnT = Aws::String>
77 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
78 template<typename RoleArnT = Aws::String>
79 S3Destination& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
81 private:
82
83 Aws::String m_bucketName;
84 bool m_bucketNameHasBeenSet = false;
85
86 Aws::String m_manifestKey;
87 bool m_manifestKeyHasBeenSet = false;
88
89 Aws::String m_roleArn;
90 bool m_roleArnHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace MediaPackage
95} // 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