7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/storagegateway/StorageGateway_EXPORTS.h>
11#include <aws/storagegateway/model/CacheReportFilter.h>
12#include <aws/storagegateway/model/CacheReportStatus.h>
13#include <aws/storagegateway/model/Tag.h>
24namespace StorageGateway {
47 template <
typename CacheReportARNT = Aws::String>
49 m_cacheReportARNHasBeenSet =
true;
50 m_cacheReportARN = std::forward<CacheReportARNT>(value);
52 template <
typename CacheReportARNT = Aws::String>
66 m_cacheReportStatusHasBeenSet =
true;
67 m_cacheReportStatus = value;
83 m_reportCompletionPercentHasBeenSet =
true;
84 m_reportCompletionPercent = value;
98 template <
typename EndTimeT = Aws::Utils::DateTime>
100 m_endTimeHasBeenSet =
true;
101 m_endTime = std::forward<EndTimeT>(value);
103 template <
typename EndTimeT = Aws::Utils::DateTime>
114 template <
typename RoleT = Aws::String>
116 m_roleHasBeenSet =
true;
117 m_role = std::forward<RoleT>(value);
119 template <
typename RoleT = Aws::String>
121 SetRole(std::forward<RoleT>(value));
130 template <
typename FileShareARNT = Aws::String>
132 m_fileShareARNHasBeenSet =
true;
133 m_fileShareARN = std::forward<FileShareARNT>(value);
135 template <
typename FileShareARNT = Aws::String>
148 template <
typename LocationARNT = Aws::String>
150 m_locationARNHasBeenSet =
true;
151 m_locationARN = std::forward<LocationARNT>(value);
153 template <
typename LocationARNT = Aws::String>
166 template <
typename StartTimeT = Aws::Utils::DateTime>
168 m_startTimeHasBeenSet =
true;
169 m_startTime = std::forward<StartTimeT>(value);
171 template <
typename StartTimeT = Aws::Utils::DateTime>
185 template <
typename InclusionFiltersT = Aws::Vector<CacheReportFilter>>
187 m_inclusionFiltersHasBeenSet =
true;
188 m_inclusionFilters = std::forward<InclusionFiltersT>(value);
190 template <
typename InclusionFiltersT = Aws::Vector<CacheReportFilter>>
195 template <
typename InclusionFiltersT = CacheReportFilter>
197 m_inclusionFiltersHasBeenSet =
true;
198 m_inclusionFilters.emplace_back(std::forward<InclusionFiltersT>(value));
210 template <
typename ExclusionFiltersT = Aws::Vector<CacheReportFilter>>
212 m_exclusionFiltersHasBeenSet =
true;
213 m_exclusionFilters = std::forward<ExclusionFiltersT>(value);
215 template <
typename ExclusionFiltersT = Aws::Vector<CacheReportFilter>>
220 template <
typename ExclusionFiltersT = CacheReportFilter>
222 m_exclusionFiltersHasBeenSet =
true;
223 m_exclusionFilters.emplace_back(std::forward<ExclusionFiltersT>(value));
234 template <
typename ReportNameT = Aws::String>
236 m_reportNameHasBeenSet =
true;
237 m_reportName = std::forward<ReportNameT>(value);
239 template <
typename ReportNameT = Aws::String>
252 template <
typename TagsT = Aws::Vector<Tag>>
254 m_tagsHasBeenSet =
true;
255 m_tags = std::forward<TagsT>(value);
257 template <
typename TagsT = Aws::Vector<Tag>>
259 SetTags(std::forward<TagsT>(value));
262 template <
typename TagsT = Tag>
264 m_tagsHasBeenSet =
true;
265 m_tags.emplace_back(std::forward<TagsT>(value));
274 int m_reportCompletionPercent{0};
293 bool m_cacheReportARNHasBeenSet =
false;
294 bool m_cacheReportStatusHasBeenSet =
false;
295 bool m_reportCompletionPercentHasBeenSet =
false;
296 bool m_endTimeHasBeenSet =
false;
297 bool m_roleHasBeenSet =
false;
298 bool m_fileShareARNHasBeenSet =
false;
299 bool m_locationARNHasBeenSet =
false;
300 bool m_startTimeHasBeenSet =
false;
301 bool m_inclusionFiltersHasBeenSet =
false;
302 bool m_exclusionFiltersHasBeenSet =
false;
303 bool m_reportNameHasBeenSet =
false;
304 bool m_tagsHasBeenSet =
false;
CacheReportInfo & WithCacheReportStatus(CacheReportStatus value)
CacheReportInfo & WithEndTime(EndTimeT &&value)
AWS_STORAGEGATEWAY_API CacheReportInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CacheReportARNHasBeenSet() const
void SetEndTime(EndTimeT &&value)
CacheReportInfo & WithCacheReportARN(CacheReportARNT &&value)
bool ExclusionFiltersHasBeenSet() const
const Aws::String & GetFileShareARN() const
bool TagsHasBeenSet() const
void SetReportName(ReportNameT &&value)
AWS_STORAGEGATEWAY_API CacheReportInfo(Aws::Utils::Json::JsonView jsonValue)
CacheReportInfo & WithRole(RoleT &&value)
void SetStartTime(StartTimeT &&value)
bool LocationARNHasBeenSet() const
bool EndTimeHasBeenSet() const
void SetFileShareARN(FileShareARNT &&value)
CacheReportInfo & WithFileShareARN(FileShareARNT &&value)
CacheReportInfo & WithReportCompletionPercent(int value)
CacheReportInfo & AddInclusionFilters(InclusionFiltersT &&value)
void SetCacheReportARN(CacheReportARNT &&value)
bool CacheReportStatusHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::Utils::DateTime & GetEndTime() const
CacheReportInfo & WithTags(TagsT &&value)
const Aws::String & GetReportName() const
AWS_STORAGEGATEWAY_API CacheReportInfo()=default
bool InclusionFiltersHasBeenSet() const
bool ReportNameHasBeenSet() const
CacheReportInfo & WithStartTime(StartTimeT &&value)
bool StartTimeHasBeenSet() const
CacheReportInfo & WithReportName(ReportNameT &&value)
void SetReportCompletionPercent(int value)
CacheReportInfo & WithLocationARN(LocationARNT &&value)
const Aws::String & GetLocationARN() const
CacheReportStatus GetCacheReportStatus() const
CacheReportInfo & WithExclusionFilters(ExclusionFiltersT &&value)
const Aws::String & GetRole() const
bool ReportCompletionPercentHasBeenSet() const
void SetRole(RoleT &&value)
CacheReportInfo & AddExclusionFilters(ExclusionFiltersT &&value)
void SetExclusionFilters(ExclusionFiltersT &&value)
const Aws::Vector< CacheReportFilter > & GetInclusionFilters() const
bool FileShareARNHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
bool RoleHasBeenSet() const
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetCacheReportARN() const
const Aws::Vector< CacheReportFilter > & GetExclusionFilters() const
CacheReportInfo & AddTags(TagsT &&value)
void SetCacheReportStatus(CacheReportStatus value)
int GetReportCompletionPercent() const
void SetInclusionFilters(InclusionFiltersT &&value)
CacheReportInfo & WithInclusionFilters(InclusionFiltersT &&value)
void SetLocationARN(LocationARNT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue