AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartAttachedFileUploadResult.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/CreatedByInfo.h>
11#include <aws/connect/model/UploadUrlMetadata.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Connect
27{
28namespace Model
29{
36 {
37 public:
41
42
44
47 inline const Aws::String& GetFileArn() const{ return m_fileArn; }
48 inline void SetFileArn(const Aws::String& value) { m_fileArn = value; }
49 inline void SetFileArn(Aws::String&& value) { m_fileArn = std::move(value); }
50 inline void SetFileArn(const char* value) { m_fileArn.assign(value); }
51 inline StartAttachedFileUploadResult& WithFileArn(const Aws::String& value) { SetFileArn(value); return *this;}
52 inline StartAttachedFileUploadResult& WithFileArn(Aws::String&& value) { SetFileArn(std::move(value)); return *this;}
53 inline StartAttachedFileUploadResult& WithFileArn(const char* value) { SetFileArn(value); return *this;}
55
57
60 inline const Aws::String& GetFileId() const{ return m_fileId; }
61 inline void SetFileId(const Aws::String& value) { m_fileId = value; }
62 inline void SetFileId(Aws::String&& value) { m_fileId = std::move(value); }
63 inline void SetFileId(const char* value) { m_fileId.assign(value); }
64 inline StartAttachedFileUploadResult& WithFileId(const Aws::String& value) { SetFileId(value); return *this;}
65 inline StartAttachedFileUploadResult& WithFileId(Aws::String&& value) { SetFileId(std::move(value)); return *this;}
66 inline StartAttachedFileUploadResult& WithFileId(const char* value) { SetFileId(value); return *this;}
68
70
75 inline const Aws::String& GetCreationTime() const{ return m_creationTime; }
76 inline void SetCreationTime(const Aws::String& value) { m_creationTime = value; }
77 inline void SetCreationTime(Aws::String&& value) { m_creationTime = std::move(value); }
78 inline void SetCreationTime(const char* value) { m_creationTime.assign(value); }
79 inline StartAttachedFileUploadResult& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;}
80 inline StartAttachedFileUploadResult& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;}
81 inline StartAttachedFileUploadResult& WithCreationTime(const char* value) { SetCreationTime(value); return *this;}
83
85
88 inline const FileStatusType& GetFileStatus() const{ return m_fileStatus; }
89 inline void SetFileStatus(const FileStatusType& value) { m_fileStatus = value; }
90 inline void SetFileStatus(FileStatusType&& value) { m_fileStatus = std::move(value); }
91 inline StartAttachedFileUploadResult& WithFileStatus(const FileStatusType& value) { SetFileStatus(value); return *this;}
92 inline StartAttachedFileUploadResult& WithFileStatus(FileStatusType&& value) { SetFileStatus(std::move(value)); return *this;}
94
96
99 inline const CreatedByInfo& GetCreatedBy() const{ return m_createdBy; }
100 inline void SetCreatedBy(const CreatedByInfo& value) { m_createdBy = value; }
101 inline void SetCreatedBy(CreatedByInfo&& value) { m_createdBy = std::move(value); }
102 inline StartAttachedFileUploadResult& WithCreatedBy(const CreatedByInfo& value) { SetCreatedBy(value); return *this;}
103 inline StartAttachedFileUploadResult& WithCreatedBy(CreatedByInfo&& value) { SetCreatedBy(std::move(value)); return *this;}
105
107
110 inline const UploadUrlMetadata& GetUploadUrlMetadata() const{ return m_uploadUrlMetadata; }
111 inline void SetUploadUrlMetadata(const UploadUrlMetadata& value) { m_uploadUrlMetadata = value; }
112 inline void SetUploadUrlMetadata(UploadUrlMetadata&& value) { m_uploadUrlMetadata = std::move(value); }
116
118
119 inline const Aws::String& GetRequestId() const{ return m_requestId; }
120 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
121 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
122 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
123 inline StartAttachedFileUploadResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
124 inline StartAttachedFileUploadResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
125 inline StartAttachedFileUploadResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
127 private:
128
129 Aws::String m_fileArn;
130
131 Aws::String m_fileId;
132
133 Aws::String m_creationTime;
134
135 FileStatusType m_fileStatus;
136
137 CreatedByInfo m_createdBy;
138
139 UploadUrlMetadata m_uploadUrlMetadata;
140
141 Aws::String m_requestId;
142 };
143
144} // namespace Model
145} // namespace Connect
146} // namespace Aws
StartAttachedFileUploadResult & WithCreationTime(const Aws::String &value)
StartAttachedFileUploadResult & WithFileArn(const char *value)
StartAttachedFileUploadResult & WithFileId(const Aws::String &value)
StartAttachedFileUploadResult & WithUploadUrlMetadata(UploadUrlMetadata &&value)
StartAttachedFileUploadResult & WithCreatedBy(CreatedByInfo &&value)
StartAttachedFileUploadResult & WithFileId(Aws::String &&value)
AWS_CONNECT_API StartAttachedFileUploadResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CONNECT_API StartAttachedFileUploadResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartAttachedFileUploadResult & WithUploadUrlMetadata(const UploadUrlMetadata &value)
StartAttachedFileUploadResult & WithFileStatus(FileStatusType &&value)
StartAttachedFileUploadResult & WithCreationTime(const char *value)
StartAttachedFileUploadResult & WithFileArn(Aws::String &&value)
StartAttachedFileUploadResult & WithCreatedBy(const CreatedByInfo &value)
StartAttachedFileUploadResult & WithFileArn(const Aws::String &value)
StartAttachedFileUploadResult & WithFileStatus(const FileStatusType &value)
StartAttachedFileUploadResult & WithRequestId(Aws::String &&value)
StartAttachedFileUploadResult & WithFileId(const char *value)
StartAttachedFileUploadResult & WithRequestId(const Aws::String &value)
StartAttachedFileUploadResult & WithCreationTime(Aws::String &&value)
StartAttachedFileUploadResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue