AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDeleteAttributesRequest.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 <aws/sdb/model/DeletableItem.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SimpleDB
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SIMPLEDB_API BatchDeleteAttributesRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "BatchDeleteAttributes"; }
33
34 AWS_SIMPLEDB_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_SIMPLEDB_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
45 inline const Aws::String& GetDomainName() const{ return m_domainName; }
46 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
47 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
48 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
49 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
50 inline BatchDeleteAttributesRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
51 inline BatchDeleteAttributesRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
52 inline BatchDeleteAttributesRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
54
56
59 inline const Aws::Vector<DeletableItem>& GetItems() const{ return m_items; }
60 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
61 inline void SetItems(const Aws::Vector<DeletableItem>& value) { m_itemsHasBeenSet = true; m_items = value; }
62 inline void SetItems(Aws::Vector<DeletableItem>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
63 inline BatchDeleteAttributesRequest& WithItems(const Aws::Vector<DeletableItem>& value) { SetItems(value); return *this;}
64 inline BatchDeleteAttributesRequest& WithItems(Aws::Vector<DeletableItem>&& value) { SetItems(std::move(value)); return *this;}
65 inline BatchDeleteAttributesRequest& AddItems(const DeletableItem& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
66 inline BatchDeleteAttributesRequest& AddItems(DeletableItem&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
68 private:
69
70 Aws::String m_domainName;
71 bool m_domainNameHasBeenSet = false;
72
74 bool m_itemsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SimpleDB
79} // namespace Aws
BatchDeleteAttributesRequest & WithDomainName(const char *value)
void SetItems(Aws::Vector< DeletableItem > &&value)
BatchDeleteAttributesRequest & WithDomainName(Aws::String &&value)
BatchDeleteAttributesRequest & WithItems(const Aws::Vector< DeletableItem > &value)
const Aws::Vector< DeletableItem > & GetItems() const
BatchDeleteAttributesRequest & AddItems(const DeletableItem &value)
AWS_SIMPLEDB_API Aws::String SerializePayload() const override
BatchDeleteAttributesRequest & WithItems(Aws::Vector< DeletableItem > &&value)
BatchDeleteAttributesRequest & WithDomainName(const Aws::String &value)
BatchDeleteAttributesRequest & AddItems(DeletableItem &&value)
AWS_SIMPLEDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetItems(const Aws::Vector< DeletableItem > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector