AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
S3DestinationConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace mediapackagev2 {
20namespace Model {
21
29 public:
30 AWS_MEDIAPACKAGEV2_API S3DestinationConfig() = default;
31 AWS_MEDIAPACKAGEV2_API S3DestinationConfig(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MEDIAPACKAGEV2_API S3DestinationConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetBucketName() const { return m_bucketName; }
40 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
41 template <typename BucketNameT = Aws::String>
42 void SetBucketName(BucketNameT&& value) {
43 m_bucketNameHasBeenSet = true;
44 m_bucketName = std::forward<BucketNameT>(value);
45 }
46 template <typename BucketNameT = Aws::String>
47 S3DestinationConfig& WithBucketName(BucketNameT&& value) {
48 SetBucketName(std::forward<BucketNameT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetDestinationPath() const { return m_destinationPath; }
59 inline bool DestinationPathHasBeenSet() const { return m_destinationPathHasBeenSet; }
60 template <typename DestinationPathT = Aws::String>
61 void SetDestinationPath(DestinationPathT&& value) {
62 m_destinationPathHasBeenSet = true;
63 m_destinationPath = std::forward<DestinationPathT>(value);
64 }
65 template <typename DestinationPathT = Aws::String>
66 S3DestinationConfig& WithDestinationPath(DestinationPathT&& value) {
67 SetDestinationPath(std::forward<DestinationPathT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_bucketName;
73
74 Aws::String m_destinationPath;
75 bool m_bucketNameHasBeenSet = false;
76 bool m_destinationPathHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace mediapackagev2
81} // namespace Aws
AWS_MEDIAPACKAGEV2_API S3DestinationConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGEV2_API S3DestinationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
S3DestinationConfig & WithBucketName(BucketNameT &&value)
AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIAPACKAGEV2_API S3DestinationConfig()=default
S3DestinationConfig & WithDestinationPath(DestinationPathT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue