AWS SDK for C++

AWS SDK for C++ Version 1.11.848

Loading...
Searching...
No Matches
PublicCertificateAuthority.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/acm/model/PublicKeyAlgorithm.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ACM {
21namespace Model {
22
30 public:
31 AWS_ACM_API PublicCertificateAuthority() = default;
35
37
41 inline const Aws::Vector<PublicKeyAlgorithm>& GetAllowedKeyAlgorithms() const { return m_allowedKeyAlgorithms; }
42 inline bool AllowedKeyAlgorithmsHasBeenSet() const { return m_allowedKeyAlgorithmsHasBeenSet; }
43 template <typename AllowedKeyAlgorithmsT = Aws::Vector<PublicKeyAlgorithm>>
44 void SetAllowedKeyAlgorithms(AllowedKeyAlgorithmsT&& value) {
45 m_allowedKeyAlgorithmsHasBeenSet = true;
46 m_allowedKeyAlgorithms = std::forward<AllowedKeyAlgorithmsT>(value);
47 }
48 template <typename AllowedKeyAlgorithmsT = Aws::Vector<PublicKeyAlgorithm>>
49 PublicCertificateAuthority& WithAllowedKeyAlgorithms(AllowedKeyAlgorithmsT&& value) {
50 SetAllowedKeyAlgorithms(std::forward<AllowedKeyAlgorithmsT>(value));
51 return *this;
52 }
54 m_allowedKeyAlgorithmsHasBeenSet = true;
55 m_allowedKeyAlgorithms.push_back(value);
56 return *this;
57 }
59 private:
60 Aws::Vector<PublicKeyAlgorithm> m_allowedKeyAlgorithms;
61 bool m_allowedKeyAlgorithmsHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace ACM
66} // namespace Aws
AWS_ACM_API PublicCertificateAuthority()=default
const Aws::Vector< PublicKeyAlgorithm > & GetAllowedKeyAlgorithms() const
AWS_ACM_API PublicCertificateAuthority(Aws::Utils::Json::JsonView jsonValue)
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAllowedKeyAlgorithms(AllowedKeyAlgorithmsT &&value)
AWS_ACM_API PublicCertificateAuthority & operator=(Aws::Utils::Json::JsonView jsonValue)
PublicCertificateAuthority & AddAllowedKeyAlgorithms(PublicKeyAlgorithm value)
PublicCertificateAuthority & WithAllowedKeyAlgorithms(AllowedKeyAlgorithmsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue