AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateAdapterRequest.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/textract/TextractRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/textract/model/AutoUpdate.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Textract
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_TEXTRACT_API UpdateAdapterRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateAdapter"; }
32
33 AWS_TEXTRACT_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetAdapterId() const { return m_adapterId; }
43 inline bool AdapterIdHasBeenSet() const { return m_adapterIdHasBeenSet; }
44 template<typename AdapterIdT = Aws::String>
45 void SetAdapterId(AdapterIdT&& value) { m_adapterIdHasBeenSet = true; m_adapterId = std::forward<AdapterIdT>(value); }
46 template<typename AdapterIdT = Aws::String>
47 UpdateAdapterRequest& WithAdapterId(AdapterIdT&& value) { SetAdapterId(std::forward<AdapterIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 template<typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
58 template<typename DescriptionT = Aws::String>
59 UpdateAdapterRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
61
63
66 inline const Aws::String& GetAdapterName() const { return m_adapterName; }
67 inline bool AdapterNameHasBeenSet() const { return m_adapterNameHasBeenSet; }
68 template<typename AdapterNameT = Aws::String>
69 void SetAdapterName(AdapterNameT&& value) { m_adapterNameHasBeenSet = true; m_adapterName = std::forward<AdapterNameT>(value); }
70 template<typename AdapterNameT = Aws::String>
71 UpdateAdapterRequest& WithAdapterName(AdapterNameT&& value) { SetAdapterName(std::forward<AdapterNameT>(value)); return *this;}
73
75
78 inline AutoUpdate GetAutoUpdate() const { return m_autoUpdate; }
79 inline bool AutoUpdateHasBeenSet() const { return m_autoUpdateHasBeenSet; }
80 inline void SetAutoUpdate(AutoUpdate value) { m_autoUpdateHasBeenSet = true; m_autoUpdate = value; }
81 inline UpdateAdapterRequest& WithAutoUpdate(AutoUpdate value) { SetAutoUpdate(value); return *this;}
83 private:
84
85 Aws::String m_adapterId;
86 bool m_adapterIdHasBeenSet = false;
87
88 Aws::String m_description;
89 bool m_descriptionHasBeenSet = false;
90
91 Aws::String m_adapterName;
92 bool m_adapterNameHasBeenSet = false;
93
94 AutoUpdate m_autoUpdate{AutoUpdate::NOT_SET};
95 bool m_autoUpdateHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Textract
100} // namespace Aws
AWS_TEXTRACT_API UpdateAdapterRequest()=default
AWS_TEXTRACT_API Aws::String SerializePayload() const override
AWS_TEXTRACT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateAdapterRequest & WithAutoUpdate(AutoUpdate value)
UpdateAdapterRequest & WithDescription(DescriptionT &&value)
UpdateAdapterRequest & WithAdapterName(AdapterNameT &&value)
virtual const char * GetServiceRequestName() const override
UpdateAdapterRequest & WithAdapterId(AdapterIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String