AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
CreateIngestionDestinationRequest.h
1
6#pragma once
7#include <aws/appfabric/AppFabricRequest.h>
8#include <aws/appfabric/AppFabric_EXPORTS.h>
9#include <aws/appfabric/model/DestinationConfiguration.h>
10#include <aws/appfabric/model/ProcessingConfiguration.h>
11#include <aws/appfabric/model/Tag.h>
12#include <aws/core/utils/UUID.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15
16#include <utility>
17
18namespace Aws {
19namespace AppFabric {
20namespace Model {
21
25 public:
26 AWS_APPFABRIC_API CreateIngestionDestinationRequest() = 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 "CreateIngestionDestination"; }
33
34 AWS_APPFABRIC_API Aws::String SerializePayload() const override;
35
37
41 inline const Aws::String& GetAppBundleIdentifier() const { return m_appBundleIdentifier; }
42 inline bool AppBundleIdentifierHasBeenSet() const { return m_appBundleIdentifierHasBeenSet; }
43 template <typename AppBundleIdentifierT = Aws::String>
44 void SetAppBundleIdentifier(AppBundleIdentifierT&& value) {
45 m_appBundleIdentifierHasBeenSet = true;
46 m_appBundleIdentifier = std::forward<AppBundleIdentifierT>(value);
47 }
48 template <typename AppBundleIdentifierT = Aws::String>
50 SetAppBundleIdentifier(std::forward<AppBundleIdentifierT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetIngestionIdentifier() const { return m_ingestionIdentifier; }
61 inline bool IngestionIdentifierHasBeenSet() const { return m_ingestionIdentifierHasBeenSet; }
62 template <typename IngestionIdentifierT = Aws::String>
63 void SetIngestionIdentifier(IngestionIdentifierT&& value) {
64 m_ingestionIdentifierHasBeenSet = true;
65 m_ingestionIdentifier = std::forward<IngestionIdentifierT>(value);
66 }
67 template <typename IngestionIdentifierT = Aws::String>
69 SetIngestionIdentifier(std::forward<IngestionIdentifierT>(value));
70 return *this;
71 }
73
75
78 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
79 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
80 template <typename ProcessingConfigurationT = ProcessingConfiguration>
81 void SetProcessingConfiguration(ProcessingConfigurationT&& value) {
82 m_processingConfigurationHasBeenSet = true;
83 m_processingConfiguration = std::forward<ProcessingConfigurationT>(value);
84 }
85 template <typename ProcessingConfigurationT = ProcessingConfiguration>
87 SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value));
88 return *this;
89 }
91
93
96 inline const DestinationConfiguration& GetDestinationConfiguration() const { return m_destinationConfiguration; }
97 inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
98 template <typename DestinationConfigurationT = DestinationConfiguration>
99 void SetDestinationConfiguration(DestinationConfigurationT&& value) {
100 m_destinationConfigurationHasBeenSet = true;
101 m_destinationConfiguration = std::forward<DestinationConfigurationT>(value);
102 }
103 template <typename DestinationConfigurationT = DestinationConfiguration>
105 SetDestinationConfiguration(std::forward<DestinationConfigurationT>(value));
106 return *this;
107 }
109
111
123 inline const Aws::String& GetClientToken() const { return m_clientToken; }
124 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
125 template <typename ClientTokenT = Aws::String>
126 void SetClientToken(ClientTokenT&& value) {
127 m_clientTokenHasBeenSet = true;
128 m_clientToken = std::forward<ClientTokenT>(value);
129 }
130 template <typename ClientTokenT = Aws::String>
132 SetClientToken(std::forward<ClientTokenT>(value));
133 return *this;
134 }
136
138
142 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
143 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
144 template <typename TagsT = Aws::Vector<Tag>>
145 void SetTags(TagsT&& value) {
146 m_tagsHasBeenSet = true;
147 m_tags = std::forward<TagsT>(value);
148 }
149 template <typename TagsT = Aws::Vector<Tag>>
151 SetTags(std::forward<TagsT>(value));
152 return *this;
153 }
154 template <typename TagsT = Tag>
156 m_tagsHasBeenSet = true;
157 m_tags.emplace_back(std::forward<TagsT>(value));
158 return *this;
159 }
161 private:
162 Aws::String m_appBundleIdentifier;
163 bool m_appBundleIdentifierHasBeenSet = false;
164
165 Aws::String m_ingestionIdentifier;
166 bool m_ingestionIdentifierHasBeenSet = false;
167
168 ProcessingConfiguration m_processingConfiguration;
169 bool m_processingConfigurationHasBeenSet = false;
170
171 DestinationConfiguration m_destinationConfiguration;
172 bool m_destinationConfigurationHasBeenSet = false;
173
175 bool m_clientTokenHasBeenSet = true;
176
177 Aws::Vector<Tag> m_tags;
178 bool m_tagsHasBeenSet = false;
179};
180
181} // namespace Model
182} // namespace AppFabric
183} // namespace Aws
CreateIngestionDestinationRequest & WithClientToken(ClientTokenT &&value)
CreateIngestionDestinationRequest & WithIngestionIdentifier(IngestionIdentifierT &&value)
CreateIngestionDestinationRequest & WithTags(TagsT &&value)
AWS_APPFABRIC_API CreateIngestionDestinationRequest()=default
CreateIngestionDestinationRequest & WithDestinationConfiguration(DestinationConfigurationT &&value)
AWS_APPFABRIC_API Aws::String SerializePayload() const override
CreateIngestionDestinationRequest & WithAppBundleIdentifier(AppBundleIdentifierT &&value)
CreateIngestionDestinationRequest & WithProcessingConfiguration(ProcessingConfigurationT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector