AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
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
34 public:
35 AWS_BATCH_API EksPersistentVolumeClaim() = default;
38 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
47 inline const Aws::String& GetClaimName() const { return m_claimName; }
48 inline bool ClaimNameHasBeenSet() const { return m_claimNameHasBeenSet; }
49 template <typename ClaimNameT = Aws::String>
50 void SetClaimName(ClaimNameT&& value) {
51 m_claimNameHasBeenSet = true;
52 m_claimName = std::forward<ClaimNameT>(value);
53 }
54 template <typename ClaimNameT = Aws::String>
56 SetClaimName(std::forward<ClaimNameT>(value));
57 return *this;
58 }
60
62
68 inline bool GetReadOnly() const { return m_readOnly; }
69 inline bool ReadOnlyHasBeenSet() const { return m_readOnlyHasBeenSet; }
70 inline void SetReadOnly(bool value) {
71 m_readOnlyHasBeenSet = true;
72 m_readOnly = value;
73 }
75 SetReadOnly(value);
76 return *this;
77 }
79 private:
80 Aws::String m_claimName;
81
82 bool m_readOnly{false};
83 bool m_claimNameHasBeenSet = false;
84 bool m_readOnlyHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace Batch
89} // 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