AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SelectResult.h
1
6#pragma once
7#include <aws/sdb/SimpleDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sdb/model/ResponseMetadata.h>
11#include <aws/sdb/model/Item.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace SimpleDB
27{
28namespace Model
29{
31 {
32 public:
33 AWS_SIMPLEDB_API SelectResult();
36
37
39
42 inline const Aws::Vector<Item>& GetItems() const{ return m_items; }
43 inline void SetItems(const Aws::Vector<Item>& value) { m_items = value; }
44 inline void SetItems(Aws::Vector<Item>&& value) { m_items = std::move(value); }
45 inline SelectResult& WithItems(const Aws::Vector<Item>& value) { SetItems(value); return *this;}
46 inline SelectResult& WithItems(Aws::Vector<Item>&& value) { SetItems(std::move(value)); return *this;}
47 inline SelectResult& AddItems(const Item& value) { m_items.push_back(value); return *this; }
48 inline SelectResult& AddItems(Item&& value) { m_items.push_back(std::move(value)); return *this; }
50
52
57 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
58 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
59 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
60 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
61 inline SelectResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
62 inline SelectResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
63 inline SelectResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
65
67
68 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
69 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
70 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
71 inline SelectResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
72 inline SelectResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
74 private:
75
76 Aws::Vector<Item> m_items;
77
78 Aws::String m_nextToken;
79
80 ResponseMetadata m_responseMetadata;
81 };
82
83} // namespace Model
84} // namespace SimpleDB
85} // namespace Aws
void SetNextToken(const char *value)
SelectResult & WithNextToken(const Aws::String &value)
const Aws::String & GetNextToken() const
const Aws::Vector< Item > & GetItems() const
SelectResult & WithNextToken(const char *value)
void SetResponseMetadata(ResponseMetadata &&value)
SelectResult & WithResponseMetadata(ResponseMetadata &&value)
void SetNextToken(const Aws::String &value)
SelectResult & WithNextToken(Aws::String &&value)
void SetNextToken(Aws::String &&value)
AWS_SIMPLEDB_API SelectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
SelectResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_SIMPLEDB_API SelectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
SelectResult & WithItems(Aws::Vector< Item > &&value)
void SetItems(const Aws::Vector< Item > &value)
SelectResult & AddItems(const Item &value)
SelectResult & AddItems(Item &&value)
void SetItems(Aws::Vector< Item > &&value)
SelectResult & WithItems(const Aws::Vector< Item > &value)
void SetResponseMetadata(const ResponseMetadata &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument