AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListEmailIdentitiesResult.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sesv2/model/IdentityInfo.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SESV2
26{
27namespace Model
28{
37 {
38 public:
42
43
45
49 inline const Aws::Vector<IdentityInfo>& GetEmailIdentities() const{ return m_emailIdentities; }
50 inline void SetEmailIdentities(const Aws::Vector<IdentityInfo>& value) { m_emailIdentities = value; }
51 inline void SetEmailIdentities(Aws::Vector<IdentityInfo>&& value) { m_emailIdentities = std::move(value); }
54 inline ListEmailIdentitiesResult& AddEmailIdentities(const IdentityInfo& value) { m_emailIdentities.push_back(value); return *this; }
55 inline ListEmailIdentitiesResult& AddEmailIdentities(IdentityInfo&& value) { m_emailIdentities.push_back(std::move(value)); return *this; }
57
59
65 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
66 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
67 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
68 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
69 inline ListEmailIdentitiesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
70 inline ListEmailIdentitiesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 inline ListEmailIdentitiesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline ListEmailIdentitiesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline ListEmailIdentitiesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline ListEmailIdentitiesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::Vector<IdentityInfo> m_emailIdentities;
87
88 Aws::String m_nextToken;
89
90 Aws::String m_requestId;
91 };
92
93} // namespace Model
94} // namespace SESV2
95} // namespace Aws
ListEmailIdentitiesResult & WithNextToken(const Aws::String &value)
ListEmailIdentitiesResult & WithRequestId(const Aws::String &value)
ListEmailIdentitiesResult & AddEmailIdentities(const IdentityInfo &value)
ListEmailIdentitiesResult & WithNextToken(const char *value)
ListEmailIdentitiesResult & AddEmailIdentities(IdentityInfo &&value)
ListEmailIdentitiesResult & WithEmailIdentities(Aws::Vector< IdentityInfo > &&value)
AWS_SESV2_API ListEmailIdentitiesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEmailIdentities(Aws::Vector< IdentityInfo > &&value)
void SetEmailIdentities(const Aws::Vector< IdentityInfo > &value)
ListEmailIdentitiesResult & WithRequestId(const char *value)
const Aws::Vector< IdentityInfo > & GetEmailIdentities() const
ListEmailIdentitiesResult & WithEmailIdentities(const Aws::Vector< IdentityInfo > &value)
ListEmailIdentitiesResult & WithRequestId(Aws::String &&value)
ListEmailIdentitiesResult & WithNextToken(Aws::String &&value)
AWS_SESV2_API ListEmailIdentitiesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue