AWS SDK for C++  1.9.104
AWS SDK for C++
IndexDocumentsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CloudSearch
15 {
16 namespace Model
17 {
18 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "IndexDocuments"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  protected:
40  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41 
42  public:
43 
44 
45  inline const Aws::String& GetDomainName() const{ return m_domainName; }
46 
47 
48  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
49 
50 
51  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
52 
53 
54  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
55 
56 
57  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
58 
59 
60  inline IndexDocumentsRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
61 
62 
63  inline IndexDocumentsRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
64 
65 
66  inline IndexDocumentsRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
67 
68  private:
69 
70  Aws::String m_domainName;
71  bool m_domainNameHasBeenSet;
72  };
73 
74 } // namespace Model
75 } // namespace CloudSearch
76 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::CloudSearch::Model::IndexDocumentsRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: IndexDocumentsRequest.h:48
Aws::CloudSearch::Model::IndexDocumentsRequest::SetDomainName
void SetDomainName(const char *value)
Definition: IndexDocumentsRequest.h:57
CloudSearch_EXPORTS.h
Aws::CloudSearch::Model::IndexDocumentsRequest::IndexDocumentsRequest
IndexDocumentsRequest()
Aws::CloudSearch::Model::IndexDocumentsRequest::WithDomainName
IndexDocumentsRequest & WithDomainName(const char *value)
Definition: IndexDocumentsRequest.h:66
Aws::CloudSearch::Model::IndexDocumentsRequest::WithDomainName
IndexDocumentsRequest & WithDomainName(Aws::String &&value)
Definition: IndexDocumentsRequest.h:63
Aws::CloudSearch::Model::IndexDocumentsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: IndexDocumentsRequest.h:35
Aws::CloudSearch::Model::IndexDocumentsRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: IndexDocumentsRequest.h:45
Aws::CloudSearch::Model::IndexDocumentsRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::CloudSearch::Model::IndexDocumentsRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: IndexDocumentsRequest.h:51
Aws::CloudSearch::CloudSearchRequest
Definition: CloudSearchRequest.h:17
Aws::CloudSearch::Model::IndexDocumentsRequest::WithDomainName
IndexDocumentsRequest & WithDomainName(const Aws::String &value)
Definition: IndexDocumentsRequest.h:60
CloudSearchRequest.h
Aws
Definition: AccessManagementClient.h:15
AWS_CLOUDSEARCH_API
#define AWS_CLOUDSEARCH_API
Definition: CloudSearch_EXPORTS.h:28
Aws::CloudSearch::Model::IndexDocumentsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudSearch::Model::IndexDocumentsRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: IndexDocumentsRequest.h:54
Aws::CloudSearch::Model::IndexDocumentsRequest
Definition: IndexDocumentsRequest.h:27