AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TerminologyDataLocation.h
1
6#pragma once
7#include <aws/translate/Translate_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Translate
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_TRANSLATE_API TerminologyDataLocation() = default;
37 AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetRepositoryType() const { return m_repositoryType; }
45 inline bool RepositoryTypeHasBeenSet() const { return m_repositoryTypeHasBeenSet; }
46 template<typename RepositoryTypeT = Aws::String>
47 void SetRepositoryType(RepositoryTypeT&& value) { m_repositoryTypeHasBeenSet = true; m_repositoryType = std::forward<RepositoryTypeT>(value); }
48 template<typename RepositoryTypeT = Aws::String>
49 TerminologyDataLocation& WithRepositoryType(RepositoryTypeT&& value) { SetRepositoryType(std::forward<RepositoryTypeT>(value)); return *this;}
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) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
69 template<typename LocationT = Aws::String>
70 TerminologyDataLocation& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
72 private:
73
74 Aws::String m_repositoryType;
75 bool m_repositoryTypeHasBeenSet = false;
76
77 Aws::String m_location;
78 bool m_locationHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Translate
83} // 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