AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3DestinationSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/S3DestinationAccessControl.h>
9#include <aws/mediaconvert/model/S3EncryptionSettings.h>
10#include <aws/mediaconvert/model/S3StorageClass.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaConvert
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDIACONVERT_API S3DestinationSettings();
37 AWS_MEDIACONVERT_API S3DestinationSettings(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const S3DestinationAccessControl& GetAccessControl() const{ return m_accessControl; }
49 inline bool AccessControlHasBeenSet() const { return m_accessControlHasBeenSet; }
50 inline void SetAccessControl(const S3DestinationAccessControl& value) { m_accessControlHasBeenSet = true; m_accessControl = value; }
51 inline void SetAccessControl(S3DestinationAccessControl&& value) { m_accessControlHasBeenSet = true; m_accessControl = std::move(value); }
53 inline S3DestinationSettings& WithAccessControl(S3DestinationAccessControl&& value) { SetAccessControl(std::move(value)); return *this;}
55
57
61 inline const S3EncryptionSettings& GetEncryption() const{ return m_encryption; }
62 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
63 inline void SetEncryption(const S3EncryptionSettings& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
64 inline void SetEncryption(S3EncryptionSettings&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
65 inline S3DestinationSettings& WithEncryption(const S3EncryptionSettings& value) { SetEncryption(value); return *this;}
66 inline S3DestinationSettings& WithEncryption(S3EncryptionSettings&& value) { SetEncryption(std::move(value)); return *this;}
68
70
76 inline const S3StorageClass& GetStorageClass() const{ return m_storageClass; }
77 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
78 inline void SetStorageClass(const S3StorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; }
79 inline void SetStorageClass(S3StorageClass&& value) { m_storageClassHasBeenSet = true; m_storageClass = std::move(value); }
80 inline S3DestinationSettings& WithStorageClass(const S3StorageClass& value) { SetStorageClass(value); return *this;}
81 inline S3DestinationSettings& WithStorageClass(S3StorageClass&& value) { SetStorageClass(std::move(value)); return *this;}
83 private:
84
85 S3DestinationAccessControl m_accessControl;
86 bool m_accessControlHasBeenSet = false;
87
88 S3EncryptionSettings m_encryption;
89 bool m_encryptionHasBeenSet = false;
90
91 S3StorageClass m_storageClass;
92 bool m_storageClassHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace MediaConvert
97} // namespace Aws
S3DestinationSettings & WithStorageClass(const S3StorageClass &value)
S3DestinationSettings & WithAccessControl(S3DestinationAccessControl &&value)
void SetStorageClass(const S3StorageClass &value)
AWS_MEDIACONVERT_API S3DestinationSettings(Aws::Utils::Json::JsonView jsonValue)
void SetAccessControl(const S3DestinationAccessControl &value)
void SetEncryption(const S3EncryptionSettings &value)
void SetEncryption(S3EncryptionSettings &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
S3DestinationSettings & WithEncryption(S3EncryptionSettings &&value)
S3DestinationSettings & WithEncryption(const S3EncryptionSettings &value)
S3DestinationSettings & WithAccessControl(const S3DestinationAccessControl &value)
const S3EncryptionSettings & GetEncryption() const
const S3DestinationAccessControl & GetAccessControl() const
S3DestinationSettings & WithStorageClass(S3StorageClass &&value)
AWS_MEDIACONVERT_API S3DestinationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccessControl(S3DestinationAccessControl &&value)
Aws::Utils::Json::JsonValue JsonValue