AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetEmailIdentityPoliciesResult.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SESV2
25{
26namespace Model
27{
35 {
36 public:
40
41
43
46 inline const Aws::Map<Aws::String, Aws::String>& GetPolicies() const{ return m_policies; }
47 inline void SetPolicies(const Aws::Map<Aws::String, Aws::String>& value) { m_policies = value; }
48 inline void SetPolicies(Aws::Map<Aws::String, Aws::String>&& value) { m_policies = std::move(value); }
51 inline GetEmailIdentityPoliciesResult& AddPolicies(const Aws::String& key, const Aws::String& value) { m_policies.emplace(key, value); return *this; }
52 inline GetEmailIdentityPoliciesResult& AddPolicies(Aws::String&& key, const Aws::String& value) { m_policies.emplace(std::move(key), value); return *this; }
53 inline GetEmailIdentityPoliciesResult& AddPolicies(const Aws::String& key, Aws::String&& value) { m_policies.emplace(key, std::move(value)); return *this; }
54 inline GetEmailIdentityPoliciesResult& AddPolicies(Aws::String&& key, Aws::String&& value) { m_policies.emplace(std::move(key), std::move(value)); return *this; }
55 inline GetEmailIdentityPoliciesResult& AddPolicies(const char* key, Aws::String&& value) { m_policies.emplace(key, std::move(value)); return *this; }
56 inline GetEmailIdentityPoliciesResult& AddPolicies(Aws::String&& key, const char* value) { m_policies.emplace(std::move(key), value); return *this; }
57 inline GetEmailIdentityPoliciesResult& AddPolicies(const char* key, const char* value) { m_policies.emplace(key, value); return *this; }
59
61
62 inline const Aws::String& GetRequestId() const{ return m_requestId; }
63 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
64 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
65 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
66 inline GetEmailIdentityPoliciesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
67 inline GetEmailIdentityPoliciesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
68 inline GetEmailIdentityPoliciesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
70 private:
71
73
74 Aws::String m_requestId;
75 };
76
77} // namespace Model
78} // namespace SESV2
79} // namespace Aws
GetEmailIdentityPoliciesResult & WithRequestId(const Aws::String &value)
GetEmailIdentityPoliciesResult & AddPolicies(const Aws::String &key, const Aws::String &value)
GetEmailIdentityPoliciesResult & AddPolicies(const Aws::String &key, Aws::String &&value)
GetEmailIdentityPoliciesResult & AddPolicies(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetPolicies() const
GetEmailIdentityPoliciesResult & AddPolicies(Aws::String &&key, const Aws::String &value)
AWS_SESV2_API GetEmailIdentityPoliciesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SESV2_API GetEmailIdentityPoliciesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEmailIdentityPoliciesResult & AddPolicies(const char *key, Aws::String &&value)
GetEmailIdentityPoliciesResult & WithPolicies(Aws::Map< Aws::String, Aws::String > &&value)
GetEmailIdentityPoliciesResult & WithPolicies(const Aws::Map< Aws::String, Aws::String > &value)
void SetPolicies(Aws::Map< Aws::String, Aws::String > &&value)
void SetPolicies(const Aws::Map< Aws::String, Aws::String > &value)
GetEmailIdentityPoliciesResult & WithRequestId(Aws::String &&value)
GetEmailIdentityPoliciesResult & AddPolicies(const char *key, const char *value)
GetEmailIdentityPoliciesResult & AddPolicies(Aws::String &&key, Aws::String &&value)
GetEmailIdentityPoliciesResult & WithRequestId(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue