AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename NameT = Aws::String>
44 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
45 template<typename NameT = Aws::String>
46 CreateStorageConfigurationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
48
50
54 inline const S3StorageConfiguration& GetS3() const { return m_s3; }
55 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
56 template<typename S3T = S3StorageConfiguration>
57 void SetS3(S3T&& value) { m_s3HasBeenSet = true; m_s3 = std::forward<S3T>(value); }
58 template<typename S3T = S3StorageConfiguration>
59 CreateStorageConfigurationRequest& WithS3(S3T&& value) { SetS3(std::forward<S3T>(value)); return *this;}
61
63
72 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
73 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
74 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
75 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
76 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
77 CreateStorageConfigurationRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
78 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
79 CreateStorageConfigurationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
80 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
81 }
83 private:
84
85 Aws::String m_name;
86 bool m_nameHasBeenSet = false;
87
89 bool m_s3HasBeenSet = false;
90
92 bool m_tagsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace ivsrealtime
97} // 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