AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
Host.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Batch {
20namespace Model {
21
31class Host {
32 public:
33 AWS_BATCH_API Host() = default;
34 AWS_BATCH_API Host(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BATCH_API Host& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
50 inline const Aws::String& GetSourcePath() const { return m_sourcePath; }
51 inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; }
52 template <typename SourcePathT = Aws::String>
53 void SetSourcePath(SourcePathT&& value) {
54 m_sourcePathHasBeenSet = true;
55 m_sourcePath = std::forward<SourcePathT>(value);
56 }
57 template <typename SourcePathT = Aws::String>
58 Host& WithSourcePath(SourcePathT&& value) {
59 SetSourcePath(std::forward<SourcePathT>(value));
60 return *this;
61 }
63 private:
64 Aws::String m_sourcePath;
65 bool m_sourcePathHasBeenSet = false;
66};
67
68} // namespace Model
69} // namespace Batch
70} // namespace Aws
void SetSourcePath(SourcePathT &&value)
Definition Host.h:53
Host & WithSourcePath(SourcePathT &&value)
Definition Host.h:58
bool SourcePathHasBeenSet() const
Definition Host.h:51
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSourcePath() const
Definition Host.h:50
AWS_BATCH_API Host & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API Host(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API Host()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue