AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSourcePath(const Aws::String& value) { m_sourcePathHasBeenSet = true; m_sourcePath = value; }
59 inline void SetSourcePath(Aws::String&& value) { m_sourcePathHasBeenSet = true; m_sourcePath = std::move(value); }
60 inline void SetSourcePath(const char* value) { m_sourcePathHasBeenSet = true; m_sourcePath.assign(value); }
61 inline Host& WithSourcePath(const Aws::String& value) { SetSourcePath(value); return *this;}
62 inline Host& WithSourcePath(Aws::String&& value) { SetSourcePath(std::move(value)); return *this;}
63 inline Host& WithSourcePath(const char* value) { SetSourcePath(value); return *this;}
65 private:
66
67 Aws::String m_sourcePath;
68 bool m_sourcePathHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Batch
73} // namespace Aws
Host & WithSourcePath(Aws::String &&value)
Definition Host.h:62
void SetSourcePath(const Aws::String &value)
Definition Host.h:58
bool SourcePathHasBeenSet() const
Definition Host.h:57
Host & WithSourcePath(const char *value)
Definition Host.h:63
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSourcePath() const
Definition Host.h:56
Host & WithSourcePath(const Aws::String &value)
Definition Host.h:61
AWS_BATCH_API Host & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSourcePath(const char *value)
Definition Host.h:60
AWS_BATCH_API Host(Aws::Utils::Json::JsonView jsonValue)
void SetSourcePath(Aws::String &&value)
Definition Host.h:59
AWS_BATCH_API Host()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue