AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
32 AWS_SES_API GetIdentityPoliciesRequest() = default;
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 template<typename IdentityT = Aws::String>
58 void SetIdentity(IdentityT&& value) { m_identityHasBeenSet = true; m_identity = std::forward<IdentityT>(value); }
59 template<typename IdentityT = Aws::String>
60 GetIdentityPoliciesRequest& WithIdentity(IdentityT&& value) { SetIdentity(std::forward<IdentityT>(value)); return *this;}
62
64
69 inline const Aws::Vector<Aws::String>& GetPolicyNames() const { return m_policyNames; }
70 inline bool PolicyNamesHasBeenSet() const { return m_policyNamesHasBeenSet; }
71 template<typename PolicyNamesT = Aws::Vector<Aws::String>>
72 void SetPolicyNames(PolicyNamesT&& value) { m_policyNamesHasBeenSet = true; m_policyNames = std::forward<PolicyNamesT>(value); }
73 template<typename PolicyNamesT = Aws::Vector<Aws::String>>
74 GetIdentityPoliciesRequest& WithPolicyNames(PolicyNamesT&& value) { SetPolicyNames(std::forward<PolicyNamesT>(value)); return *this;}
75 template<typename PolicyNamesT = Aws::String>
76 GetIdentityPoliciesRequest& AddPolicyNames(PolicyNamesT&& value) { m_policyNamesHasBeenSet = true; m_policyNames.emplace_back(std::forward<PolicyNamesT>(value)); return *this; }
78 private:
79
80 Aws::String m_identity;
81 bool m_identityHasBeenSet = false;
82
83 Aws::Vector<Aws::String> m_policyNames;
84 bool m_policyNamesHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace SES
89} // namespace Aws
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
GetIdentityPoliciesRequest & WithPolicyNames(PolicyNamesT &&value)
GetIdentityPoliciesRequest & AddPolicyNames(PolicyNamesT &&value)
virtual const char * GetServiceRequestName() const override
GetIdentityPoliciesRequest & WithIdentity(IdentityT &&value)
AWS_SES_API GetIdentityPoliciesRequest()=default
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