AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAliasesResult.h
1
6#pragma once
7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kms/model/AliasListEntry.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 KMS
26{
27namespace Model
28{
30 {
31 public:
32 AWS_KMS_API ListAliasesResult();
35
36
38
41 inline const Aws::Vector<AliasListEntry>& GetAliases() const{ return m_aliases; }
42 inline void SetAliases(const Aws::Vector<AliasListEntry>& value) { m_aliases = value; }
43 inline void SetAliases(Aws::Vector<AliasListEntry>&& value) { m_aliases = std::move(value); }
44 inline ListAliasesResult& WithAliases(const Aws::Vector<AliasListEntry>& value) { SetAliases(value); return *this;}
45 inline ListAliasesResult& WithAliases(Aws::Vector<AliasListEntry>&& value) { SetAliases(std::move(value)); return *this;}
46 inline ListAliasesResult& AddAliases(const AliasListEntry& value) { m_aliases.push_back(value); return *this; }
47 inline ListAliasesResult& AddAliases(AliasListEntry&& value) { m_aliases.push_back(std::move(value)); return *this; }
49
51
55 inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
56 inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
57 inline void SetNextMarker(Aws::String&& value) { m_nextMarker = std::move(value); }
58 inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
59 inline ListAliasesResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
60 inline ListAliasesResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
61 inline ListAliasesResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
63
65
71 inline bool GetTruncated() const{ return m_truncated; }
72 inline void SetTruncated(bool value) { m_truncated = value; }
73 inline ListAliasesResult& WithTruncated(bool value) { SetTruncated(value); return *this;}
75
77
78 inline const Aws::String& GetRequestId() const{ return m_requestId; }
79 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
80 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
81 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
82 inline ListAliasesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline ListAliasesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline ListAliasesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
86 private:
87
89
90 Aws::String m_nextMarker;
91
92 bool m_truncated;
93
94 Aws::String m_requestId;
95 };
96
97} // namespace Model
98} // namespace KMS
99} // namespace Aws
ListAliasesResult & WithNextMarker(Aws::String &&value)
const Aws::Vector< AliasListEntry > & GetAliases() const
void SetNextMarker(const Aws::String &value)
void SetAliases(const Aws::Vector< AliasListEntry > &value)
void SetNextMarker(const char *value)
ListAliasesResult & AddAliases(const AliasListEntry &value)
ListAliasesResult & WithAliases(const Aws::Vector< AliasListEntry > &value)
AWS_KMS_API ListAliasesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAliases(Aws::Vector< AliasListEntry > &&value)
ListAliasesResult & WithRequestId(const Aws::String &value)
ListAliasesResult & AddAliases(AliasListEntry &&value)
const Aws::String & GetNextMarker() const
ListAliasesResult & WithRequestId(const char *value)
ListAliasesResult & WithTruncated(bool value)
void SetRequestId(const Aws::String &value)
void SetRequestId(const char *value)
void SetNextMarker(Aws::String &&value)
ListAliasesResult & WithRequestId(Aws::String &&value)
ListAliasesResult & WithNextMarker(const char *value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetRequestId() const
ListAliasesResult & WithNextMarker(const Aws::String &value)
AWS_KMS_API ListAliasesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListAliasesResult & WithAliases(Aws::Vector< AliasListEntry > &&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