AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateServiceAccessPoliciesRequest.h
1
6#pragma once
7#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
8#include <aws/cloudsearch/CloudSearchRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CloudSearch
15{
16namespace Model
17{
18
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateServiceAccessPolicies"; }
37
38 AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
46
47 inline const Aws::String& GetDomainName() const{ return m_domainName; }
48 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
49 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
50 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
51 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
52 inline UpdateServiceAccessPoliciesRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
53 inline UpdateServiceAccessPoliciesRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
54 inline UpdateServiceAccessPoliciesRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
56
58
62 inline const Aws::String& GetAccessPolicies() const{ return m_accessPolicies; }
63 inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
64 inline void SetAccessPolicies(const Aws::String& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = value; }
65 inline void SetAccessPolicies(Aws::String&& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = std::move(value); }
66 inline void SetAccessPolicies(const char* value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies.assign(value); }
68 inline UpdateServiceAccessPoliciesRequest& WithAccessPolicies(Aws::String&& value) { SetAccessPolicies(std::move(value)); return *this;}
69 inline UpdateServiceAccessPoliciesRequest& WithAccessPolicies(const char* value) { SetAccessPolicies(value); return *this;}
71 private:
72
73 Aws::String m_domainName;
74 bool m_domainNameHasBeenSet = false;
75
76 Aws::String m_accessPolicies;
77 bool m_accessPoliciesHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace CloudSearch
82} // namespace Aws
UpdateServiceAccessPoliciesRequest & WithAccessPolicies(const char *value)
AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override
UpdateServiceAccessPoliciesRequest & WithDomainName(const Aws::String &value)
AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
UpdateServiceAccessPoliciesRequest & WithAccessPolicies(const Aws::String &value)
UpdateServiceAccessPoliciesRequest & WithDomainName(const char *value)
UpdateServiceAccessPoliciesRequest & WithAccessPolicies(Aws::String &&value)
UpdateServiceAccessPoliciesRequest & WithDomainName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String