AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRecordsResult.h
1
6#pragma once
7#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cognito-sync/model/Record.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 CognitoSync
26{
27namespace Model
28{
35 {
36 public:
37 AWS_COGNITOSYNC_API UpdateRecordsResult();
40
41
43
46 inline const Aws::Vector<Record>& GetRecords() const{ return m_records; }
47 inline void SetRecords(const Aws::Vector<Record>& value) { m_records = value; }
48 inline void SetRecords(Aws::Vector<Record>&& value) { m_records = std::move(value); }
49 inline UpdateRecordsResult& WithRecords(const Aws::Vector<Record>& value) { SetRecords(value); return *this;}
50 inline UpdateRecordsResult& WithRecords(Aws::Vector<Record>&& value) { SetRecords(std::move(value)); return *this;}
51 inline UpdateRecordsResult& AddRecords(const Record& value) { m_records.push_back(value); return *this; }
52 inline UpdateRecordsResult& AddRecords(Record&& value) { m_records.push_back(std::move(value)); return *this; }
54
56
57 inline const Aws::String& GetRequestId() const{ return m_requestId; }
58 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
59 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
60 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
61 inline UpdateRecordsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
62 inline UpdateRecordsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
63 inline UpdateRecordsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
65 private:
66
67 Aws::Vector<Record> m_records;
68
69 Aws::String m_requestId;
70 };
71
72} // namespace Model
73} // namespace CognitoSync
74} // namespace Aws
UpdateRecordsResult & WithRequestId(const char *value)
AWS_COGNITOSYNC_API UpdateRecordsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Record > & GetRecords() const
void SetRecords(const Aws::Vector< Record > &value)
UpdateRecordsResult & AddRecords(const Record &value)
UpdateRecordsResult & WithRecords(Aws::Vector< Record > &&value)
UpdateRecordsResult & WithRequestId(Aws::String &&value)
UpdateRecordsResult & WithRequestId(const Aws::String &value)
UpdateRecordsResult & WithRecords(const Aws::Vector< Record > &value)
void SetRecords(Aws::Vector< Record > &&value)
AWS_COGNITOSYNC_API UpdateRecordsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRecordsResult & AddRecords(Record &&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