7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/CreatedByInfo.h>
9#include <aws/connect/model/FileStatusType.h>
10#include <aws/connect/model/FileUseCaseType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
46 template <
typename CreationTimeT = Aws::String>
48 m_creationTimeHasBeenSet =
true;
49 m_creationTime = std::forward<CreationTimeT>(value);
51 template <
typename CreationTimeT = Aws::String>
64 template <
typename FileArnT = Aws::String>
66 m_fileArnHasBeenSet =
true;
67 m_fileArn = std::forward<FileArnT>(value);
69 template <
typename FileArnT = Aws::String>
82 template <
typename FileIdT = Aws::String>
84 m_fileIdHasBeenSet =
true;
85 m_fileId = std::forward<FileIdT>(value);
87 template <
typename FileIdT = Aws::String>
100 template <
typename FileNameT = Aws::String>
102 m_fileNameHasBeenSet =
true;
103 m_fileName = std::forward<FileNameT>(value);
105 template <
typename FileNameT = Aws::String>
119 m_fileSizeInBytesHasBeenSet =
true;
120 m_fileSizeInBytes = value;
135 m_fileStatusHasBeenSet =
true;
136 m_fileStatus = value;
150 template <
typename CreatedByT = CreatedByInfo>
152 m_createdByHasBeenSet =
true;
153 m_createdBy = std::forward<CreatedByT>(value);
155 template <
typename CreatedByT = CreatedByInfo>
169 m_fileUseCaseTypeHasBeenSet =
true;
170 m_fileUseCaseType = value;
187 template <
typename AssociatedResourceArnT = Aws::String>
189 m_associatedResourceArnHasBeenSet =
true;
190 m_associatedResourceArn = std::forward<AssociatedResourceArnT>(value);
192 template <
typename AssociatedResourceArnT = Aws::String>
206 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
208 m_tagsHasBeenSet =
true;
209 m_tags = std::forward<TagsT>(value);
211 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
213 SetTags(std::forward<TagsT>(value));
216 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
218 m_tagsHasBeenSet =
true;
219 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
232 long long m_fileSizeInBytes{0};
236 CreatedByInfo m_createdBy;
243 bool m_creationTimeHasBeenSet =
false;
244 bool m_fileArnHasBeenSet =
false;
245 bool m_fileIdHasBeenSet =
false;
246 bool m_fileNameHasBeenSet =
false;
247 bool m_fileSizeInBytesHasBeenSet =
false;
248 bool m_fileStatusHasBeenSet =
false;
249 bool m_createdByHasBeenSet =
false;
250 bool m_fileUseCaseTypeHasBeenSet =
false;
251 bool m_associatedResourceArnHasBeenSet =
false;
252 bool m_tagsHasBeenSet =
false;
void SetCreatedBy(CreatedByT &&value)
void SetAssociatedResourceArn(AssociatedResourceArnT &&value)
AttachedFile & AddTags(TagsKeyT &&key, TagsValueT &&value)
AttachedFile & WithFileStatus(FileStatusType value)
void SetFileArn(FileArnT &&value)
AttachedFile & WithTags(TagsT &&value)
bool TagsHasBeenSet() const
bool FileIdHasBeenSet() const
AWS_CONNECT_API AttachedFile()=default
AttachedFile & WithFileSizeInBytes(long long value)
void SetFileUseCaseType(FileUseCaseType value)
void SetFileName(FileNameT &&value)
AttachedFile & WithFileName(FileNameT &&value)
long long GetFileSizeInBytes() const
FileUseCaseType GetFileUseCaseType() const
const Aws::String & GetCreationTime() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool AssociatedResourceArnHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AttachedFile & WithFileArn(FileArnT &&value)
AttachedFile & WithFileUseCaseType(FileUseCaseType value)
const Aws::String & GetAssociatedResourceArn() const
AttachedFile & WithCreatedBy(CreatedByT &&value)
AttachedFile & WithFileId(FileIdT &&value)
AttachedFile & WithCreationTime(CreationTimeT &&value)
bool FileStatusHasBeenSet() const
AWS_CONNECT_API AttachedFile(Aws::Utils::Json::JsonView jsonValue)
bool FileSizeInBytesHasBeenSet() const
bool CreationTimeHasBeenSet() const
void SetFileSizeInBytes(long long value)
const Aws::String & GetFileArn() const
bool FileArnHasBeenSet() const
const CreatedByInfo & GetCreatedBy() const
AWS_CONNECT_API AttachedFile & operator=(Aws::Utils::Json::JsonView jsonValue)
AttachedFile & WithAssociatedResourceArn(AssociatedResourceArnT &&value)
void SetFileStatus(FileStatusType value)
bool CreatedByHasBeenSet() const
bool FileUseCaseTypeHasBeenSet() const
const Aws::String & GetFileId() const
const Aws::String & GetFileName() const
bool FileNameHasBeenSet() const
void SetCreationTime(CreationTimeT &&value)
void SetFileId(FileIdT &&value)
FileStatusType GetFileStatus() const
void SetTags(TagsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue