AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
StorageConfigResponse.h
1
6#pragma once
7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/eks/model/BlockStorage.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EKS {
20namespace Model {
21
29 public:
30 AWS_EKS_API StorageConfigResponse() = default;
34
36
41 inline const BlockStorage& GetBlockStorage() const { return m_blockStorage; }
42 inline bool BlockStorageHasBeenSet() const { return m_blockStorageHasBeenSet; }
43 template <typename BlockStorageT = BlockStorage>
44 void SetBlockStorage(BlockStorageT&& value) {
45 m_blockStorageHasBeenSet = true;
46 m_blockStorage = std::forward<BlockStorageT>(value);
47 }
48 template <typename BlockStorageT = BlockStorage>
49 StorageConfigResponse& WithBlockStorage(BlockStorageT&& value) {
50 SetBlockStorage(std::forward<BlockStorageT>(value));
51 return *this;
52 }
54 private:
55 BlockStorage m_blockStorage;
56 bool m_blockStorageHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace EKS
61} // namespace Aws
AWS_EKS_API StorageConfigResponse(Aws::Utils::Json::JsonView jsonValue)
const BlockStorage & GetBlockStorage() const
AWS_EKS_API StorageConfigResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
StorageConfigResponse & WithBlockStorage(BlockStorageT &&value)
void SetBlockStorage(BlockStorageT &&value)
AWS_EKS_API StorageConfigResponse()=default
Aws::Utils::Json::JsonValue JsonValue