AWS SDK for C++

AWS SDK for C++ Version 1.11.838

Loading...
Searching...
No Matches
PutAttachmentResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Glue {
23namespace Model {
25 public:
26 AWS_GLUE_API PutAttachmentResult() = default;
29
31
34 inline const Aws::String& GetAssetIdentifier() const { return m_assetIdentifier; }
35 template <typename AssetIdentifierT = Aws::String>
36 void SetAssetIdentifier(AssetIdentifierT&& value) {
37 m_assetIdentifierHasBeenSet = true;
38 m_assetIdentifier = std::forward<AssetIdentifierT>(value);
39 }
40 template <typename AssetIdentifierT = Aws::String>
41 PutAttachmentResult& WithAssetIdentifier(AssetIdentifierT&& value) {
42 SetAssetIdentifier(std::forward<AssetIdentifierT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetIterableFormName() const { return m_iterableFormName; }
52 template <typename IterableFormNameT = Aws::String>
53 void SetIterableFormName(IterableFormNameT&& value) {
54 m_iterableFormNameHasBeenSet = true;
55 m_iterableFormName = std::forward<IterableFormNameT>(value);
56 }
57 template <typename IterableFormNameT = Aws::String>
58 PutAttachmentResult& WithIterableFormName(IterableFormNameT&& value) {
59 SetIterableFormName(std::forward<IterableFormNameT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetItemIdentifier() const { return m_itemIdentifier; }
69 template <typename ItemIdentifierT = Aws::String>
70 void SetItemIdentifier(ItemIdentifierT&& value) {
71 m_itemIdentifierHasBeenSet = true;
72 m_itemIdentifier = std::forward<ItemIdentifierT>(value);
73 }
74 template <typename ItemIdentifierT = Aws::String>
75 PutAttachmentResult& WithItemIdentifier(ItemIdentifierT&& value) {
76 SetItemIdentifier(std::forward<ItemIdentifierT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetAttachmentName() const { return m_attachmentName; }
86 template <typename AttachmentNameT = Aws::String>
87 void SetAttachmentName(AttachmentNameT&& value) {
88 m_attachmentNameHasBeenSet = true;
89 m_attachmentName = std::forward<AttachmentNameT>(value);
90 }
91 template <typename AttachmentNameT = Aws::String>
92 PutAttachmentResult& WithAttachmentName(AttachmentNameT&& value) {
93 SetAttachmentName(std::forward<AttachmentNameT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetFormTypeId() const { return m_formTypeId; }
103 template <typename FormTypeIdT = Aws::String>
104 void SetFormTypeId(FormTypeIdT&& value) {
105 m_formTypeIdHasBeenSet = true;
106 m_formTypeId = std::forward<FormTypeIdT>(value);
107 }
108 template <typename FormTypeIdT = Aws::String>
109 PutAttachmentResult& WithFormTypeId(FormTypeIdT&& value) {
110 SetFormTypeId(std::forward<FormTypeIdT>(value));
111 return *this;
112 }
114
116
117 inline const Aws::String& GetRequestId() const { return m_requestId; }
118 template <typename RequestIdT = Aws::String>
119 void SetRequestId(RequestIdT&& value) {
120 m_requestIdHasBeenSet = true;
121 m_requestId = std::forward<RequestIdT>(value);
122 }
123 template <typename RequestIdT = Aws::String>
124 PutAttachmentResult& WithRequestId(RequestIdT&& value) {
125 SetRequestId(std::forward<RequestIdT>(value));
126 return *this;
127 }
129 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
130
131 private:
132 Aws::String m_assetIdentifier;
133
134 Aws::String m_iterableFormName;
135
136 Aws::String m_itemIdentifier;
137
138 Aws::String m_attachmentName;
139
140 Aws::String m_formTypeId;
141
142 Aws::String m_requestId;
143 Aws::Http::HttpResponseCode m_HttpResponseCode;
144 bool m_assetIdentifierHasBeenSet = false;
145 bool m_iterableFormNameHasBeenSet = false;
146 bool m_itemIdentifierHasBeenSet = false;
147 bool m_attachmentNameHasBeenSet = false;
148 bool m_formTypeIdHasBeenSet = false;
149 bool m_requestIdHasBeenSet = false;
150};
151
152} // namespace Model
153} // namespace Glue
154} // namespace Aws
const Aws::String & GetRequestId() const
const Aws::String & GetAttachmentName() const
void SetAssetIdentifier(AssetIdentifierT &&value)
PutAttachmentResult & WithAttachmentName(AttachmentNameT &&value)
PutAttachmentResult & WithIterableFormName(IterableFormNameT &&value)
AWS_GLUE_API PutAttachmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetIterableFormName(IterableFormNameT &&value)
PutAttachmentResult & WithAssetIdentifier(AssetIdentifierT &&value)
void SetItemIdentifier(ItemIdentifierT &&value)
PutAttachmentResult & WithFormTypeId(FormTypeIdT &&value)
AWS_GLUE_API PutAttachmentResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
PutAttachmentResult & WithRequestId(RequestIdT &&value)
void SetAttachmentName(AttachmentNameT &&value)
const Aws::String & GetFormTypeId() const
PutAttachmentResult & WithItemIdentifier(ItemIdentifierT &&value)
const Aws::String & GetIterableFormName() const
const Aws::String & GetAssetIdentifier() const
const Aws::String & GetItemIdentifier() const
AWS_GLUE_API PutAttachmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue