AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StorageConfigurationSummary.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 StorageConfigurationSummary();
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 StorageConfigurationSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline StorageConfigurationSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline StorageConfigurationSummary& 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 StorageConfigurationSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline StorageConfigurationSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline StorageConfigurationSummary& 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 StorageConfigurationSummary& WithS3(const S3StorageConfiguration& value) { SetS3(value); return *this;}
80 inline StorageConfigurationSummary& 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); }
98 inline StorageConfigurationSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
99 inline StorageConfigurationSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
100 inline StorageConfigurationSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
101 inline StorageConfigurationSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
102 inline StorageConfigurationSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
103 inline StorageConfigurationSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
104 inline StorageConfigurationSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
105 inline StorageConfigurationSummary& 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
StorageConfigurationSummary & AddTags(const char *key, const char *value)
StorageConfigurationSummary & WithName(const char *value)
StorageConfigurationSummary & AddTags(const Aws::String &key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
StorageConfigurationSummary & WithS3(S3StorageConfiguration &&value)
StorageConfigurationSummary & WithName(Aws::String &&value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IVSREALTIME_API StorageConfigurationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
StorageConfigurationSummary & WithArn(const Aws::String &value)
StorageConfigurationSummary & AddTags(const Aws::String &key, const Aws::String &value)
StorageConfigurationSummary & AddTags(Aws::String &&key, const Aws::String &value)
StorageConfigurationSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
StorageConfigurationSummary & WithArn(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
StorageConfigurationSummary & AddTags(const char *key, Aws::String &&value)
StorageConfigurationSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
StorageConfigurationSummary & AddTags(Aws::String &&key, const char *value)
StorageConfigurationSummary & WithS3(const S3StorageConfiguration &value)
StorageConfigurationSummary & WithName(const Aws::String &value)
StorageConfigurationSummary & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
StorageConfigurationSummary & WithArn(Aws::String &&value)
AWS_IVSREALTIME_API StorageConfigurationSummary(Aws::Utils::Json::JsonView jsonValue)
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