AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EksEmptyDir.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
41 {
42 public:
43 AWS_BATCH_API EksEmptyDir();
44 AWS_BATCH_API EksEmptyDir(Aws::Utils::Json::JsonView jsonValue);
46 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
58 inline const Aws::String& GetMedium() const{ return m_medium; }
59 inline bool MediumHasBeenSet() const { return m_mediumHasBeenSet; }
60 inline void SetMedium(const Aws::String& value) { m_mediumHasBeenSet = true; m_medium = value; }
61 inline void SetMedium(Aws::String&& value) { m_mediumHasBeenSet = true; m_medium = std::move(value); }
62 inline void SetMedium(const char* value) { m_mediumHasBeenSet = true; m_medium.assign(value); }
63 inline EksEmptyDir& WithMedium(const Aws::String& value) { SetMedium(value); return *this;}
64 inline EksEmptyDir& WithMedium(Aws::String&& value) { SetMedium(std::move(value)); return *this;}
65 inline EksEmptyDir& WithMedium(const char* value) { SetMedium(value); return *this;}
67
69
73 inline const Aws::String& GetSizeLimit() const{ return m_sizeLimit; }
74 inline bool SizeLimitHasBeenSet() const { return m_sizeLimitHasBeenSet; }
75 inline void SetSizeLimit(const Aws::String& value) { m_sizeLimitHasBeenSet = true; m_sizeLimit = value; }
76 inline void SetSizeLimit(Aws::String&& value) { m_sizeLimitHasBeenSet = true; m_sizeLimit = std::move(value); }
77 inline void SetSizeLimit(const char* value) { m_sizeLimitHasBeenSet = true; m_sizeLimit.assign(value); }
78 inline EksEmptyDir& WithSizeLimit(const Aws::String& value) { SetSizeLimit(value); return *this;}
79 inline EksEmptyDir& WithSizeLimit(Aws::String&& value) { SetSizeLimit(std::move(value)); return *this;}
80 inline EksEmptyDir& WithSizeLimit(const char* value) { SetSizeLimit(value); return *this;}
82 private:
83
84 Aws::String m_medium;
85 bool m_mediumHasBeenSet = false;
86
87 Aws::String m_sizeLimit;
88 bool m_sizeLimitHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Batch
93} // namespace Aws
EksEmptyDir & WithSizeLimit(Aws::String &&value)
Definition EksEmptyDir.h:79
EksEmptyDir & WithMedium(const char *value)
Definition EksEmptyDir.h:65
EksEmptyDir & WithSizeLimit(const char *value)
Definition EksEmptyDir.h:80
void SetSizeLimit(Aws::String &&value)
Definition EksEmptyDir.h:76
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMedium(const Aws::String &value)
Definition EksEmptyDir.h:60
void SetSizeLimit(const char *value)
Definition EksEmptyDir.h:77
const Aws::String & GetMedium() const
Definition EksEmptyDir.h:58
EksEmptyDir & WithSizeLimit(const Aws::String &value)
Definition EksEmptyDir.h:78
const Aws::String & GetSizeLimit() const
Definition EksEmptyDir.h:73
void SetMedium(Aws::String &&value)
Definition EksEmptyDir.h:61
AWS_BATCH_API EksEmptyDir & operator=(Aws::Utils::Json::JsonView jsonValue)
EksEmptyDir & WithMedium(const Aws::String &value)
Definition EksEmptyDir.h:63
AWS_BATCH_API EksEmptyDir(Aws::Utils::Json::JsonView jsonValue)
void SetSizeLimit(const Aws::String &value)
Definition EksEmptyDir.h:75
void SetMedium(const char *value)
Definition EksEmptyDir.h:62
EksEmptyDir & WithMedium(Aws::String &&value)
Definition EksEmptyDir.h:64
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue