AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PipelineOutputConfig.h
1
6#pragma once
7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elastictranscoder/model/Permission.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 ElasticTranscoder
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_ELASTICTRANSCODER_API PipelineOutputConfig();
38 AWS_ELASTICTRANSCODER_API PipelineOutputConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ELASTICTRANSCODER_API PipelineOutputConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
59 inline const Aws::String& GetBucket() const{ return m_bucket; }
60 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
61 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
62 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
63 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
64 inline PipelineOutputConfig& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
65 inline PipelineOutputConfig& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
66 inline PipelineOutputConfig& WithBucket(const char* value) { SetBucket(value); return *this;}
68
70
75 inline const Aws::String& GetStorageClass() const{ return m_storageClass; }
76 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
77 inline void SetStorageClass(const Aws::String& value) { m_storageClassHasBeenSet = true; m_storageClass = value; }
78 inline void SetStorageClass(Aws::String&& value) { m_storageClassHasBeenSet = true; m_storageClass = std::move(value); }
79 inline void SetStorageClass(const char* value) { m_storageClassHasBeenSet = true; m_storageClass.assign(value); }
80 inline PipelineOutputConfig& WithStorageClass(const Aws::String& value) { SetStorageClass(value); return *this;}
81 inline PipelineOutputConfig& WithStorageClass(Aws::String&& value) { SetStorageClass(std::move(value)); return *this;}
82 inline PipelineOutputConfig& WithStorageClass(const char* value) { SetStorageClass(value); return *this;}
84
86
100 inline const Aws::Vector<Permission>& GetPermissions() const{ return m_permissions; }
101 inline bool PermissionsHasBeenSet() const { return m_permissionsHasBeenSet; }
102 inline void SetPermissions(const Aws::Vector<Permission>& value) { m_permissionsHasBeenSet = true; m_permissions = value; }
103 inline void SetPermissions(Aws::Vector<Permission>&& value) { m_permissionsHasBeenSet = true; m_permissions = std::move(value); }
104 inline PipelineOutputConfig& WithPermissions(const Aws::Vector<Permission>& value) { SetPermissions(value); return *this;}
105 inline PipelineOutputConfig& WithPermissions(Aws::Vector<Permission>&& value) { SetPermissions(std::move(value)); return *this;}
106 inline PipelineOutputConfig& AddPermissions(const Permission& value) { m_permissionsHasBeenSet = true; m_permissions.push_back(value); return *this; }
107 inline PipelineOutputConfig& AddPermissions(Permission&& value) { m_permissionsHasBeenSet = true; m_permissions.push_back(std::move(value)); return *this; }
109 private:
110
111 Aws::String m_bucket;
112 bool m_bucketHasBeenSet = false;
113
114 Aws::String m_storageClass;
115 bool m_storageClassHasBeenSet = false;
116
117 Aws::Vector<Permission> m_permissions;
118 bool m_permissionsHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace ElasticTranscoder
123} // namespace Aws
PipelineOutputConfig & WithStorageClass(const char *value)
AWS_ELASTICTRANSCODER_API PipelineOutputConfig(Aws::Utils::Json::JsonView jsonValue)
PipelineOutputConfig & AddPermissions(Permission &&value)
const Aws::Vector< Permission > & GetPermissions() const
PipelineOutputConfig & AddPermissions(const Permission &value)
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
PipelineOutputConfig & WithPermissions(Aws::Vector< Permission > &&value)
void SetPermissions(const Aws::Vector< Permission > &value)
PipelineOutputConfig & WithStorageClass(const Aws::String &value)
PipelineOutputConfig & WithBucket(Aws::String &&value)
PipelineOutputConfig & WithStorageClass(Aws::String &&value)
PipelineOutputConfig & WithBucket(const char *value)
PipelineOutputConfig & WithPermissions(const Aws::Vector< Permission > &value)
PipelineOutputConfig & WithBucket(const Aws::String &value)
void SetPermissions(Aws::Vector< Permission > &&value)
AWS_ELASTICTRANSCODER_API PipelineOutputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue