AWS SDK for C++  1.8.76
AWS SDK for C++
ListIdentityPoliciesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/email/SESRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SES
15 {
16 namespace Model
17 {
18 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "ListIdentityPolicies"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  protected:
43  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
44 
45  public:
46 
55  inline const Aws::String& GetIdentity() const{ return m_identity; }
56 
65  inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
66 
75  inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; }
76 
85  inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); }
86 
95  inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); }
96 
105  inline ListIdentityPoliciesRequest& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
106 
115  inline ListIdentityPoliciesRequest& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;}
116 
125  inline ListIdentityPoliciesRequest& WithIdentity(const char* value) { SetIdentity(value); return *this;}
126 
127  private:
128 
129  Aws::String m_identity;
130  bool m_identityHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace SES
135 } // namespace Aws
ListIdentityPoliciesRequest & WithIdentity(const Aws::String &value)
ListIdentityPoliciesRequest & WithIdentity(const char *value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
ListIdentityPoliciesRequest & WithIdentity(Aws::String &&value)