AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTerminologyRequest.h
1
6#pragma once
7#include <aws/translate/Translate_EXPORTS.h>
8#include <aws/translate/TranslateRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/translate/model/TerminologyDataFormat.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Translate
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_TRANSLATE_API GetTerminologyRequest();
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 "GetTerminology"; }
32
33 AWS_TRANSLATE_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetName() const{ return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
45 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
46 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
47 inline GetTerminologyRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline GetTerminologyRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline GetTerminologyRequest& WithName(const char* value) { SetName(value); return *this;}
51
53
61 inline const TerminologyDataFormat& GetTerminologyDataFormat() const{ return m_terminologyDataFormat; }
62 inline bool TerminologyDataFormatHasBeenSet() const { return m_terminologyDataFormatHasBeenSet; }
63 inline void SetTerminologyDataFormat(const TerminologyDataFormat& value) { m_terminologyDataFormatHasBeenSet = true; m_terminologyDataFormat = value; }
64 inline void SetTerminologyDataFormat(TerminologyDataFormat&& value) { m_terminologyDataFormatHasBeenSet = true; m_terminologyDataFormat = std::move(value); }
68 private:
69
70 Aws::String m_name;
71 bool m_nameHasBeenSet = false;
72
73 TerminologyDataFormat m_terminologyDataFormat;
74 bool m_terminologyDataFormatHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Translate
79} // namespace Aws
GetTerminologyRequest & WithTerminologyDataFormat(TerminologyDataFormat &&value)
GetTerminologyRequest & WithTerminologyDataFormat(const TerminologyDataFormat &value)
GetTerminologyRequest & WithName(const Aws::String &value)
GetTerminologyRequest & WithName(Aws::String &&value)
AWS_TRANSLATE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_TRANSLATE_API Aws::String SerializePayload() const override
void SetTerminologyDataFormat(const TerminologyDataFormat &value)
void SetTerminologyDataFormat(TerminologyDataFormat &&value)
GetTerminologyRequest & WithName(const char *value)
const TerminologyDataFormat & GetTerminologyDataFormat() const
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String