AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
ParallelDataDataLocation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/translate/Translate_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace Translate {
20namespace Model {
21
29 public:
30 AWS_TRANSLATE_API ParallelDataDataLocation() = default;
31 AWS_TRANSLATE_API ParallelDataDataLocation(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_TRANSLATE_API ParallelDataDataLocation& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_TRANSLATE_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) 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
AWS_TRANSLATE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ParallelDataDataLocation & WithLocation(LocationT &&value)
AWS_TRANSLATE_API ParallelDataDataLocation()=default
AWS_TRANSLATE_API ParallelDataDataLocation(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_TRANSLATE_API ParallelDataDataLocation & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ParallelDataDataLocation & WithRepositoryType(RepositoryTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String