AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RunCacheListItem.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/omics/model/CacheBehavior.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/omics/model/RunCacheStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Omics
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_OMICS_API RunCacheListItem() = default;
40 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const { return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 RunCacheListItem& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
54
56
59 inline CacheBehavior GetCacheBehavior() const { return m_cacheBehavior; }
60 inline bool CacheBehaviorHasBeenSet() const { return m_cacheBehaviorHasBeenSet; }
61 inline void SetCacheBehavior(CacheBehavior value) { m_cacheBehaviorHasBeenSet = true; m_cacheBehavior = value; }
62 inline RunCacheListItem& WithCacheBehavior(CacheBehavior value) { SetCacheBehavior(value); return *this;}
64
66
69 inline const Aws::String& GetCacheS3Uri() const { return m_cacheS3Uri; }
70 inline bool CacheS3UriHasBeenSet() const { return m_cacheS3UriHasBeenSet; }
71 template<typename CacheS3UriT = Aws::String>
72 void SetCacheS3Uri(CacheS3UriT&& value) { m_cacheS3UriHasBeenSet = true; m_cacheS3Uri = std::forward<CacheS3UriT>(value); }
73 template<typename CacheS3UriT = Aws::String>
74 RunCacheListItem& WithCacheS3Uri(CacheS3UriT&& value) { SetCacheS3Uri(std::forward<CacheS3UriT>(value)); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
82 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
83 template<typename CreationTimeT = Aws::Utils::DateTime>
84 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
85 template<typename CreationTimeT = Aws::Utils::DateTime>
86 RunCacheListItem& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
88
90
93 inline const Aws::String& GetId() const { return m_id; }
94 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
95 template<typename IdT = Aws::String>
96 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
97 template<typename IdT = Aws::String>
98 RunCacheListItem& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
100
102
105 inline const Aws::String& GetName() const { return m_name; }
106 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
107 template<typename NameT = Aws::String>
108 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
109 template<typename NameT = Aws::String>
110 RunCacheListItem& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
112
114
117 inline RunCacheStatus GetStatus() const { return m_status; }
118 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
119 inline void SetStatus(RunCacheStatus value) { m_statusHasBeenSet = true; m_status = value; }
120 inline RunCacheListItem& WithStatus(RunCacheStatus value) { SetStatus(value); return *this;}
122 private:
123
124 Aws::String m_arn;
125 bool m_arnHasBeenSet = false;
126
127 CacheBehavior m_cacheBehavior{CacheBehavior::NOT_SET};
128 bool m_cacheBehaviorHasBeenSet = false;
129
130 Aws::String m_cacheS3Uri;
131 bool m_cacheS3UriHasBeenSet = false;
132
133 Aws::Utils::DateTime m_creationTime{};
134 bool m_creationTimeHasBeenSet = false;
135
136 Aws::String m_id;
137 bool m_idHasBeenSet = false;
138
139 Aws::String m_name;
140 bool m_nameHasBeenSet = false;
141
143 bool m_statusHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace Omics
148} // namespace Aws
RunCacheListItem & WithStatus(RunCacheStatus value)
AWS_OMICS_API RunCacheListItem()=default
const Aws::String & GetId() const
RunCacheListItem & WithId(IdT &&value)
void SetStatus(RunCacheStatus value)
const Aws::String & GetName() const
RunCacheListItem & WithCacheBehavior(CacheBehavior value)
AWS_OMICS_API RunCacheListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
RunCacheListItem & WithArn(ArnT &&value)
void SetCacheBehavior(CacheBehavior value)
RunCacheListItem & WithCacheS3Uri(CacheS3UriT &&value)
void SetCacheS3Uri(CacheS3UriT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
RunCacheListItem & WithCreationTime(CreationTimeT &&value)
AWS_OMICS_API RunCacheListItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
RunCacheListItem & WithName(NameT &&value)
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetCacheS3Uri() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue