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/RotationsListEntry.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
45 template<
typename RotationsT = Aws::Vector<RotationsListEntry>>
46 void SetRotations(RotationsT&& value) { m_rotationsHasBeenSet =
true; m_rotations = std::forward<RotationsT>(value); }
47 template<
typename RotationsT = Aws::Vector<RotationsListEntry>>
49 template<
typename RotationsT = RotationsListEntry>
59 template<
typename NextMarkerT = Aws::String>
60 void SetNextMarker(NextMarkerT&& value) { m_nextMarkerHasBeenSet =
true; m_nextMarker = std::forward<NextMarkerT>(value); }
61 template<
typename NextMarkerT = Aws::String>
73 inline void SetTruncated(
bool value) { m_truncatedHasBeenSet =
true; m_truncated = value; }
80 template<
typename RequestIdT = Aws::String>
81 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
82 template<
typename RequestIdT = Aws::String>
88 bool m_rotationsHasBeenSet =
false;
91 bool m_nextMarkerHasBeenSet =
false;
93 bool m_truncated{
false};
94 bool m_truncatedHasBeenSet =
false;
97 bool m_requestIdHasBeenSet =
false;
ListKeyRotationsResult & WithTruncated(bool value)
void SetRequestId(RequestIdT &&value)
AWS_KMS_API ListKeyRotationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< RotationsListEntry > & GetRotations() const
ListKeyRotationsResult & WithNextMarker(NextMarkerT &&value)
const Aws::String & GetRequestId() const
AWS_KMS_API ListKeyRotationsResult()=default
void SetNextMarker(NextMarkerT &&value)
void SetRotations(RotationsT &&value)
ListKeyRotationsResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetNextMarker() const
void SetTruncated(bool value)
ListKeyRotationsResult & AddRotations(RotationsT &&value)
bool GetTruncated() const
ListKeyRotationsResult & WithRotations(RotationsT &&value)
AWS_KMS_API ListKeyRotationsResult & 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