AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateIngestionDestinationRequest.h
1
6#pragma once
7#include <aws/appfabric/AppFabric_EXPORTS.h>
8#include <aws/appfabric/AppFabricRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appfabric/model/ProcessingConfiguration.h>
11#include <aws/appfabric/model/DestinationConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/appfabric/model/Tag.h>
14#include <utility>
15#include <aws/core/utils/UUID.h>
16
17namespace Aws
18{
19namespace AppFabric
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_APPFABRIC_API CreateIngestionDestinationRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateIngestionDestination"; }
36
37 AWS_APPFABRIC_API Aws::String SerializePayload() const override;
38
39
41
45 inline const Aws::String& GetAppBundleIdentifier() const { return m_appBundleIdentifier; }
46 inline bool AppBundleIdentifierHasBeenSet() const { return m_appBundleIdentifierHasBeenSet; }
47 template<typename AppBundleIdentifierT = Aws::String>
48 void SetAppBundleIdentifier(AppBundleIdentifierT&& value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier = std::forward<AppBundleIdentifierT>(value); }
49 template<typename AppBundleIdentifierT = Aws::String>
50 CreateIngestionDestinationRequest& WithAppBundleIdentifier(AppBundleIdentifierT&& value) { SetAppBundleIdentifier(std::forward<AppBundleIdentifierT>(value)); return *this;}
52
54
58 inline const Aws::String& GetIngestionIdentifier() const { return m_ingestionIdentifier; }
59 inline bool IngestionIdentifierHasBeenSet() const { return m_ingestionIdentifierHasBeenSet; }
60 template<typename IngestionIdentifierT = Aws::String>
61 void SetIngestionIdentifier(IngestionIdentifierT&& value) { m_ingestionIdentifierHasBeenSet = true; m_ingestionIdentifier = std::forward<IngestionIdentifierT>(value); }
62 template<typename IngestionIdentifierT = Aws::String>
63 CreateIngestionDestinationRequest& WithIngestionIdentifier(IngestionIdentifierT&& value) { SetIngestionIdentifier(std::forward<IngestionIdentifierT>(value)); return *this;}
65
67
70 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
71 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
72 template<typename ProcessingConfigurationT = ProcessingConfiguration>
73 void SetProcessingConfiguration(ProcessingConfigurationT&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::forward<ProcessingConfigurationT>(value); }
74 template<typename ProcessingConfigurationT = ProcessingConfiguration>
75 CreateIngestionDestinationRequest& WithProcessingConfiguration(ProcessingConfigurationT&& value) { SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value)); return *this;}
77
79
82 inline const DestinationConfiguration& GetDestinationConfiguration() const { return m_destinationConfiguration; }
83 inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
84 template<typename DestinationConfigurationT = DestinationConfiguration>
85 void SetDestinationConfiguration(DestinationConfigurationT&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::forward<DestinationConfigurationT>(value); }
86 template<typename DestinationConfigurationT = DestinationConfiguration>
87 CreateIngestionDestinationRequest& WithDestinationConfiguration(DestinationConfigurationT&& value) { SetDestinationConfiguration(std::forward<DestinationConfigurationT>(value)); return *this;}
89
91
103 inline const Aws::String& GetClientToken() const { return m_clientToken; }
104 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
105 template<typename ClientTokenT = Aws::String>
106 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
107 template<typename ClientTokenT = Aws::String>
108 CreateIngestionDestinationRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
110
112
116 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
117 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
118 template<typename TagsT = Aws::Vector<Tag>>
119 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
120 template<typename TagsT = Aws::Vector<Tag>>
121 CreateIngestionDestinationRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
122 template<typename TagsT = Tag>
123 CreateIngestionDestinationRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
125 private:
126
127 Aws::String m_appBundleIdentifier;
128 bool m_appBundleIdentifierHasBeenSet = false;
129
130 Aws::String m_ingestionIdentifier;
131 bool m_ingestionIdentifierHasBeenSet = false;
132
133 ProcessingConfiguration m_processingConfiguration;
134 bool m_processingConfigurationHasBeenSet = false;
135
136 DestinationConfiguration m_destinationConfiguration;
137 bool m_destinationConfigurationHasBeenSet = false;
138
140 bool m_clientTokenHasBeenSet = true;
141
142 Aws::Vector<Tag> m_tags;
143 bool m_tagsHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace AppFabric
148} // 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