AWS SDK for C++  1.9.156
AWS SDK for C++
GetEmailIdentityPoliciesResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace SESV2
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const Aws::Map<Aws::String, Aws::String>& GetPolicies() const{ return m_policies; }
46 
50  inline void SetPolicies(const Aws::Map<Aws::String, Aws::String>& value) { m_policies = value; }
51 
55  inline void SetPolicies(Aws::Map<Aws::String, Aws::String>&& value) { m_policies = std::move(value); }
56 
60  inline GetEmailIdentityPoliciesResult& WithPolicies(const Aws::Map<Aws::String, Aws::String>& value) { SetPolicies(value); return *this;}
61 
65  inline GetEmailIdentityPoliciesResult& WithPolicies(Aws::Map<Aws::String, Aws::String>&& value) { SetPolicies(std::move(value)); return *this;}
66 
70  inline GetEmailIdentityPoliciesResult& AddPolicies(const Aws::String& key, const Aws::String& value) { m_policies.emplace(key, value); return *this; }
71 
75  inline GetEmailIdentityPoliciesResult& AddPolicies(Aws::String&& key, const Aws::String& value) { m_policies.emplace(std::move(key), value); return *this; }
76 
80  inline GetEmailIdentityPoliciesResult& AddPolicies(const Aws::String& key, Aws::String&& value) { m_policies.emplace(key, std::move(value)); return *this; }
81 
85  inline GetEmailIdentityPoliciesResult& AddPolicies(Aws::String&& key, Aws::String&& value) { m_policies.emplace(std::move(key), std::move(value)); return *this; }
86 
90  inline GetEmailIdentityPoliciesResult& AddPolicies(const char* key, Aws::String&& value) { m_policies.emplace(key, std::move(value)); return *this; }
91 
95  inline GetEmailIdentityPoliciesResult& AddPolicies(Aws::String&& key, const char* value) { m_policies.emplace(std::move(key), value); return *this; }
96 
100  inline GetEmailIdentityPoliciesResult& AddPolicies(const char* key, const char* value) { m_policies.emplace(key, value); return *this; }
101 
102  private:
103 
105  };
106 
107 } // namespace Model
108 } // namespace SESV2
109 } // namespace Aws
Aws::SESV2::Model::GetEmailIdentityPoliciesResult::AddPolicies
GetEmailIdentityPoliciesResult & AddPolicies(const Aws::String &key, Aws::String &&value)
Definition: GetEmailIdentityPoliciesResult.h:80
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::GetEmailIdentityPoliciesResult::AddPolicies
GetEmailIdentityPoliciesResult & AddPolicies(Aws::String &&key, Aws::String &&value)
Definition: GetEmailIdentityPoliciesResult.h:85
Aws::SESV2::Model::GetEmailIdentityPoliciesResult::GetPolicies
const Aws::Map< Aws::String, Aws::String > & GetPolicies() const
Definition: GetEmailIdentityPoliciesResult.h:45
Aws::SESV2::Model::GetEmailIdentityPoliciesResult::AddPolicies
GetEmailIdentityPoliciesResult & AddPolicies(Aws::String &&key, const char *value)
Definition: GetEmailIdentityPoliciesResult.h:95
Aws::SESV2::Model::GetEmailIdentityPoliciesResult::AddPolicies
GetEmailIdentityPoliciesResult & AddPolicies(Aws::String &&key, const Aws::String &value)
Definition: GetEmailIdentityPoliciesResult.h:75
Aws::SESV2::Model::GetEmailIdentityPoliciesResult::AddPolicies
GetEmailIdentityPoliciesResult & AddPolicies(const Aws::String &key, const Aws::String &value)
Definition: GetEmailIdentityPoliciesResult.h:70
Aws::SESV2::Model::GetEmailIdentityPoliciesResult::WithPolicies
GetEmailIdentityPoliciesResult & WithPolicies(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetEmailIdentityPoliciesResult.h:65
Aws::SESV2::Model::GetEmailIdentityPoliciesResult::AddPolicies
GetEmailIdentityPoliciesResult & AddPolicies(const char *key, const char *value)
Definition: GetEmailIdentityPoliciesResult.h:100
Aws::SESV2::Model::GetEmailIdentityPoliciesResult
Definition: GetEmailIdentityPoliciesResult.h:35
AWSString.h
Aws::SESV2::Model::GetEmailIdentityPoliciesResult::SetPolicies
void SetPolicies(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetEmailIdentityPoliciesResult.h:55
SESV2_EXPORTS.h
Aws::SESV2::Model::GetEmailIdentityPoliciesResult::SetPolicies
void SetPolicies(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetEmailIdentityPoliciesResult.h:50
Aws::SESV2::Model::GetEmailIdentityPoliciesResult::AddPolicies
GetEmailIdentityPoliciesResult & AddPolicies(const char *key, Aws::String &&value)
Definition: GetEmailIdentityPoliciesResult.h:90
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::GetEmailIdentityPoliciesResult::GetEmailIdentityPoliciesResult
GetEmailIdentityPoliciesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::GetEmailIdentityPoliciesResult::WithPolicies
GetEmailIdentityPoliciesResult & WithPolicies(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetEmailIdentityPoliciesResult.h:60
Aws::SESV2::Model::GetEmailIdentityPoliciesResult::operator=
GetEmailIdentityPoliciesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSMap.h
Aws::SESV2::Model::GetEmailIdentityPoliciesResult::GetEmailIdentityPoliciesResult
GetEmailIdentityPoliciesResult()
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19