AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAdapterId(const Aws::String& value) { m_adapterIdHasBeenSet = true; m_adapterId = value; }
45 inline void SetAdapterId(Aws::String&& value) { m_adapterIdHasBeenSet = true; m_adapterId = std::move(value); }
46 inline void SetAdapterId(const char* value) { m_adapterIdHasBeenSet = true; m_adapterId.assign(value); }
47 inline UpdateAdapterRequest& WithAdapterId(const Aws::String& value) { SetAdapterId(value); return *this;}
48 inline UpdateAdapterRequest& WithAdapterId(Aws::String&& value) { SetAdapterId(std::move(value)); return *this;}
49 inline UpdateAdapterRequest& WithAdapterId(const char* value) { SetAdapterId(value); return *this;}
51
53
56 inline const Aws::String& GetDescription() const{ return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
59 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
60 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
61 inline UpdateAdapterRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
62 inline UpdateAdapterRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
63 inline UpdateAdapterRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
65
67
70 inline const Aws::String& GetAdapterName() const{ return m_adapterName; }
71 inline bool AdapterNameHasBeenSet() const { return m_adapterNameHasBeenSet; }
72 inline void SetAdapterName(const Aws::String& value) { m_adapterNameHasBeenSet = true; m_adapterName = value; }
73 inline void SetAdapterName(Aws::String&& value) { m_adapterNameHasBeenSet = true; m_adapterName = std::move(value); }
74 inline void SetAdapterName(const char* value) { m_adapterNameHasBeenSet = true; m_adapterName.assign(value); }
75 inline UpdateAdapterRequest& WithAdapterName(const Aws::String& value) { SetAdapterName(value); return *this;}
76 inline UpdateAdapterRequest& WithAdapterName(Aws::String&& value) { SetAdapterName(std::move(value)); return *this;}
77 inline UpdateAdapterRequest& WithAdapterName(const char* value) { SetAdapterName(value); return *this;}
79
81
84 inline const AutoUpdate& GetAutoUpdate() const{ return m_autoUpdate; }
85 inline bool AutoUpdateHasBeenSet() const { return m_autoUpdateHasBeenSet; }
86 inline void SetAutoUpdate(const AutoUpdate& value) { m_autoUpdateHasBeenSet = true; m_autoUpdate = value; }
87 inline void SetAutoUpdate(AutoUpdate&& value) { m_autoUpdateHasBeenSet = true; m_autoUpdate = std::move(value); }
88 inline UpdateAdapterRequest& WithAutoUpdate(const AutoUpdate& value) { SetAutoUpdate(value); return *this;}
89 inline UpdateAdapterRequest& WithAutoUpdate(AutoUpdate&& value) { SetAutoUpdate(std::move(value)); return *this;}
91 private:
92
93 Aws::String m_adapterId;
94 bool m_adapterIdHasBeenSet = false;
95
96 Aws::String m_description;
97 bool m_descriptionHasBeenSet = false;
98
99 Aws::String m_adapterName;
100 bool m_adapterNameHasBeenSet = false;
101
102 AutoUpdate m_autoUpdate;
103 bool m_autoUpdateHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Textract
108} // namespace Aws
UpdateAdapterRequest & WithDescription(const Aws::String &value)
UpdateAdapterRequest & WithAdapterName(Aws::String &&value)
UpdateAdapterRequest & WithAutoUpdate(const AutoUpdate &value)
void SetDescription(const Aws::String &value)
AWS_TEXTRACT_API Aws::String SerializePayload() const override
UpdateAdapterRequest & WithDescription(Aws::String &&value)
void SetAdapterId(const Aws::String &value)
UpdateAdapterRequest & WithAutoUpdate(AutoUpdate &&value)
void SetAdapterName(const Aws::String &value)
AWS_TEXTRACT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateAdapterRequest & WithAdapterName(const char *value)
UpdateAdapterRequest & WithAdapterName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateAdapterRequest & WithAdapterId(Aws::String &&value)
UpdateAdapterRequest & WithDescription(const char *value)
UpdateAdapterRequest & WithAdapterId(const char *value)
UpdateAdapterRequest & WithAdapterId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String