AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateStorageConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivs-realtime/IvsrealtimeRequest.h>
10#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
11#include <aws/ivs-realtime/model/S3StorageConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ivsrealtime {
17namespace Model {
18
22 public:
23 AWS_IVSREALTIME_API CreateStorageConfigurationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateStorageConfiguration"; }
30
31 AWS_IVSREALTIME_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetName() const { return m_name; }
38 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
39 template <typename NameT = Aws::String>
40 void SetName(NameT&& value) {
41 m_nameHasBeenSet = true;
42 m_name = std::forward<NameT>(value);
43 }
44 template <typename NameT = Aws::String>
46 SetName(std::forward<NameT>(value));
47 return *this;
48 }
50
52
56 inline const S3StorageConfiguration& GetS3() const { return m_s3; }
57 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
58 template <typename S3T = S3StorageConfiguration>
59 void SetS3(S3T&& value) {
60 m_s3HasBeenSet = true;
61 m_s3 = std::forward<S3T>(value);
62 }
63 template <typename S3T = S3StorageConfiguration>
65 SetS3(std::forward<S3T>(value));
66 return *this;
67 }
69
71
80 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
81 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
82 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
83 void SetTags(TagsT&& value) {
84 m_tagsHasBeenSet = true;
85 m_tags = std::forward<TagsT>(value);
86 }
87 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
89 SetTags(std::forward<TagsT>(value));
90 return *this;
91 }
92 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
93 CreateStorageConfigurationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
94 m_tagsHasBeenSet = true;
95 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
96 return *this;
97 }
99 private:
100 Aws::String m_name;
101
103
105 bool m_nameHasBeenSet = false;
106 bool m_s3HasBeenSet = false;
107 bool m_tagsHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace ivsrealtime
112} // namespace Aws
AWS_IVSREALTIME_API Aws::String SerializePayload() const override
CreateStorageConfigurationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_IVSREALTIME_API CreateStorageConfigurationRequest()=default
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