AWS SDK for C++  1.8.129
AWS SDK for C++
GetIdentityPoliciesResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace SES
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Aws::Map<Aws::String, Aws::String>& GetPolicies() const{ return m_policies; }
47 
51  inline void SetPolicies(const Aws::Map<Aws::String, Aws::String>& value) { m_policies = value; }
52 
56  inline void SetPolicies(Aws::Map<Aws::String, Aws::String>&& value) { m_policies = std::move(value); }
57 
61  inline GetIdentityPoliciesResult& WithPolicies(const Aws::Map<Aws::String, Aws::String>& value) { SetPolicies(value); return *this;}
62 
66  inline GetIdentityPoliciesResult& WithPolicies(Aws::Map<Aws::String, Aws::String>&& value) { SetPolicies(std::move(value)); return *this;}
67 
71  inline GetIdentityPoliciesResult& AddPolicies(const Aws::String& key, const Aws::String& value) { m_policies.emplace(key, value); return *this; }
72 
76  inline GetIdentityPoliciesResult& AddPolicies(Aws::String&& key, const Aws::String& value) { m_policies.emplace(std::move(key), value); return *this; }
77 
81  inline GetIdentityPoliciesResult& AddPolicies(const Aws::String& key, Aws::String&& value) { m_policies.emplace(key, std::move(value)); return *this; }
82 
86  inline GetIdentityPoliciesResult& AddPolicies(Aws::String&& key, Aws::String&& value) { m_policies.emplace(std::move(key), std::move(value)); return *this; }
87 
91  inline GetIdentityPoliciesResult& AddPolicies(const char* key, Aws::String&& value) { m_policies.emplace(key, std::move(value)); return *this; }
92 
96  inline GetIdentityPoliciesResult& AddPolicies(Aws::String&& key, const char* value) { m_policies.emplace(std::move(key), value); return *this; }
97 
101  inline GetIdentityPoliciesResult& AddPolicies(const char* key, const char* value) { m_policies.emplace(key, value); return *this; }
102 
103 
104 
105  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
106 
107 
108  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
109 
110 
111  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
112 
113 
114  inline GetIdentityPoliciesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
115 
116 
117  inline GetIdentityPoliciesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
118 
119  private:
120 
122 
123  ResponseMetadata m_responseMetadata;
124  };
125 
126 } // namespace Model
127 } // namespace SES
128 } // namespace Aws
Aws::SES::Model::GetIdentityPoliciesResult::SetPolicies
void SetPolicies(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetIdentityPoliciesResult.h:56
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SES::Model::GetIdentityPoliciesResult::GetIdentityPoliciesResult
GetIdentityPoliciesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::GetIdentityPoliciesResult::WithResponseMetadata
GetIdentityPoliciesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: GetIdentityPoliciesResult.h:117
Aws::SES::Model::GetIdentityPoliciesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: GetIdentityPoliciesResult.h:105
Aws::SES::Model::GetIdentityPoliciesResult::WithResponseMetadata
GetIdentityPoliciesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: GetIdentityPoliciesResult.h:114
Aws::SES::Model::GetIdentityPoliciesResult::operator=
GetIdentityPoliciesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SES::Model::GetIdentityPoliciesResult::GetIdentityPoliciesResult
GetIdentityPoliciesResult()
Aws::SES::Model::GetIdentityPoliciesResult::AddPolicies
GetIdentityPoliciesResult & AddPolicies(Aws::String &&key, Aws::String &&value)
Definition: GetIdentityPoliciesResult.h:86
Aws::SES::Model::GetIdentityPoliciesResult::GetPolicies
const Aws::Map< Aws::String, Aws::String > & GetPolicies() const
Definition: GetIdentityPoliciesResult.h:46
Aws::SES::Model::GetIdentityPoliciesResult::WithPolicies
GetIdentityPoliciesResult & WithPolicies(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetIdentityPoliciesResult.h:61
Aws::SES::Model::GetIdentityPoliciesResult::AddPolicies
GetIdentityPoliciesResult & AddPolicies(Aws::String &&key, const char *value)
Definition: GetIdentityPoliciesResult.h:96
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::GetIdentityPoliciesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: GetIdentityPoliciesResult.h:108
Aws::SES::Model::GetIdentityPoliciesResult
Definition: GetIdentityPoliciesResult.h:36
Aws::SES::Model::GetIdentityPoliciesResult::AddPolicies
GetIdentityPoliciesResult & AddPolicies(const char *key, Aws::String &&value)
Definition: GetIdentityPoliciesResult.h:91
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::GetIdentityPoliciesResult::SetPolicies
void SetPolicies(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetIdentityPoliciesResult.h:51
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::GetIdentityPoliciesResult::AddPolicies
GetIdentityPoliciesResult & AddPolicies(Aws::String &&key, const Aws::String &value)
Definition: GetIdentityPoliciesResult.h:76
Aws::SES::Model::GetIdentityPoliciesResult::AddPolicies
GetIdentityPoliciesResult & AddPolicies(const Aws::String &key, Aws::String &&value)
Definition: GetIdentityPoliciesResult.h:81
ResponseMetadata.h
Aws::SES::Model::GetIdentityPoliciesResult::AddPolicies
GetIdentityPoliciesResult & AddPolicies(const char *key, const char *value)
Definition: GetIdentityPoliciesResult.h:101
Aws::SES::Model::GetIdentityPoliciesResult::WithPolicies
GetIdentityPoliciesResult & WithPolicies(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetIdentityPoliciesResult.h:66
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::SES::Model::GetIdentityPoliciesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: GetIdentityPoliciesResult.h:111
Aws::SES::Model::GetIdentityPoliciesResult::AddPolicies
GetIdentityPoliciesResult & AddPolicies(const Aws::String &key, const Aws::String &value)
Definition: GetIdentityPoliciesResult.h:71