AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StorageConfiguration.h
1
6#pragma once
7#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivs-realtime/model/S3StorageConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSMap.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 ivsrealtime
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IVSREALTIME_API StorageConfiguration();
38 AWS_IVSREALTIME_API StorageConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline StorageConfiguration& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline StorageConfiguration& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline StorageConfiguration& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline StorageConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline StorageConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline StorageConfiguration& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const S3StorageConfiguration& GetS3() const{ return m_s3; }
76 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
77 inline void SetS3(const S3StorageConfiguration& value) { m_s3HasBeenSet = true; m_s3 = value; }
78 inline void SetS3(S3StorageConfiguration&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); }
79 inline StorageConfiguration& WithS3(const S3StorageConfiguration& value) { SetS3(value); return *this;}
80 inline StorageConfiguration& WithS3(S3StorageConfiguration&& value) { SetS3(std::move(value)); return *this;}
82
84
93 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
94 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
95 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
96 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
97 inline StorageConfiguration& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
98 inline StorageConfiguration& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
99 inline StorageConfiguration& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
100 inline StorageConfiguration& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
101 inline StorageConfiguration& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
102 inline StorageConfiguration& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
103 inline StorageConfiguration& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
104 inline StorageConfiguration& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
105 inline StorageConfiguration& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
107 private:
108
109 Aws::String m_arn;
110 bool m_arnHasBeenSet = false;
111
112 Aws::String m_name;
113 bool m_nameHasBeenSet = false;
114
116 bool m_s3HasBeenSet = false;
117
119 bool m_tagsHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace ivsrealtime
124} // namespace Aws
StorageConfiguration & WithName(const char *value)
const S3StorageConfiguration & GetS3() const
StorageConfiguration & AddTags(const Aws::String &key, const Aws::String &value)
StorageConfiguration & WithS3(S3StorageConfiguration &&value)
StorageConfiguration & WithArn(const char *value)
StorageConfiguration & WithName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
StorageConfiguration & WithArn(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
StorageConfiguration & AddTags(Aws::String &&key, const char *value)
StorageConfiguration & AddTags(Aws::String &&key, Aws::String &&value)
void SetS3(const S3StorageConfiguration &value)
AWS_IVSREALTIME_API StorageConfiguration(Aws::Utils::Json::JsonView jsonValue)
StorageConfiguration & AddTags(const char *key, Aws::String &&value)
void SetS3(S3StorageConfiguration &&value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
StorageConfiguration & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
StorageConfiguration & WithS3(const S3StorageConfiguration &value)
StorageConfiguration & WithName(Aws::String &&value)
StorageConfiguration & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
StorageConfiguration & WithArn(Aws::String &&value)
StorageConfiguration & AddTags(const char *key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_IVSREALTIME_API StorageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
StorageConfiguration & AddTags(const Aws::String &key, Aws::String &&value)
StorageConfiguration & AddTags(Aws::String &&key, const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue