AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeCustomKeyStoresResult.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/CustomKeyStoresListEntry.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 DescribeCustomKeyStoresResult() = default;
35
36
38
41 inline const Aws::Vector<CustomKeyStoresListEntry>& GetCustomKeyStores() const { return m_customKeyStores; }
42 template<typename CustomKeyStoresT = Aws::Vector<CustomKeyStoresListEntry>>
43 void SetCustomKeyStores(CustomKeyStoresT&& value) { m_customKeyStoresHasBeenSet = true; m_customKeyStores = std::forward<CustomKeyStoresT>(value); }
44 template<typename CustomKeyStoresT = Aws::Vector<CustomKeyStoresListEntry>>
45 DescribeCustomKeyStoresResult& WithCustomKeyStores(CustomKeyStoresT&& value) { SetCustomKeyStores(std::forward<CustomKeyStoresT>(value)); return *this;}
46 template<typename CustomKeyStoresT = CustomKeyStoresListEntry>
47 DescribeCustomKeyStoresResult& AddCustomKeyStores(CustomKeyStoresT&& value) { m_customKeyStoresHasBeenSet = true; m_customKeyStores.emplace_back(std::forward<CustomKeyStoresT>(value)); return *this; }
49
51
55 inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
56 template<typename NextMarkerT = Aws::String>
57 void SetNextMarker(NextMarkerT&& value) { m_nextMarkerHasBeenSet = true; m_nextMarker = std::forward<NextMarkerT>(value); }
58 template<typename NextMarkerT = Aws::String>
59 DescribeCustomKeyStoresResult& WithNextMarker(NextMarkerT&& value) { SetNextMarker(std::forward<NextMarkerT>(value)); return *this;}
61
63
69 inline bool GetTruncated() const { return m_truncated; }
70 inline void SetTruncated(bool value) { m_truncatedHasBeenSet = true; m_truncated = value; }
71 inline DescribeCustomKeyStoresResult& WithTruncated(bool value) { SetTruncated(value); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const { return m_requestId; }
77 template<typename RequestIdT = Aws::String>
78 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
79 template<typename RequestIdT = Aws::String>
80 DescribeCustomKeyStoresResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
82 private:
83
85 bool m_customKeyStoresHasBeenSet = false;
86
87 Aws::String m_nextMarker;
88 bool m_nextMarkerHasBeenSet = false;
89
90 bool m_truncated{false};
91 bool m_truncatedHasBeenSet = false;
92
93 Aws::String m_requestId;
94 bool m_requestIdHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace KMS
99} // namespace Aws
DescribeCustomKeyStoresResult & WithTruncated(bool value)
AWS_KMS_API DescribeCustomKeyStoresResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCustomKeyStoresResult & WithNextMarker(NextMarkerT &&value)
const Aws::Vector< CustomKeyStoresListEntry > & GetCustomKeyStores() const
DescribeCustomKeyStoresResult & AddCustomKeyStores(CustomKeyStoresT &&value)
AWS_KMS_API DescribeCustomKeyStoresResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCustomKeyStoresResult & WithCustomKeyStores(CustomKeyStoresT &&value)
DescribeCustomKeyStoresResult & WithRequestId(RequestIdT &&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