AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UploadDocumentsResult.h
1
6#pragma once
7#include <aws/cloudsearchdomain/CloudSearchDomain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cloudsearchdomain/model/DocumentServiceWarning.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CloudSearchDomain
26{
27namespace Model
28{
36 {
37 public:
38 AWS_CLOUDSEARCHDOMAIN_API UploadDocumentsResult();
41
42
44
47 inline const Aws::String& GetStatus() const{ return m_status; }
48 inline void SetStatus(const Aws::String& value) { m_status = value; }
49 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
50 inline void SetStatus(const char* value) { m_status.assign(value); }
51 inline UploadDocumentsResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
52 inline UploadDocumentsResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
53 inline UploadDocumentsResult& WithStatus(const char* value) { SetStatus(value); return *this;}
55
57
60 inline long long GetAdds() const{ return m_adds; }
61 inline void SetAdds(long long value) { m_adds = value; }
62 inline UploadDocumentsResult& WithAdds(long long value) { SetAdds(value); return *this;}
64
66
69 inline long long GetDeletes() const{ return m_deletes; }
70 inline void SetDeletes(long long value) { m_deletes = value; }
71 inline UploadDocumentsResult& WithDeletes(long long value) { SetDeletes(value); return *this;}
73
75
79 inline const Aws::Vector<DocumentServiceWarning>& GetWarnings() const{ return m_warnings; }
80 inline void SetWarnings(const Aws::Vector<DocumentServiceWarning>& value) { m_warnings = value; }
81 inline void SetWarnings(Aws::Vector<DocumentServiceWarning>&& value) { m_warnings = std::move(value); }
83 inline UploadDocumentsResult& WithWarnings(Aws::Vector<DocumentServiceWarning>&& value) { SetWarnings(std::move(value)); return *this;}
84 inline UploadDocumentsResult& AddWarnings(const DocumentServiceWarning& value) { m_warnings.push_back(value); return *this; }
85 inline UploadDocumentsResult& AddWarnings(DocumentServiceWarning&& value) { m_warnings.push_back(std::move(value)); return *this; }
87
89
90 inline const Aws::String& GetRequestId() const{ return m_requestId; }
91 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
92 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
93 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
94 inline UploadDocumentsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
95 inline UploadDocumentsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
96 inline UploadDocumentsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
98 private:
99
100 Aws::String m_status;
101
102 long long m_adds;
103
104 long long m_deletes;
105
107
108 Aws::String m_requestId;
109 };
110
111} // namespace Model
112} // namespace CloudSearchDomain
113} // namespace Aws
UploadDocumentsResult & WithAdds(long long value)
UploadDocumentsResult & WithStatus(Aws::String &&value)
void SetWarnings(Aws::Vector< DocumentServiceWarning > &&value)
AWS_CLOUDSEARCHDOMAIN_API UploadDocumentsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UploadDocumentsResult & WithStatus(const char *value)
UploadDocumentsResult & AddWarnings(DocumentServiceWarning &&value)
UploadDocumentsResult & AddWarnings(const DocumentServiceWarning &value)
void SetWarnings(const Aws::Vector< DocumentServiceWarning > &value)
UploadDocumentsResult & WithRequestId(const Aws::String &value)
UploadDocumentsResult & WithStatus(const Aws::String &value)
UploadDocumentsResult & WithWarnings(Aws::Vector< DocumentServiceWarning > &&value)
AWS_CLOUDSEARCHDOMAIN_API UploadDocumentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UploadDocumentsResult & WithWarnings(const Aws::Vector< DocumentServiceWarning > &value)
UploadDocumentsResult & WithDeletes(long long value)
UploadDocumentsResult & WithRequestId(Aws::String &&value)
const Aws::Vector< DocumentServiceWarning > & GetWarnings() const
UploadDocumentsResult & WithRequestId(const char *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