AWS SDK for C++

AWS SDK for C++ Version 1.11.937

Loading...
Searching...
No Matches
SigningKeyInfo.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/supportauthz/SupportAuthZ_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SupportAuthZ {
20namespace Model {
21
29 public:
30 AWS_SUPPORTAUTHZ_API SigningKeyInfo() = default;
31 AWS_SUPPORTAUTHZ_API SigningKeyInfo(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SUPPORTAUTHZ_API SigningKeyInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SUPPORTAUTHZ_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetKmsKey() const { return m_kmsKey; }
41 inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
42 template <typename KmsKeyT = Aws::String>
43 void SetKmsKey(KmsKeyT&& value) {
44 m_kmsKeyHasBeenSet = true;
45 m_kmsKey = std::forward<KmsKeyT>(value);
46 }
47 template <typename KmsKeyT = Aws::String>
48 SigningKeyInfo& WithKmsKey(KmsKeyT&& value) {
49 SetKmsKey(std::forward<KmsKeyT>(value));
50 return *this;
51 }
53 private:
54 Aws::String m_kmsKey;
55 bool m_kmsKeyHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace SupportAuthZ
60} // namespace Aws
const Aws::String & GetKmsKey() const
AWS_SUPPORTAUTHZ_API SigningKeyInfo()=default
AWS_SUPPORTAUTHZ_API SigningKeyInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SUPPORTAUTHZ_API Aws::Utils::Json::JsonValue Jsonize() const
SigningKeyInfo & WithKmsKey(KmsKeyT &&value)
AWS_SUPPORTAUTHZ_API SigningKeyInfo(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue