AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
EksHostPath.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
32 public:
33 AWS_BATCH_API EksHostPath() = default;
34 AWS_BATCH_API EksHostPath(Aws::Utils::Json::JsonView jsonValue);
36 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::String& GetPath() const { return m_path; }
44 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
45 template <typename PathT = Aws::String>
46 void SetPath(PathT&& value) {
47 m_pathHasBeenSet = true;
48 m_path = std::forward<PathT>(value);
49 }
50 template <typename PathT = Aws::String>
51 EksHostPath& WithPath(PathT&& value) {
52 SetPath(std::forward<PathT>(value));
53 return *this;
54 }
56 private:
57 Aws::String m_path;
58 bool m_pathHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace Batch
63} // namespace Aws
EksHostPath & WithPath(PathT &&value)
Definition EksHostPath.h:51
void SetPath(PathT &&value)
Definition EksHostPath.h:46
AWS_BATCH_API EksHostPath()=default
AWS_BATCH_API EksHostPath & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BATCH_API EksHostPath(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPath() const
Definition EksHostPath.h:43
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue