AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetAttachedFileMetadataResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/AttachedFile.h>
11#include <aws/connect/model/AttachedFileError.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{
31 {
32 public:
36
37
39
42 inline const Aws::Vector<AttachedFile>& GetFiles() const{ return m_files; }
43 inline void SetFiles(const Aws::Vector<AttachedFile>& value) { m_files = value; }
44 inline void SetFiles(Aws::Vector<AttachedFile>&& value) { m_files = std::move(value); }
46 inline BatchGetAttachedFileMetadataResult& WithFiles(Aws::Vector<AttachedFile>&& value) { SetFiles(std::move(value)); return *this;}
47 inline BatchGetAttachedFileMetadataResult& AddFiles(const AttachedFile& value) { m_files.push_back(value); return *this; }
48 inline BatchGetAttachedFileMetadataResult& AddFiles(AttachedFile&& value) { m_files.push_back(std::move(value)); return *this; }
50
52
55 inline const Aws::Vector<AttachedFileError>& GetErrors() const{ return m_errors; }
56 inline void SetErrors(const Aws::Vector<AttachedFileError>& value) { m_errors = value; }
57 inline void SetErrors(Aws::Vector<AttachedFileError>&& value) { m_errors = std::move(value); }
60 inline BatchGetAttachedFileMetadataResult& AddErrors(const AttachedFileError& value) { m_errors.push_back(value); return *this; }
61 inline BatchGetAttachedFileMetadataResult& AddErrors(AttachedFileError&& value) { m_errors.push_back(std::move(value)); return *this; }
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline BatchGetAttachedFileMetadataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline BatchGetAttachedFileMetadataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline BatchGetAttachedFileMetadataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
77
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace Connect
85} // namespace Aws
AWS_CONNECT_API BatchGetAttachedFileMetadataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CONNECT_API BatchGetAttachedFileMetadataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetAttachedFileMetadataResult & WithRequestId(const Aws::String &value)
BatchGetAttachedFileMetadataResult & WithErrors(Aws::Vector< AttachedFileError > &&value)
BatchGetAttachedFileMetadataResult & WithErrors(const Aws::Vector< AttachedFileError > &value)
void SetErrors(const Aws::Vector< AttachedFileError > &value)
BatchGetAttachedFileMetadataResult & AddErrors(const AttachedFileError &value)
BatchGetAttachedFileMetadataResult & WithRequestId(const char *value)
BatchGetAttachedFileMetadataResult & AddErrors(AttachedFileError &&value)
BatchGetAttachedFileMetadataResult & WithFiles(const Aws::Vector< AttachedFile > &value)
BatchGetAttachedFileMetadataResult & AddFiles(const AttachedFile &value)
BatchGetAttachedFileMetadataResult & AddFiles(AttachedFile &&value)
BatchGetAttachedFileMetadataResult & WithFiles(Aws::Vector< AttachedFile > &&value)
BatchGetAttachedFileMetadataResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue