AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAppBundleIdentifier(const Aws::String& value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier = value; }
48 inline void SetAppBundleIdentifier(Aws::String&& value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier = std::move(value); }
49 inline void SetAppBundleIdentifier(const char* value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier.assign(value); }
52 inline CreateIngestionDestinationRequest& WithAppBundleIdentifier(const char* value) { SetAppBundleIdentifier(value); return *this;}
54
56
60 inline const Aws::String& GetIngestionIdentifier() const{ return m_ingestionIdentifier; }
61 inline bool IngestionIdentifierHasBeenSet() const { return m_ingestionIdentifierHasBeenSet; }
62 inline void SetIngestionIdentifier(const Aws::String& value) { m_ingestionIdentifierHasBeenSet = true; m_ingestionIdentifier = value; }
63 inline void SetIngestionIdentifier(Aws::String&& value) { m_ingestionIdentifierHasBeenSet = true; m_ingestionIdentifier = std::move(value); }
64 inline void SetIngestionIdentifier(const char* value) { m_ingestionIdentifierHasBeenSet = true; m_ingestionIdentifier.assign(value); }
67 inline CreateIngestionDestinationRequest& WithIngestionIdentifier(const char* value) { SetIngestionIdentifier(value); return *this;}
69
71
74 inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
75 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
76 inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
77 inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
81
83
86 inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; }
87 inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
88 inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; }
89 inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); }
93
95
107 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
108 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
109 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
110 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
111 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
113 inline CreateIngestionDestinationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
114 inline CreateIngestionDestinationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
116
118
122 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
123 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
124 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
125 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
126 inline CreateIngestionDestinationRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
127 inline CreateIngestionDestinationRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
128 inline CreateIngestionDestinationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
129 inline CreateIngestionDestinationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
131 private:
132
133 Aws::String m_appBundleIdentifier;
134 bool m_appBundleIdentifierHasBeenSet = false;
135
136 Aws::String m_ingestionIdentifier;
137 bool m_ingestionIdentifierHasBeenSet = false;
138
139 ProcessingConfiguration m_processingConfiguration;
140 bool m_processingConfigurationHasBeenSet = false;
141
142 DestinationConfiguration m_destinationConfiguration;
143 bool m_destinationConfigurationHasBeenSet = false;
144
145 Aws::String m_clientToken;
146 bool m_clientTokenHasBeenSet = false;
147
148 Aws::Vector<Tag> m_tags;
149 bool m_tagsHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace AppFabric
154} // namespace Aws
CreateIngestionDestinationRequest & WithDestinationConfiguration(const DestinationConfiguration &value)
CreateIngestionDestinationRequest & WithIngestionIdentifier(const Aws::String &value)
CreateIngestionDestinationRequest & WithProcessingConfiguration(ProcessingConfiguration &&value)
CreateIngestionDestinationRequest & WithAppBundleIdentifier(const Aws::String &value)
CreateIngestionDestinationRequest & WithTags(const Aws::Vector< Tag > &value)
CreateIngestionDestinationRequest & WithClientToken(const char *value)
CreateIngestionDestinationRequest & WithIngestionIdentifier(const char *value)
CreateIngestionDestinationRequest & AddTags(const Tag &value)
CreateIngestionDestinationRequest & WithProcessingConfiguration(const ProcessingConfiguration &value)
CreateIngestionDestinationRequest & WithTags(Aws::Vector< Tag > &&value)
AWS_APPFABRIC_API Aws::String SerializePayload() const override
CreateIngestionDestinationRequest & WithAppBundleIdentifier(Aws::String &&value)
CreateIngestionDestinationRequest & WithAppBundleIdentifier(const char *value)
void SetDestinationConfiguration(const DestinationConfiguration &value)
CreateIngestionDestinationRequest & WithIngestionIdentifier(Aws::String &&value)
CreateIngestionDestinationRequest & WithClientToken(const Aws::String &value)
CreateIngestionDestinationRequest & WithDestinationConfiguration(DestinationConfiguration &&value)
CreateIngestionDestinationRequest & WithClientToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector