AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateIngestConfigurationRequest.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/core/utils/memory/stl/AWSMap.h>
11#include <aws/ivs-realtime/model/IngestProtocol.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ivsrealtime
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IVSREALTIME_API CreateIngestConfigurationRequest() = 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 "CreateIngestConfiguration"; }
33
34 AWS_IVSREALTIME_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template<typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
46 template<typename NameT = Aws::String>
47 CreateIngestConfigurationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetStageArn() const { return m_stageArn; }
55 inline bool StageArnHasBeenSet() const { return m_stageArnHasBeenSet; }
56 template<typename StageArnT = Aws::String>
57 void SetStageArn(StageArnT&& value) { m_stageArnHasBeenSet = true; m_stageArn = std::forward<StageArnT>(value); }
58 template<typename StageArnT = Aws::String>
59 CreateIngestConfigurationRequest& WithStageArn(StageArnT&& value) { SetStageArn(std::forward<StageArnT>(value)); return *this;}
61
63
70 inline const Aws::String& GetUserId() const { return m_userId; }
71 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
72 template<typename UserIdT = Aws::String>
73 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet = true; m_userId = std::forward<UserIdT>(value); }
74 template<typename UserIdT = Aws::String>
75 CreateIngestConfigurationRequest& WithUserId(UserIdT&& value) { SetUserId(std::forward<UserIdT>(value)); return *this;}
77
79
86 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const { return m_attributes; }
87 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
88 template<typename AttributesT = Aws::Map<Aws::String, Aws::String>>
89 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
90 template<typename AttributesT = Aws::Map<Aws::String, Aws::String>>
91 CreateIngestConfigurationRequest& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
92 template<typename AttributesKeyT = Aws::String, typename AttributesValueT = Aws::String>
93 CreateIngestConfigurationRequest& AddAttributes(AttributesKeyT&& key, AttributesValueT&& value) {
94 m_attributesHasBeenSet = true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value)); return *this;
95 }
97
99
104 inline IngestProtocol GetIngestProtocol() const { return m_ingestProtocol; }
105 inline bool IngestProtocolHasBeenSet() const { return m_ingestProtocolHasBeenSet; }
106 inline void SetIngestProtocol(IngestProtocol value) { m_ingestProtocolHasBeenSet = true; m_ingestProtocol = value; }
109
111
116 inline bool GetInsecureIngest() const { return m_insecureIngest; }
117 inline bool InsecureIngestHasBeenSet() const { return m_insecureIngestHasBeenSet; }
118 inline void SetInsecureIngest(bool value) { m_insecureIngestHasBeenSet = true; m_insecureIngest = value; }
119 inline CreateIngestConfigurationRequest& WithInsecureIngest(bool value) { SetInsecureIngest(value); return *this;}
121
123
132 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
133 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
134 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
135 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
136 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
137 CreateIngestConfigurationRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
138 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
139 CreateIngestConfigurationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
140 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
141 }
143 private:
144
145 Aws::String m_name;
146 bool m_nameHasBeenSet = false;
147
148 Aws::String m_stageArn;
149 bool m_stageArnHasBeenSet = false;
150
151 Aws::String m_userId;
152 bool m_userIdHasBeenSet = false;
153
155 bool m_attributesHasBeenSet = false;
156
157 IngestProtocol m_ingestProtocol{IngestProtocol::NOT_SET};
158 bool m_ingestProtocolHasBeenSet = false;
159
160 bool m_insecureIngest{false};
161 bool m_insecureIngestHasBeenSet = false;
162
164 bool m_tagsHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace ivsrealtime
169} // namespace Aws
CreateIngestConfigurationRequest & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
AWS_IVSREALTIME_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateIngestConfigurationRequest & WithStageArn(StageArnT &&value)
AWS_IVSREALTIME_API CreateIngestConfigurationRequest()=default
CreateIngestConfigurationRequest & WithUserId(UserIdT &&value)
CreateIngestConfigurationRequest & WithAttributes(AttributesT &&value)
CreateIngestConfigurationRequest & WithIngestProtocol(IngestProtocol value)
CreateIngestConfigurationRequest & AddTags(TagsKeyT &&key, TagsValueT &&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