7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/FileStatusType.h>
10#include <aws/connect/model/CreatedByInfo.h>
11#include <aws/connect/model/FileUseCaseType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
52 template<
typename CreationTimeT = Aws::String>
53 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
54 template<
typename CreationTimeT = Aws::String>
64 template<
typename FileArnT = Aws::String>
65 void SetFileArn(FileArnT&& value) { m_fileArnHasBeenSet =
true; m_fileArn = std::forward<FileArnT>(value); }
66 template<
typename FileArnT = Aws::String>
76 template<
typename FileIdT = Aws::String>
77 void SetFileId(FileIdT&& value) { m_fileIdHasBeenSet =
true; m_fileId = std::forward<FileIdT>(value); }
78 template<
typename FileIdT = Aws::String>
88 template<
typename FileNameT = Aws::String>
89 void SetFileName(FileNameT&& value) { m_fileNameHasBeenSet =
true; m_fileName = std::forward<FileNameT>(value); }
90 template<
typename FileNameT = Aws::String>
100 inline void SetFileSizeInBytes(
long long value) { m_fileSizeInBytesHasBeenSet =
true; m_fileSizeInBytes = value; }
120 template<
typename CreatedByT = CreatedByInfo>
121 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
122 template<
typename CreatedByT = CreatedByInfo>
145 template<
typename AssociatedResourceArnT = Aws::String>
146 void SetAssociatedResourceArn(AssociatedResourceArnT&& value) { m_associatedResourceArnHasBeenSet =
true; m_associatedResourceArn = std::forward<AssociatedResourceArnT>(value); }
147 template<
typename AssociatedResourceArnT = Aws::String>
158 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
159 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
160 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
162 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
164 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
170 bool m_creationTimeHasBeenSet =
false;
173 bool m_fileArnHasBeenSet =
false;
176 bool m_fileIdHasBeenSet =
false;
179 bool m_fileNameHasBeenSet =
false;
181 long long m_fileSizeInBytes{0};
182 bool m_fileSizeInBytesHasBeenSet =
false;
185 bool m_fileStatusHasBeenSet =
false;
187 CreatedByInfo m_createdBy;
188 bool m_createdByHasBeenSet =
false;
191 bool m_fileUseCaseTypeHasBeenSet =
false;
194 bool m_associatedResourceArnHasBeenSet =
false;
197 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