AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListIdentitiesResult.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/email/model/ResponseMetadata.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{
37 {
38 public:
39 AWS_SES_API ListIdentitiesResult();
42
43
45
48 inline const Aws::Vector<Aws::String>& GetIdentities() const{ return m_identities; }
49 inline void SetIdentities(const Aws::Vector<Aws::String>& value) { m_identities = value; }
50 inline void SetIdentities(Aws::Vector<Aws::String>&& value) { m_identities = std::move(value); }
51 inline ListIdentitiesResult& WithIdentities(const Aws::Vector<Aws::String>& value) { SetIdentities(value); return *this;}
52 inline ListIdentitiesResult& WithIdentities(Aws::Vector<Aws::String>&& value) { SetIdentities(std::move(value)); return *this;}
53 inline ListIdentitiesResult& AddIdentities(const Aws::String& value) { m_identities.push_back(value); return *this; }
54 inline ListIdentitiesResult& AddIdentities(Aws::String&& value) { m_identities.push_back(std::move(value)); return *this; }
55 inline ListIdentitiesResult& AddIdentities(const char* value) { m_identities.push_back(value); return *this; }
57
59
62 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
63 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
64 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
65 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
66 inline ListIdentitiesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
67 inline ListIdentitiesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
68 inline ListIdentitiesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
70
72
73 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
74 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
75 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
77 inline ListIdentitiesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
79 private:
80
81 Aws::Vector<Aws::String> m_identities;
82
83 Aws::String m_nextToken;
84
85 ResponseMetadata m_responseMetadata;
86 };
87
88} // namespace Model
89} // namespace SES
90} // namespace Aws
const Aws::String & GetNextToken() const
const ResponseMetadata & GetResponseMetadata() const
void SetNextToken(const Aws::String &value)
ListIdentitiesResult & WithIdentities(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetIdentities() const
ListIdentitiesResult & AddIdentities(Aws::String &&value)
ListIdentitiesResult & WithResponseMetadata(const ResponseMetadata &value)
ListIdentitiesResult & AddIdentities(const char *value)
AWS_SES_API ListIdentitiesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_SES_API ListIdentitiesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListIdentitiesResult & WithNextToken(const Aws::String &value)
ListIdentitiesResult & WithIdentities(Aws::Vector< Aws::String > &&value)
ListIdentitiesResult & WithNextToken(Aws::String &&value)
void SetResponseMetadata(const ResponseMetadata &value)
void SetIdentities(Aws::Vector< Aws::String > &&value)
void SetResponseMetadata(ResponseMetadata &&value)
ListIdentitiesResult & AddIdentities(const Aws::String &value)
ListIdentitiesResult & WithNextToken(const char *value)
void SetIdentities(const Aws::Vector< Aws::String > &value)
ListIdentitiesResult & WithResponseMetadata(ResponseMetadata &&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