AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
45 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
46 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
47 inline CreateIngestConfigurationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline CreateIngestConfigurationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline CreateIngestConfigurationRequest& WithName(const char* value) { SetName(value); return *this;}
51
53
56 inline const Aws::String& GetStageArn() const{ return m_stageArn; }
57 inline bool StageArnHasBeenSet() const { return m_stageArnHasBeenSet; }
58 inline void SetStageArn(const Aws::String& value) { m_stageArnHasBeenSet = true; m_stageArn = value; }
59 inline void SetStageArn(Aws::String&& value) { m_stageArnHasBeenSet = true; m_stageArn = std::move(value); }
60 inline void SetStageArn(const char* value) { m_stageArnHasBeenSet = true; m_stageArn.assign(value); }
61 inline CreateIngestConfigurationRequest& WithStageArn(const Aws::String& value) { SetStageArn(value); return *this;}
62 inline CreateIngestConfigurationRequest& WithStageArn(Aws::String&& value) { SetStageArn(std::move(value)); return *this;}
63 inline CreateIngestConfigurationRequest& WithStageArn(const char* value) { SetStageArn(value); return *this;}
65
67
74 inline const Aws::String& GetUserId() const{ return m_userId; }
75 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
76 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
77 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
78 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
79 inline CreateIngestConfigurationRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
80 inline CreateIngestConfigurationRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
81 inline CreateIngestConfigurationRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
83
85
92 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
93 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
94 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
95 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
98 inline CreateIngestConfigurationRequest& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
99 inline CreateIngestConfigurationRequest& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
100 inline CreateIngestConfigurationRequest& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
101 inline CreateIngestConfigurationRequest& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
102 inline CreateIngestConfigurationRequest& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
103 inline CreateIngestConfigurationRequest& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
104 inline CreateIngestConfigurationRequest& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
106
108
113 inline const IngestProtocol& GetIngestProtocol() const{ return m_ingestProtocol; }
114 inline bool IngestProtocolHasBeenSet() const { return m_ingestProtocolHasBeenSet; }
115 inline void SetIngestProtocol(const IngestProtocol& value) { m_ingestProtocolHasBeenSet = true; m_ingestProtocol = value; }
116 inline void SetIngestProtocol(IngestProtocol&& value) { m_ingestProtocolHasBeenSet = true; m_ingestProtocol = std::move(value); }
118 inline CreateIngestConfigurationRequest& WithIngestProtocol(IngestProtocol&& value) { SetIngestProtocol(std::move(value)); return *this;}
120
122
127 inline bool GetInsecureIngest() const{ return m_insecureIngest; }
128 inline bool InsecureIngestHasBeenSet() const { return m_insecureIngestHasBeenSet; }
129 inline void SetInsecureIngest(bool value) { m_insecureIngestHasBeenSet = true; m_insecureIngest = value; }
130 inline CreateIngestConfigurationRequest& WithInsecureIngest(bool value) { SetInsecureIngest(value); return *this;}
132
134
143 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
144 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
145 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
146 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
148 inline CreateIngestConfigurationRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
149 inline CreateIngestConfigurationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
150 inline CreateIngestConfigurationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
151 inline CreateIngestConfigurationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
152 inline CreateIngestConfigurationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
153 inline CreateIngestConfigurationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
154 inline CreateIngestConfigurationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
155 inline CreateIngestConfigurationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
157 private:
158
159 Aws::String m_name;
160 bool m_nameHasBeenSet = false;
161
162 Aws::String m_stageArn;
163 bool m_stageArnHasBeenSet = false;
164
165 Aws::String m_userId;
166 bool m_userIdHasBeenSet = false;
167
169 bool m_attributesHasBeenSet = false;
170
171 IngestProtocol m_ingestProtocol;
172 bool m_ingestProtocolHasBeenSet = false;
173
174 bool m_insecureIngest;
175 bool m_insecureIngestHasBeenSet = false;
176
178 bool m_tagsHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace ivsrealtime
183} // namespace Aws
CreateIngestConfigurationRequest & WithName(const Aws::String &value)
CreateIngestConfigurationRequest & WithIngestProtocol(IngestProtocol &&value)
CreateIngestConfigurationRequest & AddAttributes(const Aws::String &key, const Aws::String &value)
CreateIngestConfigurationRequest & WithName(const char *value)
CreateIngestConfigurationRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateIngestConfigurationRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateIngestConfigurationRequest & WithUserId(const char *value)
CreateIngestConfigurationRequest & AddTags(const char *key, Aws::String &&value)
CreateIngestConfigurationRequest & AddTags(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
AWS_IVSREALTIME_API Aws::String SerializePayload() const override
CreateIngestConfigurationRequest & WithStageArn(const char *value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
CreateIngestConfigurationRequest & WithStageArn(const Aws::String &value)
CreateIngestConfigurationRequest & WithName(Aws::String &&value)
CreateIngestConfigurationRequest & AddAttributes(const Aws::String &key, Aws::String &&value)
CreateIngestConfigurationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateIngestConfigurationRequest & WithIngestProtocol(const IngestProtocol &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateIngestConfigurationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateIngestConfigurationRequest & AddAttributes(const char *key, Aws::String &&value)
CreateIngestConfigurationRequest & WithStageArn(Aws::String &&value)
CreateIngestConfigurationRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateIngestConfigurationRequest & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
CreateIngestConfigurationRequest & AddAttributes(const char *key, const char *value)
CreateIngestConfigurationRequest & WithUserId(const Aws::String &value)
CreateIngestConfigurationRequest & AddTags(Aws::String &&key, const char *value)
CreateIngestConfigurationRequest & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateIngestConfigurationRequest & WithUserId(Aws::String &&value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
CreateIngestConfigurationRequest & AddAttributes(Aws::String &&key, const char *value)
CreateIngestConfigurationRequest & AddAttributes(Aws::String &&key, const Aws::String &value)
CreateIngestConfigurationRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateIngestConfigurationRequest & AddAttributes(Aws::String &&key, 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