AWS SDK for C++  1.9.106
AWS SDK for C++
PipelineOutputConfig.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace ElasticTranscoder
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
58  inline const Aws::String& GetBucket() const{ return m_bucket; }
59 
75  inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
76 
92  inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
93 
109  inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
110 
126  inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
127 
143  inline PipelineOutputConfig& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
144 
160  inline PipelineOutputConfig& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
161 
177  inline PipelineOutputConfig& WithBucket(const char* value) { SetBucket(value); return *this;}
178 
179 
185  inline const Aws::String& GetStorageClass() const{ return m_storageClass; }
186 
192  inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
193 
199  inline void SetStorageClass(const Aws::String& value) { m_storageClassHasBeenSet = true; m_storageClass = value; }
200 
206  inline void SetStorageClass(Aws::String&& value) { m_storageClassHasBeenSet = true; m_storageClass = std::move(value); }
207 
213  inline void SetStorageClass(const char* value) { m_storageClassHasBeenSet = true; m_storageClass.assign(value); }
214 
220  inline PipelineOutputConfig& WithStorageClass(const Aws::String& value) { SetStorageClass(value); return *this;}
221 
227  inline PipelineOutputConfig& WithStorageClass(Aws::String&& value) { SetStorageClass(std::move(value)); return *this;}
228 
234  inline PipelineOutputConfig& WithStorageClass(const char* value) { SetStorageClass(value); return *this;}
235 
236 
251  inline const Aws::Vector<Permission>& GetPermissions() const{ return m_permissions; }
252 
267  inline bool PermissionsHasBeenSet() const { return m_permissionsHasBeenSet; }
268 
283  inline void SetPermissions(const Aws::Vector<Permission>& value) { m_permissionsHasBeenSet = true; m_permissions = value; }
284 
299  inline void SetPermissions(Aws::Vector<Permission>&& value) { m_permissionsHasBeenSet = true; m_permissions = std::move(value); }
300 
315  inline PipelineOutputConfig& WithPermissions(const Aws::Vector<Permission>& value) { SetPermissions(value); return *this;}
316 
331  inline PipelineOutputConfig& WithPermissions(Aws::Vector<Permission>&& value) { SetPermissions(std::move(value)); return *this;}
332 
347  inline PipelineOutputConfig& AddPermissions(const Permission& value) { m_permissionsHasBeenSet = true; m_permissions.push_back(value); return *this; }
348 
363  inline PipelineOutputConfig& AddPermissions(Permission&& value) { m_permissionsHasBeenSet = true; m_permissions.push_back(std::move(value)); return *this; }
364 
365  private:
366 
367  Aws::String m_bucket;
368  bool m_bucketHasBeenSet;
369 
370  Aws::String m_storageClass;
371  bool m_storageClassHasBeenSet;
372 
373  Aws::Vector<Permission> m_permissions;
374  bool m_permissionsHasBeenSet;
375  };
376 
377 } // namespace Model
378 } // namespace ElasticTranscoder
379 } // namespace Aws
Aws::ElasticTranscoder::Model::PipelineOutputConfig::GetStorageClass
const Aws::String & GetStorageClass() const
Definition: PipelineOutputConfig.h:185
Aws::ElasticTranscoder::Model::PipelineOutputConfig::BucketHasBeenSet
bool BucketHasBeenSet() const
Definition: PipelineOutputConfig.h:75
Aws::ElasticTranscoder::Model::PipelineOutputConfig::operator=
PipelineOutputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticTranscoder::Model::PipelineOutputConfig::PipelineOutputConfig
PipelineOutputConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticTranscoder::Model::PipelineOutputConfig::SetBucket
void SetBucket(const char *value)
Definition: PipelineOutputConfig.h:126
Aws::ElasticTranscoder::Model::PipelineOutputConfig::WithBucket
PipelineOutputConfig & WithBucket(Aws::String &&value)
Definition: PipelineOutputConfig.h:160
Aws::ElasticTranscoder::Model::PipelineOutputConfig::SetBucket
void SetBucket(Aws::String &&value)
Definition: PipelineOutputConfig.h:109
Aws::ElasticTranscoder::Model::PipelineOutputConfig::WithBucket
PipelineOutputConfig & WithBucket(const Aws::String &value)
Definition: PipelineOutputConfig.h:143
Aws::ElasticTranscoder::Model::PipelineOutputConfig::WithStorageClass
PipelineOutputConfig & WithStorageClass(const char *value)
Definition: PipelineOutputConfig.h:234
Aws::ElasticTranscoder::Model::PipelineOutputConfig::AddPermissions
PipelineOutputConfig & AddPermissions(Permission &&value)
Definition: PipelineOutputConfig.h:363
AWS_ELASTICTRANSCODER_API
#define AWS_ELASTICTRANSCODER_API
Definition: ElasticTranscoder_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElasticTranscoder::Model::PipelineOutputConfig::SetStorageClass
void SetStorageClass(Aws::String &&value)
Definition: PipelineOutputConfig.h:206
AWSVector.h
Aws::ElasticTranscoder::Model::PipelineOutputConfig::GetPermissions
const Aws::Vector< Permission > & GetPermissions() const
Definition: PipelineOutputConfig.h:251
Aws::ElasticTranscoder::Model::Permission
Definition: Permission.h:33
Aws::ElasticTranscoder::Model::PipelineOutputConfig::WithPermissions
PipelineOutputConfig & WithPermissions(const Aws::Vector< Permission > &value)
Definition: PipelineOutputConfig.h:315
Aws::ElasticTranscoder::Model::PipelineOutputConfig::SetStorageClass
void SetStorageClass(const Aws::String &value)
Definition: PipelineOutputConfig.h:199
Aws::ElasticTranscoder::Model::PipelineOutputConfig::SetPermissions
void SetPermissions(const Aws::Vector< Permission > &value)
Definition: PipelineOutputConfig.h:283
Aws::ElasticTranscoder::Model::PipelineOutputConfig::WithPermissions
PipelineOutputConfig & WithPermissions(Aws::Vector< Permission > &&value)
Definition: PipelineOutputConfig.h:331
Aws::ElasticTranscoder::Model::PipelineOutputConfig::SetPermissions
void SetPermissions(Aws::Vector< Permission > &&value)
Definition: PipelineOutputConfig.h:299
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticTranscoder::Model::PipelineOutputConfig::SetBucket
void SetBucket(const Aws::String &value)
Definition: PipelineOutputConfig.h:92
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticTranscoder::Model::PipelineOutputConfig::PipelineOutputConfig
PipelineOutputConfig()
Aws::ElasticTranscoder::Model::PipelineOutputConfig::WithStorageClass
PipelineOutputConfig & WithStorageClass(Aws::String &&value)
Definition: PipelineOutputConfig.h:227
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticTranscoder::Model::PipelineOutputConfig::WithStorageClass
PipelineOutputConfig & WithStorageClass(const Aws::String &value)
Definition: PipelineOutputConfig.h:220
Aws::ElasticTranscoder::Model::PipelineOutputConfig::PermissionsHasBeenSet
bool PermissionsHasBeenSet() const
Definition: PipelineOutputConfig.h:267
Aws::ElasticTranscoder::Model::PipelineOutputConfig::WithBucket
PipelineOutputConfig & WithBucket(const char *value)
Definition: PipelineOutputConfig.h:177
Aws::ElasticTranscoder::Model::PipelineOutputConfig
Definition: PipelineOutputConfig.h:35
Aws::ElasticTranscoder::Model::PipelineOutputConfig::SetStorageClass
void SetStorageClass(const char *value)
Definition: PipelineOutputConfig.h:213
Permission.h
Aws::ElasticTranscoder::Model::PipelineOutputConfig::StorageClassHasBeenSet
bool StorageClassHasBeenSet() const
Definition: PipelineOutputConfig.h:192
Aws::ElasticTranscoder::Model::PipelineOutputConfig::GetBucket
const Aws::String & GetBucket() const
Definition: PipelineOutputConfig.h:58
ElasticTranscoder_EXPORTS.h
Aws::ElasticTranscoder::Model::PipelineOutputConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticTranscoder::Model::PipelineOutputConfig::AddPermissions
PipelineOutputConfig & AddPermissions(const Permission &value)
Definition: PipelineOutputConfig.h:347