AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EksPersistentVolumeClaim.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
38 {
39 public:
40 AWS_BATCH_API EksPersistentVolumeClaim() = default;
43 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
53 inline const Aws::String& GetClaimName() const { return m_claimName; }
54 inline bool ClaimNameHasBeenSet() const { return m_claimNameHasBeenSet; }
55 template<typename ClaimNameT = Aws::String>
56 void SetClaimName(ClaimNameT&& value) { m_claimNameHasBeenSet = true; m_claimName = std::forward<ClaimNameT>(value); }
57 template<typename ClaimNameT = Aws::String>
58 EksPersistentVolumeClaim& WithClaimName(ClaimNameT&& value) { SetClaimName(std::forward<ClaimNameT>(value)); return *this;}
60
62
68 inline bool GetReadOnly() const { return m_readOnly; }
69 inline bool ReadOnlyHasBeenSet() const { return m_readOnlyHasBeenSet; }
70 inline void SetReadOnly(bool value) { m_readOnlyHasBeenSet = true; m_readOnly = value; }
71 inline EksPersistentVolumeClaim& WithReadOnly(bool value) { SetReadOnly(value); return *this;}
73 private:
74
75 Aws::String m_claimName;
76 bool m_claimNameHasBeenSet = false;
77
78 bool m_readOnly{false};
79 bool m_readOnlyHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Batch
84} // namespace Aws
EksPersistentVolumeClaim & WithClaimName(ClaimNameT &&value)
AWS_BATCH_API EksPersistentVolumeClaim & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
EksPersistentVolumeClaim & WithReadOnly(bool value)
AWS_BATCH_API EksPersistentVolumeClaim()=default
AWS_BATCH_API EksPersistentVolumeClaim(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue