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>
54 inline void SetCreationTime(
const char* value) { m_creationTimeHasBeenSet =
true; m_creationTime.assign(value); }
68 inline void SetFileArn(
const char* value) { m_fileArnHasBeenSet =
true; m_fileArn.assign(value); }
82 inline void SetFileId(
const char* value) { m_fileIdHasBeenSet =
true; m_fileId.assign(value); }
96 inline void SetFileName(
const char* value) { m_fileNameHasBeenSet =
true; m_fileName.assign(value); }
108 inline void SetFileSizeInBytes(
long long value) { m_fileSizeInBytesHasBeenSet =
true; m_fileSizeInBytes = value; }
159 inline void SetAssociatedResourceArn(
const char* value) { m_associatedResourceArnHasBeenSet =
true; m_associatedResourceArn.assign(value); }
182 inline AttachedFile&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
187 bool m_creationTimeHasBeenSet =
false;
190 bool m_fileArnHasBeenSet =
false;
193 bool m_fileIdHasBeenSet =
false;
196 bool m_fileNameHasBeenSet =
false;
198 long long m_fileSizeInBytes;
199 bool m_fileSizeInBytesHasBeenSet =
false;
202 bool m_fileStatusHasBeenSet =
false;
205 bool m_createdByHasBeenSet =
false;
208 bool m_fileUseCaseTypeHasBeenSet =
false;
211 bool m_associatedResourceArnHasBeenSet =
false;
214 bool m_tagsHasBeenSet =
false;
AttachedFile & WithFileUseCaseType(const FileUseCaseType &value)
void SetFileArn(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AttachedFile & WithCreationTime(const char *value)
AttachedFile & WithCreatedBy(const CreatedByInfo &value)
AttachedFile & WithCreationTime(const Aws::String &value)
void SetCreatedBy(CreatedByInfo &&value)
void SetCreatedBy(const CreatedByInfo &value)
AttachedFile & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AttachedFile & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool TagsHasBeenSet() const
AttachedFile & AddTags(const char *key, Aws::String &&value)
void SetFileArn(const Aws::String &value)
bool FileIdHasBeenSet() const
void SetCreationTime(const Aws::String &value)
AttachedFile & WithFileSizeInBytes(long long value)
AWS_CONNECT_API AttachedFile()
void SetFileName(const char *value)
long long GetFileSizeInBytes() const
void SetAssociatedResourceArn(Aws::String &&value)
const Aws::String & GetCreationTime() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const FileUseCaseType & GetFileUseCaseType() const
bool AssociatedResourceArnHasBeenSet() const
void SetAssociatedResourceArn(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AttachedFile & WithCreatedBy(CreatedByInfo &&value)
AttachedFile & WithFileUseCaseType(FileUseCaseType &&value)
AttachedFile & WithAssociatedResourceArn(const char *value)
AttachedFile & WithAssociatedResourceArn(Aws::String &&value)
const Aws::String & GetAssociatedResourceArn() const
bool FileStatusHasBeenSet() const
AttachedFile & AddTags(Aws::String &&key, const char *value)
void SetFileName(const Aws::String &value)
void SetFileStatus(const FileStatusType &value)
AWS_CONNECT_API AttachedFile(Aws::Utils::Json::JsonView jsonValue)
void SetFileId(Aws::String &&value)
AttachedFile & WithFileArn(const Aws::String &value)
AttachedFile & WithFileName(const char *value)
AttachedFile & AddTags(Aws::String &&key, const Aws::String &value)
bool FileSizeInBytesHasBeenSet() const
const FileStatusType & GetFileStatus() const
AttachedFile & WithCreationTime(Aws::String &&value)
bool CreationTimeHasBeenSet() const
void SetAssociatedResourceArn(const Aws::String &value)
AttachedFile & WithFileName(Aws::String &&value)
void SetFileName(Aws::String &&value)
void SetFileSizeInBytes(long long value)
void SetFileUseCaseType(const FileUseCaseType &value)
AttachedFile & AddTags(Aws::String &&key, Aws::String &&value)
void SetFileId(const Aws::String &value)
const Aws::String & GetFileArn() const
AttachedFile & AddTags(const Aws::String &key, Aws::String &&value)
void SetFileStatus(FileStatusType &&value)
AttachedFile & WithFileId(const char *value)
bool FileArnHasBeenSet() const
const CreatedByInfo & GetCreatedBy() const
void SetFileArn(Aws::String &&value)
AttachedFile & WithFileId(const Aws::String &value)
AWS_CONNECT_API AttachedFile & operator=(Aws::Utils::Json::JsonView jsonValue)
AttachedFile & WithFileId(Aws::String &&value)
bool CreatedByHasBeenSet() const
AttachedFile & AddTags(const Aws::String &key, const Aws::String &value)
bool FileUseCaseTypeHasBeenSet() const
void SetCreationTime(Aws::String &&value)
const Aws::String & GetFileId() const
const Aws::String & GetFileName() const
AttachedFile & WithFileStatus(const FileStatusType &value)
AttachedFile & WithFileName(const Aws::String &value)
void SetFileId(const char *value)
bool FileNameHasBeenSet() const
void SetCreationTime(const char *value)
AttachedFile & WithFileArn(Aws::String &&value)
AttachedFile & WithAssociatedResourceArn(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AttachedFile & WithFileStatus(FileStatusType &&value)
AttachedFile & AddTags(const char *key, const char *value)
AttachedFile & WithFileArn(const char *value)
void SetFileUseCaseType(FileUseCaseType &&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