AWS SDK for C++  1.9.104
AWS SDK for C++
BatchDeleteAttributesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace SimpleDB
17 {
18 namespace Model
19 {
20 
24  {
25  public:
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::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
44  inline const Aws::String& GetDomainName() const{ return m_domainName; }
45 
49  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
50 
54  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
55 
59  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
60 
64  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
65 
69  inline BatchDeleteAttributesRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
70 
74  inline BatchDeleteAttributesRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
75 
79  inline BatchDeleteAttributesRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
80 
81 
85  inline const Aws::Vector<DeletableItem>& GetItems() const{ return m_items; }
86 
90  inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
91 
95  inline void SetItems(const Aws::Vector<DeletableItem>& value) { m_itemsHasBeenSet = true; m_items = value; }
96 
100  inline void SetItems(Aws::Vector<DeletableItem>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
101 
105  inline BatchDeleteAttributesRequest& WithItems(const Aws::Vector<DeletableItem>& value) { SetItems(value); return *this;}
106 
110  inline BatchDeleteAttributesRequest& WithItems(Aws::Vector<DeletableItem>&& value) { SetItems(std::move(value)); return *this;}
111 
115  inline BatchDeleteAttributesRequest& AddItems(const DeletableItem& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
116 
120  inline BatchDeleteAttributesRequest& AddItems(DeletableItem&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
121 
122  private:
123 
124  Aws::String m_domainName;
125  bool m_domainNameHasBeenSet;
126 
128  bool m_itemsHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace SimpleDB
133 } // namespace Aws
Aws::SimpleDB::Model::BatchDeleteAttributesRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: BatchDeleteAttributesRequest.h:49
Aws::Http::URI
Definition: URI.h:32
Aws::SimpleDB::Model::BatchDeleteAttributesRequest::ItemsHasBeenSet
bool ItemsHasBeenSet() const
Definition: BatchDeleteAttributesRequest.h:90
SimpleDBRequest.h
Aws::SimpleDB::Model::BatchDeleteAttributesRequest::WithDomainName
BatchDeleteAttributesRequest & WithDomainName(Aws::String &&value)
Definition: BatchDeleteAttributesRequest.h:74
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
DeletableItem.h
AWSVector.h
Aws::SimpleDB::Model::BatchDeleteAttributesRequest::AddItems
BatchDeleteAttributesRequest & AddItems(DeletableItem &&value)
Definition: BatchDeleteAttributesRequest.h:120
Aws::SimpleDB::Model::DeletableItem
Definition: DeletableItem.h:29
Aws::SimpleDB::Model::BatchDeleteAttributesRequest::AddItems
BatchDeleteAttributesRequest & AddItems(const DeletableItem &value)
Definition: BatchDeleteAttributesRequest.h:115
Aws::SimpleDB::Model::BatchDeleteAttributesRequest::BatchDeleteAttributesRequest
BatchDeleteAttributesRequest()
Aws::SimpleDB::Model::BatchDeleteAttributesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SimpleDB::Model::BatchDeleteAttributesRequest::WithItems
BatchDeleteAttributesRequest & WithItems(Aws::Vector< DeletableItem > &&value)
Definition: BatchDeleteAttributesRequest.h:110
Aws::SimpleDB::Model::BatchDeleteAttributesRequest::SetDomainName
void SetDomainName(const char *value)
Definition: BatchDeleteAttributesRequest.h:64
Aws::SimpleDB::Model::BatchDeleteAttributesRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: BatchDeleteAttributesRequest.h:54
AWSString.h
Aws::SimpleDB::Model::BatchDeleteAttributesRequest::WithDomainName
BatchDeleteAttributesRequest & WithDomainName(const Aws::String &value)
Definition: BatchDeleteAttributesRequest.h:69
Aws::SimpleDB::Model::BatchDeleteAttributesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SimpleDB::Model::BatchDeleteAttributesRequest
Definition: BatchDeleteAttributesRequest.h:24
Aws::SimpleDB::Model::BatchDeleteAttributesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchDeleteAttributesRequest.h:32
Aws::SimpleDB::Model::BatchDeleteAttributesRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: BatchDeleteAttributesRequest.h:59
Aws::SimpleDB::Model::BatchDeleteAttributesRequest::WithItems
BatchDeleteAttributesRequest & WithItems(const Aws::Vector< DeletableItem > &value)
Definition: BatchDeleteAttributesRequest.h:105
Aws
Definition: AccessManagementClient.h:15
Aws::SimpleDB::Model::BatchDeleteAttributesRequest::WithDomainName
BatchDeleteAttributesRequest & WithDomainName(const char *value)
Definition: BatchDeleteAttributesRequest.h:79
AWS_SIMPLEDB_API
#define AWS_SIMPLEDB_API
Definition: SimpleDB_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SimpleDB_EXPORTS.h
Aws::SimpleDB::Model::BatchDeleteAttributesRequest::SetItems
void SetItems(Aws::Vector< DeletableItem > &&value)
Definition: BatchDeleteAttributesRequest.h:100
Aws::SimpleDB::Model::BatchDeleteAttributesRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: BatchDeleteAttributesRequest.h:44
Aws::SimpleDB::Model::BatchDeleteAttributesRequest::GetItems
const Aws::Vector< DeletableItem > & GetItems() const
Definition: BatchDeleteAttributesRequest.h:85
Aws::SimpleDB::Model::BatchDeleteAttributesRequest::SetItems
void SetItems(const Aws::Vector< DeletableItem > &value)
Definition: BatchDeleteAttributesRequest.h:95
Aws::SimpleDB::SimpleDBRequest
Definition: SimpleDBRequest.h:17