AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAttributesRequest.h
1
6#pragma once
7#include <aws/sdb/SimpleDB_EXPORTS.h>
8#include <aws/sdb/SimpleDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SimpleDB
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SIMPLEDB_API GetAttributesRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetAttributes"; }
32
33 AWS_SIMPLEDB_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_SIMPLEDB_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
44 inline const Aws::String& GetDomainName() const{ return m_domainName; }
45 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
46 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
47 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
48 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
49 inline GetAttributesRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
50 inline GetAttributesRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
51 inline GetAttributesRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
53
55
58 inline const Aws::String& GetItemName() const{ return m_itemName; }
59 inline bool ItemNameHasBeenSet() const { return m_itemNameHasBeenSet; }
60 inline void SetItemName(const Aws::String& value) { m_itemNameHasBeenSet = true; m_itemName = value; }
61 inline void SetItemName(Aws::String&& value) { m_itemNameHasBeenSet = true; m_itemName = std::move(value); }
62 inline void SetItemName(const char* value) { m_itemNameHasBeenSet = true; m_itemName.assign(value); }
63 inline GetAttributesRequest& WithItemName(const Aws::String& value) { SetItemName(value); return *this;}
64 inline GetAttributesRequest& WithItemName(Aws::String&& value) { SetItemName(std::move(value)); return *this;}
65 inline GetAttributesRequest& WithItemName(const char* value) { SetItemName(value); return *this;}
67
69
72 inline const Aws::Vector<Aws::String>& GetAttributeNames() const{ return m_attributeNames; }
73 inline bool AttributeNamesHasBeenSet() const { return m_attributeNamesHasBeenSet; }
74 inline void SetAttributeNames(const Aws::Vector<Aws::String>& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = value; }
75 inline void SetAttributeNames(Aws::Vector<Aws::String>&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = std::move(value); }
77 inline GetAttributesRequest& WithAttributeNames(Aws::Vector<Aws::String>&& value) { SetAttributeNames(std::move(value)); return *this;}
78 inline GetAttributesRequest& AddAttributeNames(const Aws::String& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; }
79 inline GetAttributesRequest& AddAttributeNames(Aws::String&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(std::move(value)); return *this; }
80 inline GetAttributesRequest& AddAttributeNames(const char* value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; }
82
84
90 inline bool GetConsistentRead() const{ return m_consistentRead; }
91 inline bool ConsistentReadHasBeenSet() const { return m_consistentReadHasBeenSet; }
92 inline void SetConsistentRead(bool value) { m_consistentReadHasBeenSet = true; m_consistentRead = value; }
93 inline GetAttributesRequest& WithConsistentRead(bool value) { SetConsistentRead(value); return *this;}
95 private:
96
97 Aws::String m_domainName;
98 bool m_domainNameHasBeenSet = false;
99
100 Aws::String m_itemName;
101 bool m_itemNameHasBeenSet = false;
102
103 Aws::Vector<Aws::String> m_attributeNames;
104 bool m_attributeNamesHasBeenSet = false;
105
106 bool m_consistentRead;
107 bool m_consistentReadHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace SimpleDB
112} // namespace Aws
GetAttributesRequest & AddAttributeNames(const Aws::String &value)
void SetAttributeNames(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
GetAttributesRequest & WithAttributeNames(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetAttributeNames() const
GetAttributesRequest & AddAttributeNames(Aws::String &&value)
GetAttributesRequest & WithDomainName(const char *value)
GetAttributesRequest & WithConsistentRead(bool value)
GetAttributesRequest & WithDomainName(const Aws::String &value)
AWS_SIMPLEDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
GetAttributesRequest & AddAttributeNames(const char *value)
GetAttributesRequest & WithItemName(const Aws::String &value)
void SetDomainName(const Aws::String &value)
AWS_SIMPLEDB_API Aws::String SerializePayload() const override
GetAttributesRequest & WithItemName(const char *value)
GetAttributesRequest & WithAttributeNames(Aws::Vector< Aws::String > &&value)
GetAttributesRequest & WithDomainName(Aws::String &&value)
GetAttributesRequest & WithItemName(Aws::String &&value)
void SetAttributeNames(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector