7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/storagegateway/model/CacheReportStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/storagegateway/model/CacheReportFilter.h>
13#include <aws/storagegateway/model/Tag.h>
26namespace StorageGateway
53 template<
typename CacheReportARNT = Aws::String>
54 void SetCacheReportARN(CacheReportARNT&& value) { m_cacheReportARNHasBeenSet =
true; m_cacheReportARN = std::forward<CacheReportARNT>(value); }
55 template<
typename CacheReportARNT = Aws::String>
86 template<
typename EndTimeT = Aws::Utils::DateTime>
87 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
88 template<
typename EndTimeT = Aws::Utils::DateTime>
96 template<
typename RoleT = Aws::String>
97 void SetRole(RoleT&& value) { m_roleHasBeenSet =
true; m_role = std::forward<RoleT>(value); }
98 template<
typename RoleT = Aws::String>
106 template<
typename FileShareARNT = Aws::String>
107 void SetFileShareARN(FileShareARNT&& value) { m_fileShareARNHasBeenSet =
true; m_fileShareARN = std::forward<FileShareARNT>(value); }
108 template<
typename FileShareARNT = Aws::String>
118 template<
typename LocationARNT = Aws::String>
119 void SetLocationARN(LocationARNT&& value) { m_locationARNHasBeenSet =
true; m_locationARN = std::forward<LocationARNT>(value); }
120 template<
typename LocationARNT = Aws::String>
130 template<
typename StartTimeT = Aws::Utils::DateTime>
131 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
132 template<
typename StartTimeT = Aws::Utils::DateTime>
143 template<
typename InclusionFiltersT = Aws::Vector<CacheReportFilter>>
144 void SetInclusionFilters(InclusionFiltersT&& value) { m_inclusionFiltersHasBeenSet =
true; m_inclusionFilters = std::forward<InclusionFiltersT>(value); }
145 template<
typename InclusionFiltersT = Aws::Vector<CacheReportFilter>>
147 template<
typename InclusionFiltersT = CacheReportFilter>
148 CacheReportInfo&
AddInclusionFilters(InclusionFiltersT&& value) { m_inclusionFiltersHasBeenSet =
true; m_inclusionFilters.emplace_back(std::forward<InclusionFiltersT>(value));
return *
this; }
158 template<
typename ExclusionFiltersT = Aws::Vector<CacheReportFilter>>
159 void SetExclusionFilters(ExclusionFiltersT&& value) { m_exclusionFiltersHasBeenSet =
true; m_exclusionFilters = std::forward<ExclusionFiltersT>(value); }
160 template<
typename ExclusionFiltersT = Aws::Vector<CacheReportFilter>>
162 template<
typename ExclusionFiltersT = CacheReportFilter>
163 CacheReportInfo&
AddExclusionFilters(ExclusionFiltersT&& value) { m_exclusionFiltersHasBeenSet =
true; m_exclusionFilters.emplace_back(std::forward<ExclusionFiltersT>(value));
return *
this; }
172 template<
typename ReportNameT = Aws::String>
173 void SetReportName(ReportNameT&& value) { m_reportNameHasBeenSet =
true; m_reportName = std::forward<ReportNameT>(value); }
174 template<
typename ReportNameT = Aws::String>
184 template<
typename TagsT = Aws::Vector<Tag>>
185 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
186 template<
typename TagsT = Aws::Vector<Tag>>
188 template<
typename TagsT = Tag>
189 CacheReportInfo&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
194 bool m_cacheReportARNHasBeenSet =
false;
197 bool m_cacheReportStatusHasBeenSet =
false;
199 int m_reportCompletionPercent{0};
200 bool m_reportCompletionPercentHasBeenSet =
false;
203 bool m_endTimeHasBeenSet =
false;
206 bool m_roleHasBeenSet =
false;
209 bool m_fileShareARNHasBeenSet =
false;
212 bool m_locationARNHasBeenSet =
false;
215 bool m_startTimeHasBeenSet =
false;
218 bool m_inclusionFiltersHasBeenSet =
false;
221 bool m_exclusionFiltersHasBeenSet =
false;
224 bool m_reportNameHasBeenSet =
false;
227 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