AWS SDK for C++

AWS SDK for C++ Version 1.11.838

Loading...
Searching...
No Matches
DeleteAttachmentRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/Glue_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Glue {
15namespace Model {
16
20 public:
21 AWS_GLUE_API DeleteAttachmentRequest() = 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 "DeleteAttachment"; }
28
29 AWS_GLUE_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetAssetIdentifier() const { return m_assetIdentifier; }
38 inline bool AssetIdentifierHasBeenSet() const { return m_assetIdentifierHasBeenSet; }
39 template <typename AssetIdentifierT = Aws::String>
40 void SetAssetIdentifier(AssetIdentifierT&& value) {
41 m_assetIdentifierHasBeenSet = true;
42 m_assetIdentifier = std::forward<AssetIdentifierT>(value);
43 }
44 template <typename AssetIdentifierT = Aws::String>
45 DeleteAttachmentRequest& WithAssetIdentifier(AssetIdentifierT&& value) {
46 SetAssetIdentifier(std::forward<AssetIdentifierT>(value));
47 return *this;
48 }
50
52
57 inline const Aws::String& GetIterableFormName() const { return m_iterableFormName; }
58 inline bool IterableFormNameHasBeenSet() const { return m_iterableFormNameHasBeenSet; }
59 template <typename IterableFormNameT = Aws::String>
60 void SetIterableFormName(IterableFormNameT&& value) {
61 m_iterableFormNameHasBeenSet = true;
62 m_iterableFormName = std::forward<IterableFormNameT>(value);
63 }
64 template <typename IterableFormNameT = Aws::String>
65 DeleteAttachmentRequest& WithIterableFormName(IterableFormNameT&& value) {
66 SetIterableFormName(std::forward<IterableFormNameT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetItemIdentifier() const { return m_itemIdentifier; }
77 inline bool ItemIdentifierHasBeenSet() const { return m_itemIdentifierHasBeenSet; }
78 template <typename ItemIdentifierT = Aws::String>
79 void SetItemIdentifier(ItemIdentifierT&& value) {
80 m_itemIdentifierHasBeenSet = true;
81 m_itemIdentifier = std::forward<ItemIdentifierT>(value);
82 }
83 template <typename ItemIdentifierT = Aws::String>
84 DeleteAttachmentRequest& WithItemIdentifier(ItemIdentifierT&& value) {
85 SetItemIdentifier(std::forward<ItemIdentifierT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetAttachmentName() const { return m_attachmentName; }
95 inline bool AttachmentNameHasBeenSet() const { return m_attachmentNameHasBeenSet; }
96 template <typename AttachmentNameT = Aws::String>
97 void SetAttachmentName(AttachmentNameT&& value) {
98 m_attachmentNameHasBeenSet = true;
99 m_attachmentName = std::forward<AttachmentNameT>(value);
100 }
101 template <typename AttachmentNameT = Aws::String>
102 DeleteAttachmentRequest& WithAttachmentName(AttachmentNameT&& value) {
103 SetAttachmentName(std::forward<AttachmentNameT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_assetIdentifier;
109
110 Aws::String m_iterableFormName;
111
112 Aws::String m_itemIdentifier;
113
114 Aws::String m_attachmentName;
115 bool m_assetIdentifierHasBeenSet = false;
116 bool m_iterableFormNameHasBeenSet = false;
117 bool m_itemIdentifierHasBeenSet = false;
118 bool m_attachmentNameHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace Glue
123} // namespace Aws
void SetAssetIdentifier(AssetIdentifierT &&value)
DeleteAttachmentRequest & WithItemIdentifier(ItemIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteAttachmentRequest & WithAssetIdentifier(AssetIdentifierT &&value)
AWS_GLUE_API DeleteAttachmentRequest()=default
DeleteAttachmentRequest & WithIterableFormName(IterableFormNameT &&value)
DeleteAttachmentRequest & WithAttachmentName(AttachmentNameT &&value)
void SetIterableFormName(IterableFormNameT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String