AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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 Batch
22{
23namespace Model
24{
25
35 class Host
36 {
37 public:
38 AWS_BATCH_API Host() = default;
39 AWS_BATCH_API Host(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BATCH_API Host& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
56 inline const Aws::String& GetSourcePath() const { return m_sourcePath; }
57 inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; }
58 template<typename SourcePathT = Aws::String>
59 void SetSourcePath(SourcePathT&& value) { m_sourcePathHasBeenSet = true; m_sourcePath = std::forward<SourcePathT>(value); }
60 template<typename SourcePathT = Aws::String>
61 Host& WithSourcePath(SourcePathT&& value) { SetSourcePath(std::forward<SourcePathT>(value)); return *this;}
63 private:
64
65 Aws::String m_sourcePath;
66 bool m_sourcePathHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace Batch
71} // namespace Aws
void SetSourcePath(SourcePathT &&value)
Definition Host.h:59
Host & WithSourcePath(SourcePathT &&value)
Definition Host.h:61
bool SourcePathHasBeenSet() const
Definition Host.h:57
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSourcePath() const
Definition Host.h:56
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