AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListIdentityPoliciesResult.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/email/model/ResponseMetadata.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace SES
26{
27namespace Model
28{
36 {
37 public:
41
42
44
47 inline const Aws::Vector<Aws::String>& GetPolicyNames() const{ return m_policyNames; }
48 inline void SetPolicyNames(const Aws::Vector<Aws::String>& value) { m_policyNames = value; }
49 inline void SetPolicyNames(Aws::Vector<Aws::String>&& value) { m_policyNames = std::move(value); }
51 inline ListIdentityPoliciesResult& WithPolicyNames(Aws::Vector<Aws::String>&& value) { SetPolicyNames(std::move(value)); return *this;}
52 inline ListIdentityPoliciesResult& AddPolicyNames(const Aws::String& value) { m_policyNames.push_back(value); return *this; }
53 inline ListIdentityPoliciesResult& AddPolicyNames(Aws::String&& value) { m_policyNames.push_back(std::move(value)); return *this; }
54 inline ListIdentityPoliciesResult& AddPolicyNames(const char* value) { m_policyNames.push_back(value); return *this; }
56
58
59 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
60 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
61 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
63 inline ListIdentityPoliciesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
65 private:
66
67 Aws::Vector<Aws::String> m_policyNames;
68
69 ResponseMetadata m_responseMetadata;
70 };
71
72} // namespace Model
73} // namespace SES
74} // namespace Aws
ListIdentityPoliciesResult & AddPolicyNames(const char *value)
ListIdentityPoliciesResult & WithPolicyNames(Aws::Vector< Aws::String > &&value)
ListIdentityPoliciesResult & WithResponseMetadata(const ResponseMetadata &value)
void SetResponseMetadata(const ResponseMetadata &value)
AWS_SES_API ListIdentityPoliciesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetPolicyNames(Aws::Vector< Aws::String > &&value)
ListIdentityPoliciesResult & WithPolicyNames(const Aws::Vector< Aws::String > &value)
ListIdentityPoliciesResult & AddPolicyNames(const Aws::String &value)
AWS_SES_API ListIdentityPoliciesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< Aws::String > & GetPolicyNames() const
ListIdentityPoliciesResult & AddPolicyNames(Aws::String &&value)
ListIdentityPoliciesResult & WithResponseMetadata(ResponseMetadata &&value)
void SetPolicyNames(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument