AWS SDK for C++  1.8.129
AWS SDK for C++
ListIdentityPoliciesResult.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::Vector<Aws::String>& GetPolicyNames() const{ return m_policyNames; }
47 
51  inline void SetPolicyNames(const Aws::Vector<Aws::String>& value) { m_policyNames = value; }
52 
56  inline void SetPolicyNames(Aws::Vector<Aws::String>&& value) { m_policyNames = std::move(value); }
57 
61  inline ListIdentityPoliciesResult& WithPolicyNames(const Aws::Vector<Aws::String>& value) { SetPolicyNames(value); return *this;}
62 
66  inline ListIdentityPoliciesResult& WithPolicyNames(Aws::Vector<Aws::String>&& value) { SetPolicyNames(std::move(value)); return *this;}
67 
71  inline ListIdentityPoliciesResult& AddPolicyNames(const Aws::String& value) { m_policyNames.push_back(value); return *this; }
72 
76  inline ListIdentityPoliciesResult& AddPolicyNames(Aws::String&& value) { m_policyNames.push_back(std::move(value)); return *this; }
77 
81  inline ListIdentityPoliciesResult& AddPolicyNames(const char* value) { m_policyNames.push_back(value); return *this; }
82 
83 
84 
85  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
86 
87 
88  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
89 
90 
91  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
92 
93 
94  inline ListIdentityPoliciesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
95 
96 
97  inline ListIdentityPoliciesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
98 
99  private:
100 
101  Aws::Vector<Aws::String> m_policyNames;
102 
103  ResponseMetadata m_responseMetadata;
104  };
105 
106 } // namespace Model
107 } // namespace SES
108 } // namespace Aws
Aws::SES::Model::ListIdentityPoliciesResult::WithResponseMetadata
ListIdentityPoliciesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: ListIdentityPoliciesResult.h:94
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SES::Model::ListIdentityPoliciesResult::ListIdentityPoliciesResult
ListIdentityPoliciesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::ListIdentityPoliciesResult::operator=
ListIdentityPoliciesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SES::Model::ListIdentityPoliciesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ListIdentityPoliciesResult.h:91
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SES::Model::ListIdentityPoliciesResult::GetPolicyNames
const Aws::Vector< Aws::String > & GetPolicyNames() const
Definition: ListIdentityPoliciesResult.h:46
AWSVector.h
Aws::SES::Model::ListIdentityPoliciesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ListIdentityPoliciesResult.h:85
Aws::SES::Model::ListIdentityPoliciesResult::SetPolicyNames
void SetPolicyNames(const Aws::Vector< Aws::String > &value)
Definition: ListIdentityPoliciesResult.h:51
AWSString.h
Aws::SES::Model::ListIdentityPoliciesResult
Definition: ListIdentityPoliciesResult.h:36
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::ListIdentityPoliciesResult::WithPolicyNames
ListIdentityPoliciesResult & WithPolicyNames(Aws::Vector< Aws::String > &&value)
Definition: ListIdentityPoliciesResult.h:66
Aws::SES::Model::ListIdentityPoliciesResult::AddPolicyNames
ListIdentityPoliciesResult & AddPolicyNames(const Aws::String &value)
Definition: ListIdentityPoliciesResult.h:71
Aws::SES::Model::ListIdentityPoliciesResult::ListIdentityPoliciesResult
ListIdentityPoliciesResult()
Aws::SES::Model::ListIdentityPoliciesResult::WithPolicyNames
ListIdentityPoliciesResult & WithPolicyNames(const Aws::Vector< Aws::String > &value)
Definition: ListIdentityPoliciesResult.h:61
Aws::SES::Model::ListIdentityPoliciesResult::AddPolicyNames
ListIdentityPoliciesResult & AddPolicyNames(Aws::String &&value)
Definition: ListIdentityPoliciesResult.h:76
Aws::SES::Model::ListIdentityPoliciesResult::WithResponseMetadata
ListIdentityPoliciesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: ListIdentityPoliciesResult.h:97
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::ListIdentityPoliciesResult::SetPolicyNames
void SetPolicyNames(Aws::Vector< Aws::String > &&value)
Definition: ListIdentityPoliciesResult.h:56
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::ListIdentityPoliciesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ListIdentityPoliciesResult.h:88
ResponseMetadata.h
Aws::SES::Model::ListIdentityPoliciesResult::AddPolicyNames
ListIdentityPoliciesResult & AddPolicyNames(const char *value)
Definition: ListIdentityPoliciesResult.h:81