AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRepositoryType(const Aws::String& value) { m_repositoryTypeHasBeenSet = true; m_repositoryType = value; }
47 inline void SetRepositoryType(Aws::String&& value) { m_repositoryTypeHasBeenSet = true; m_repositoryType = std::move(value); }
48 inline void SetRepositoryType(const char* value) { m_repositoryTypeHasBeenSet = true; m_repositoryType.assign(value); }
49 inline TerminologyDataLocation& WithRepositoryType(const Aws::String& value) { SetRepositoryType(value); return *this;}
50 inline TerminologyDataLocation& WithRepositoryType(Aws::String&& value) { SetRepositoryType(std::move(value)); return *this;}
51 inline TerminologyDataLocation& WithRepositoryType(const char* value) { SetRepositoryType(value); return *this;}
53
55
67 inline const Aws::String& GetLocation() const{ return m_location; }
68 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
69 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
70 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
71 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
72 inline TerminologyDataLocation& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
73 inline TerminologyDataLocation& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
74 inline TerminologyDataLocation& WithLocation(const char* value) { SetLocation(value); return *this;}
76 private:
77
78 Aws::String m_repositoryType;
79 bool m_repositoryTypeHasBeenSet = false;
80
81 Aws::String m_location;
82 bool m_locationHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Translate
87} // namespace Aws
TerminologyDataLocation & WithRepositoryType(const Aws::String &value)
TerminologyDataLocation & WithRepositoryType(const char *value)
AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const
TerminologyDataLocation & WithLocation(const char *value)
AWS_TRANSLATE_API TerminologyDataLocation(Aws::Utils::Json::JsonView jsonValue)
TerminologyDataLocation & WithLocation(Aws::String &&value)
TerminologyDataLocation & WithRepositoryType(Aws::String &&value)
TerminologyDataLocation & WithLocation(const Aws::String &value)
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