AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
StartIngestionRequest.h
1
6#pragma once
7#include <aws/appfabric/AppFabricRequest.h>
8#include <aws/appfabric/AppFabric_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace AppFabric {
15namespace Model {
16
20 public:
21 AWS_APPFABRIC_API StartIngestionRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "StartIngestion"; }
28
29 AWS_APPFABRIC_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetIngestionIdentifier() const { return m_ingestionIdentifier; }
37 inline bool IngestionIdentifierHasBeenSet() const { return m_ingestionIdentifierHasBeenSet; }
38 template <typename IngestionIdentifierT = Aws::String>
39 void SetIngestionIdentifier(IngestionIdentifierT&& value) {
40 m_ingestionIdentifierHasBeenSet = true;
41 m_ingestionIdentifier = std::forward<IngestionIdentifierT>(value);
42 }
43 template <typename IngestionIdentifierT = Aws::String>
44 StartIngestionRequest& WithIngestionIdentifier(IngestionIdentifierT&& value) {
45 SetIngestionIdentifier(std::forward<IngestionIdentifierT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetAppBundleIdentifier() const { return m_appBundleIdentifier; }
56 inline bool AppBundleIdentifierHasBeenSet() const { return m_appBundleIdentifierHasBeenSet; }
57 template <typename AppBundleIdentifierT = Aws::String>
58 void SetAppBundleIdentifier(AppBundleIdentifierT&& value) {
59 m_appBundleIdentifierHasBeenSet = true;
60 m_appBundleIdentifier = std::forward<AppBundleIdentifierT>(value);
61 }
62 template <typename AppBundleIdentifierT = Aws::String>
63 StartIngestionRequest& WithAppBundleIdentifier(AppBundleIdentifierT&& value) {
64 SetAppBundleIdentifier(std::forward<AppBundleIdentifierT>(value));
65 return *this;
66 }
68 private:
69 Aws::String m_ingestionIdentifier;
70 bool m_ingestionIdentifierHasBeenSet = false;
71
72 Aws::String m_appBundleIdentifier;
73 bool m_appBundleIdentifierHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace AppFabric
78} // namespace Aws
AWS_APPFABRIC_API Aws::String SerializePayload() const override
void SetAppBundleIdentifier(AppBundleIdentifierT &&value)
void SetIngestionIdentifier(IngestionIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
AWS_APPFABRIC_API StartIngestionRequest()=default
StartIngestionRequest & WithIngestionIdentifier(IngestionIdentifierT &&value)
StartIngestionRequest & WithAppBundleIdentifier(AppBundleIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String