AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAttachedFileResult.h
1
6#pragma once
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/FileUseCaseType.h>
11#include <aws/connect/model/CreatedByInfo.h>
12#include <aws/connect/model/DownloadUrlMetadata.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Connect
29{
30namespace Model
31{
38 {
39 public:
40 AWS_CONNECT_API GetAttachedFileResult();
43
44
46
49 inline const Aws::String& GetFileArn() const{ return m_fileArn; }
50 inline void SetFileArn(const Aws::String& value) { m_fileArn = value; }
51 inline void SetFileArn(Aws::String&& value) { m_fileArn = std::move(value); }
52 inline void SetFileArn(const char* value) { m_fileArn.assign(value); }
53 inline GetAttachedFileResult& WithFileArn(const Aws::String& value) { SetFileArn(value); return *this;}
54 inline GetAttachedFileResult& WithFileArn(Aws::String&& value) { SetFileArn(std::move(value)); return *this;}
55 inline GetAttachedFileResult& WithFileArn(const char* value) { SetFileArn(value); return *this;}
57
59
62 inline const Aws::String& GetFileId() const{ return m_fileId; }
63 inline void SetFileId(const Aws::String& value) { m_fileId = value; }
64 inline void SetFileId(Aws::String&& value) { m_fileId = std::move(value); }
65 inline void SetFileId(const char* value) { m_fileId.assign(value); }
66 inline GetAttachedFileResult& WithFileId(const Aws::String& value) { SetFileId(value); return *this;}
67 inline GetAttachedFileResult& WithFileId(Aws::String&& value) { SetFileId(std::move(value)); return *this;}
68 inline GetAttachedFileResult& WithFileId(const char* value) { SetFileId(value); return *this;}
70
72
77 inline const Aws::String& GetCreationTime() const{ return m_creationTime; }
78 inline void SetCreationTime(const Aws::String& value) { m_creationTime = value; }
79 inline void SetCreationTime(Aws::String&& value) { m_creationTime = std::move(value); }
80 inline void SetCreationTime(const char* value) { m_creationTime.assign(value); }
81 inline GetAttachedFileResult& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;}
82 inline GetAttachedFileResult& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;}
83 inline GetAttachedFileResult& WithCreationTime(const char* value) { SetCreationTime(value); return *this;}
85
87
90 inline const FileStatusType& GetFileStatus() const{ return m_fileStatus; }
91 inline void SetFileStatus(const FileStatusType& value) { m_fileStatus = value; }
92 inline void SetFileStatus(FileStatusType&& value) { m_fileStatus = std::move(value); }
93 inline GetAttachedFileResult& WithFileStatus(const FileStatusType& value) { SetFileStatus(value); return *this;}
94 inline GetAttachedFileResult& WithFileStatus(FileStatusType&& value) { SetFileStatus(std::move(value)); return *this;}
96
98
101 inline const Aws::String& GetFileName() const{ return m_fileName; }
102 inline void SetFileName(const Aws::String& value) { m_fileName = value; }
103 inline void SetFileName(Aws::String&& value) { m_fileName = std::move(value); }
104 inline void SetFileName(const char* value) { m_fileName.assign(value); }
105 inline GetAttachedFileResult& WithFileName(const Aws::String& value) { SetFileName(value); return *this;}
106 inline GetAttachedFileResult& WithFileName(Aws::String&& value) { SetFileName(std::move(value)); return *this;}
107 inline GetAttachedFileResult& WithFileName(const char* value) { SetFileName(value); return *this;}
109
111
114 inline long long GetFileSizeInBytes() const{ return m_fileSizeInBytes; }
115 inline void SetFileSizeInBytes(long long value) { m_fileSizeInBytes = value; }
116 inline GetAttachedFileResult& WithFileSizeInBytes(long long value) { SetFileSizeInBytes(value); return *this;}
118
120
125 inline const Aws::String& GetAssociatedResourceArn() const{ return m_associatedResourceArn; }
126 inline void SetAssociatedResourceArn(const Aws::String& value) { m_associatedResourceArn = value; }
127 inline void SetAssociatedResourceArn(Aws::String&& value) { m_associatedResourceArn = std::move(value); }
128 inline void SetAssociatedResourceArn(const char* value) { m_associatedResourceArn.assign(value); }
130 inline GetAttachedFileResult& WithAssociatedResourceArn(Aws::String&& value) { SetAssociatedResourceArn(std::move(value)); return *this;}
131 inline GetAttachedFileResult& WithAssociatedResourceArn(const char* value) { SetAssociatedResourceArn(value); return *this;}
133
135
138 inline const FileUseCaseType& GetFileUseCaseType() const{ return m_fileUseCaseType; }
139 inline void SetFileUseCaseType(const FileUseCaseType& value) { m_fileUseCaseType = value; }
140 inline void SetFileUseCaseType(FileUseCaseType&& value) { m_fileUseCaseType = std::move(value); }
142 inline GetAttachedFileResult& WithFileUseCaseType(FileUseCaseType&& value) { SetFileUseCaseType(std::move(value)); return *this;}
144
146
149 inline const CreatedByInfo& GetCreatedBy() const{ return m_createdBy; }
150 inline void SetCreatedBy(const CreatedByInfo& value) { m_createdBy = value; }
151 inline void SetCreatedBy(CreatedByInfo&& value) { m_createdBy = std::move(value); }
152 inline GetAttachedFileResult& WithCreatedBy(const CreatedByInfo& value) { SetCreatedBy(value); return *this;}
153 inline GetAttachedFileResult& WithCreatedBy(CreatedByInfo&& value) { SetCreatedBy(std::move(value)); return *this;}
155
157
160 inline const DownloadUrlMetadata& GetDownloadUrlMetadata() const{ return m_downloadUrlMetadata; }
161 inline void SetDownloadUrlMetadata(const DownloadUrlMetadata& value) { m_downloadUrlMetadata = value; }
162 inline void SetDownloadUrlMetadata(DownloadUrlMetadata&& value) { m_downloadUrlMetadata = std::move(value); }
166
168
172 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
173 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
174 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
175 inline GetAttachedFileResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
176 inline GetAttachedFileResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
177 inline GetAttachedFileResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
178 inline GetAttachedFileResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
179 inline GetAttachedFileResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
180 inline GetAttachedFileResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
181 inline GetAttachedFileResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
182 inline GetAttachedFileResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
183 inline GetAttachedFileResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
185
187
188 inline const Aws::String& GetRequestId() const{ return m_requestId; }
189 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
190 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
191 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
192 inline GetAttachedFileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
193 inline GetAttachedFileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
194 inline GetAttachedFileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
196 private:
197
198 Aws::String m_fileArn;
199
200 Aws::String m_fileId;
201
202 Aws::String m_creationTime;
203
204 FileStatusType m_fileStatus;
205
206 Aws::String m_fileName;
207
208 long long m_fileSizeInBytes;
209
210 Aws::String m_associatedResourceArn;
211
212 FileUseCaseType m_fileUseCaseType;
213
214 CreatedByInfo m_createdBy;
215
216 DownloadUrlMetadata m_downloadUrlMetadata;
217
219
220 Aws::String m_requestId;
221 };
222
223} // namespace Model
224} // namespace Connect
225} // namespace Aws
GetAttachedFileResult & WithCreatedBy(CreatedByInfo &&value)
GetAttachedFileResult & WithCreationTime(Aws::String &&value)
void SetCreatedBy(const CreatedByInfo &value)
GetAttachedFileResult & WithFileArn(const Aws::String &value)
GetAttachedFileResult & WithRequestId(const char *value)
GetAttachedFileResult & WithFileId(const char *value)
GetAttachedFileResult & WithFileName(Aws::String &&value)
GetAttachedFileResult & WithFileName(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetAttachedFileResult & AddTags(Aws::String &&key, const Aws::String &value)
GetAttachedFileResult & AddTags(const char *key, Aws::String &&value)
GetAttachedFileResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetFileStatus(const FileStatusType &value)
GetAttachedFileResult & WithFileId(const Aws::String &value)
const DownloadUrlMetadata & GetDownloadUrlMetadata() const
GetAttachedFileResult & WithCreationTime(const Aws::String &value)
GetAttachedFileResult & AddTags(Aws::String &&key, const char *value)
GetAttachedFileResult & WithDownloadUrlMetadata(DownloadUrlMetadata &&value)
GetAttachedFileResult & AddTags(const Aws::String &key, const Aws::String &value)
GetAttachedFileResult & WithAssociatedResourceArn(const char *value)
GetAttachedFileResult & WithCreationTime(const char *value)
GetAttachedFileResult & WithFileArn(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDownloadUrlMetadata(DownloadUrlMetadata &&value)
GetAttachedFileResult & WithDownloadUrlMetadata(const DownloadUrlMetadata &value)
void SetFileUseCaseType(const FileUseCaseType &value)
GetAttachedFileResult & WithRequestId(const Aws::String &value)
GetAttachedFileResult & WithCreatedBy(const CreatedByInfo &value)
GetAttachedFileResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetAttachedFileResult & WithFileUseCaseType(FileUseCaseType &&value)
GetAttachedFileResult & AddTags(Aws::String &&key, Aws::String &&value)
GetAttachedFileResult & WithRequestId(Aws::String &&value)
GetAttachedFileResult & WithFileArn(Aws::String &&value)
GetAttachedFileResult & WithFileStatus(FileStatusType &&value)
GetAttachedFileResult & WithFileId(Aws::String &&value)
GetAttachedFileResult & AddTags(const char *key, const char *value)
void SetDownloadUrlMetadata(const DownloadUrlMetadata &value)
GetAttachedFileResult & AddTags(const Aws::String &key, Aws::String &&value)
GetAttachedFileResult & WithAssociatedResourceArn(Aws::String &&value)
GetAttachedFileResult & WithFileName(const Aws::String &value)
AWS_CONNECT_API GetAttachedFileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CONNECT_API GetAttachedFileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAttachedFileResult & WithFileUseCaseType(const FileUseCaseType &value)
void SetAssociatedResourceArn(const Aws::String &value)
const FileUseCaseType & GetFileUseCaseType() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetAttachedFileResult & WithFileSizeInBytes(long long value)
void SetCreationTime(const Aws::String &value)
GetAttachedFileResult & WithAssociatedResourceArn(const Aws::String &value)
GetAttachedFileResult & WithFileStatus(const FileStatusType &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