AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ParallelDataDataLocation.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
29 public:
30 AWS_TRANSLATE_API ParallelDataDataLocation() = default;
33 AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetRepositoryType() const { return m_repositoryType; }
40 inline bool RepositoryTypeHasBeenSet() const { return m_repositoryTypeHasBeenSet; }
41 template <typename RepositoryTypeT = Aws::String>
42 void SetRepositoryType(RepositoryTypeT&& value) {
43 m_repositoryTypeHasBeenSet = true;
44 m_repositoryType = std::forward<RepositoryTypeT>(value);
45 }
46 template <typename RepositoryTypeT = Aws::String>
47 ParallelDataDataLocation& WithRepositoryType(RepositoryTypeT&& value) {
48 SetRepositoryType(std::forward<RepositoryTypeT>(value));
49 return *this;
50 }
52
54
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
ParallelDataDataLocation & WithLocation(LocationT &&value)
AWS_TRANSLATE_API ParallelDataDataLocation()=default
AWS_TRANSLATE_API ParallelDataDataLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
ParallelDataDataLocation & WithRepositoryType(RepositoryTypeT &&value)
AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSLATE_API ParallelDataDataLocation(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue