AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListHostKeysResult.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/awstransfer/model/ListedHostKey.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 Transfer
26{
27namespace Model
28{
30 {
31 public:
32 AWS_TRANSFER_API ListHostKeysResult();
35
36
38
42 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
43 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
44 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
45 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
46 inline ListHostKeysResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
47 inline ListHostKeysResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
48 inline ListHostKeysResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
50
52
55 inline const Aws::String& GetServerId() const{ return m_serverId; }
56 inline void SetServerId(const Aws::String& value) { m_serverId = value; }
57 inline void SetServerId(Aws::String&& value) { m_serverId = std::move(value); }
58 inline void SetServerId(const char* value) { m_serverId.assign(value); }
59 inline ListHostKeysResult& WithServerId(const Aws::String& value) { SetServerId(value); return *this;}
60 inline ListHostKeysResult& WithServerId(Aws::String&& value) { SetServerId(std::move(value)); return *this;}
61 inline ListHostKeysResult& WithServerId(const char* value) { SetServerId(value); return *this;}
63
65
68 inline const Aws::Vector<ListedHostKey>& GetHostKeys() const{ return m_hostKeys; }
69 inline void SetHostKeys(const Aws::Vector<ListedHostKey>& value) { m_hostKeys = value; }
70 inline void SetHostKeys(Aws::Vector<ListedHostKey>&& value) { m_hostKeys = std::move(value); }
71 inline ListHostKeysResult& WithHostKeys(const Aws::Vector<ListedHostKey>& value) { SetHostKeys(value); return *this;}
72 inline ListHostKeysResult& WithHostKeys(Aws::Vector<ListedHostKey>&& value) { SetHostKeys(std::move(value)); return *this;}
73 inline ListHostKeysResult& AddHostKeys(const ListedHostKey& value) { m_hostKeys.push_back(value); return *this; }
74 inline ListHostKeysResult& AddHostKeys(ListedHostKey&& value) { m_hostKeys.push_back(std::move(value)); return *this; }
76
78
79 inline const Aws::String& GetRequestId() const{ return m_requestId; }
80 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
81 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
82 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
83 inline ListHostKeysResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline ListHostKeysResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline ListHostKeysResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87 private:
88
89 Aws::String m_nextToken;
90
91 Aws::String m_serverId;
92
94
95 Aws::String m_requestId;
96 };
97
98} // namespace Model
99} // namespace Transfer
100} // namespace Aws
ListHostKeysResult & WithServerId(Aws::String &&value)
ListHostKeysResult & WithNextToken(const char *value)
ListHostKeysResult & WithNextToken(Aws::String &&value)
ListHostKeysResult & WithServerId(const char *value)
const Aws::Vector< ListedHostKey > & GetHostKeys() const
ListHostKeysResult & AddHostKeys(ListedHostKey &&value)
ListHostKeysResult & WithRequestId(const Aws::String &value)
AWS_TRANSFER_API ListHostKeysResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListHostKeysResult & WithRequestId(Aws::String &&value)
void SetHostKeys(const Aws::Vector< ListedHostKey > &value)
ListHostKeysResult & WithHostKeys(const Aws::Vector< ListedHostKey > &value)
ListHostKeysResult & WithNextToken(const Aws::String &value)
ListHostKeysResult & WithServerId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetServerId(const Aws::String &value)
AWS_TRANSFER_API ListHostKeysResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListHostKeysResult & WithHostKeys(Aws::Vector< ListedHostKey > &&value)
void SetNextToken(const Aws::String &value)
ListHostKeysResult & WithRequestId(const char *value)
void SetHostKeys(Aws::Vector< ListedHostKey > &&value)
ListHostKeysResult & AddHostKeys(const ListedHostKey &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue