AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
TerminologyDataLocation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/translate/Translate_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Translate {
20namespace Model {
21
28 public:
29 AWS_TRANSLATE_API TerminologyDataLocation() = default;
32 AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetRepositoryType() const { return m_repositoryType; }
39 inline bool RepositoryTypeHasBeenSet() const { return m_repositoryTypeHasBeenSet; }
40 template <typename RepositoryTypeT = Aws::String>
41 void SetRepositoryType(RepositoryTypeT&& value) {
42 m_repositoryTypeHasBeenSet = true;
43 m_repositoryType = std::forward<RepositoryTypeT>(value);
44 }
45 template <typename RepositoryTypeT = Aws::String>
46 TerminologyDataLocation& WithRepositoryType(RepositoryTypeT&& value) {
47 SetRepositoryType(std::forward<RepositoryTypeT>(value));
48 return *this;
49 }
51
53
65 inline const Aws::String& GetLocation() const { return m_location; }
66 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
67 template <typename LocationT = Aws::String>
68 void SetLocation(LocationT&& value) {
69 m_locationHasBeenSet = true;
70 m_location = std::forward<LocationT>(value);
71 }
72 template <typename LocationT = Aws::String>
74 SetLocation(std::forward<LocationT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_repositoryType;
80
81 Aws::String m_location;
82 bool m_repositoryTypeHasBeenSet = false;
83 bool m_locationHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace Translate
88} // namespace Aws
TerminologyDataLocation & WithRepositoryType(RepositoryTypeT &&value)
AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSLATE_API TerminologyDataLocation(Aws::Utils::Json::JsonView jsonValue)
TerminologyDataLocation & WithLocation(LocationT &&value)
AWS_TRANSLATE_API TerminologyDataLocation()=default
AWS_TRANSLATE_API TerminologyDataLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue