AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetIdentityPoliciesRequest.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/email/SESRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SES
16{
17namespace Model
18{
19
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 "GetIdentityPolicies"; }
39
40 AWS_SES_API Aws::String SerializePayload() const override;
41
42 protected:
43 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
44
45 public:
46
48
55 inline const Aws::String& GetIdentity() const{ return m_identity; }
56 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
57 inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; }
58 inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); }
59 inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); }
60 inline GetIdentityPoliciesRequest& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
61 inline GetIdentityPoliciesRequest& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;}
62 inline GetIdentityPoliciesRequest& WithIdentity(const char* value) { SetIdentity(value); return *this;}
64
66
71 inline const Aws::Vector<Aws::String>& GetPolicyNames() const{ return m_policyNames; }
72 inline bool PolicyNamesHasBeenSet() const { return m_policyNamesHasBeenSet; }
73 inline void SetPolicyNames(const Aws::Vector<Aws::String>& value) { m_policyNamesHasBeenSet = true; m_policyNames = value; }
74 inline void SetPolicyNames(Aws::Vector<Aws::String>&& value) { m_policyNamesHasBeenSet = true; m_policyNames = std::move(value); }
76 inline GetIdentityPoliciesRequest& WithPolicyNames(Aws::Vector<Aws::String>&& value) { SetPolicyNames(std::move(value)); return *this;}
77 inline GetIdentityPoliciesRequest& AddPolicyNames(const Aws::String& value) { m_policyNamesHasBeenSet = true; m_policyNames.push_back(value); return *this; }
78 inline GetIdentityPoliciesRequest& AddPolicyNames(Aws::String&& value) { m_policyNamesHasBeenSet = true; m_policyNames.push_back(std::move(value)); return *this; }
79 inline GetIdentityPoliciesRequest& AddPolicyNames(const char* value) { m_policyNamesHasBeenSet = true; m_policyNames.push_back(value); return *this; }
81 private:
82
83 Aws::String m_identity;
84 bool m_identityHasBeenSet = false;
85
86 Aws::Vector<Aws::String> m_policyNames;
87 bool m_policyNamesHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SES
92} // namespace Aws
void SetPolicyNames(const Aws::Vector< Aws::String > &value)
GetIdentityPoliciesRequest & AddPolicyNames(const Aws::String &value)
GetIdentityPoliciesRequest & WithPolicyNames(const Aws::Vector< Aws::String > &value)
GetIdentityPoliciesRequest & WithIdentity(const char *value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
GetIdentityPoliciesRequest & AddPolicyNames(const char *value)
GetIdentityPoliciesRequest & AddPolicyNames(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
GetIdentityPoliciesRequest & WithIdentity(Aws::String &&value)
void SetPolicyNames(Aws::Vector< Aws::String > &&value)
GetIdentityPoliciesRequest & WithIdentity(const Aws::String &value)
GetIdentityPoliciesRequest & WithPolicyNames(Aws::Vector< Aws::String > &&value)
AWS_SES_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetPolicyNames() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector