AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateStorageConfigurationRequest.h
1
6#pragma once
7#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
8#include <aws/ivs-realtime/IvsrealtimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ivs-realtime/model/S3StorageConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ivsrealtime
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IVSREALTIME_API CreateStorageConfigurationRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateStorageConfiguration"; }
33
34 AWS_IVSREALTIME_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetName() const{ return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
44 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
45 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
46 inline CreateStorageConfigurationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
47 inline CreateStorageConfigurationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
48 inline CreateStorageConfigurationRequest& WithName(const char* value) { SetName(value); return *this;}
50
52
56 inline const S3StorageConfiguration& GetS3() const{ return m_s3; }
57 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
58 inline void SetS3(const S3StorageConfiguration& value) { m_s3HasBeenSet = true; m_s3 = value; }
59 inline void SetS3(S3StorageConfiguration&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); }
60 inline CreateStorageConfigurationRequest& WithS3(const S3StorageConfiguration& value) { SetS3(value); return *this;}
61 inline CreateStorageConfigurationRequest& WithS3(S3StorageConfiguration&& value) { SetS3(std::move(value)); return *this;}
63
65
74 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
75 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
76 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
77 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
79 inline CreateStorageConfigurationRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
80 inline CreateStorageConfigurationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
81 inline CreateStorageConfigurationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
82 inline CreateStorageConfigurationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
83 inline CreateStorageConfigurationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
84 inline CreateStorageConfigurationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
85 inline CreateStorageConfigurationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
86 inline CreateStorageConfigurationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
88 private:
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92
94 bool m_s3HasBeenSet = false;
95
97 bool m_tagsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace ivsrealtime
102} // namespace Aws
CreateStorageConfigurationRequest & AddTags(const char *key, const char *value)
CreateStorageConfigurationRequest & AddTags(Aws::String &&key, const char *value)
AWS_IVSREALTIME_API Aws::String SerializePayload() const override
CreateStorageConfigurationRequest & WithName(Aws::String &&value)
CreateStorageConfigurationRequest & WithS3(const S3StorageConfiguration &value)
CreateStorageConfigurationRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateStorageConfigurationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateStorageConfigurationRequest & AddTags(const char *key, Aws::String &&value)
CreateStorageConfigurationRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateStorageConfigurationRequest & WithName(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateStorageConfigurationRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateStorageConfigurationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateStorageConfigurationRequest & WithS3(S3StorageConfiguration &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateStorageConfigurationRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateStorageConfigurationRequest & WithName(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