AWS SDK for C++  1.8.95
AWS SDK for C++
CertificateAuthorityConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace ACMPCA
24 {
25 namespace Model
26 {
27 
40  {
41  public:
45  Aws::Utils::Json::JsonValue Jsonize() const;
46 
47 
53  inline const KeyAlgorithm& GetKeyAlgorithm() const{ return m_keyAlgorithm; }
54 
60  inline bool KeyAlgorithmHasBeenSet() const { return m_keyAlgorithmHasBeenSet; }
61 
67  inline void SetKeyAlgorithm(const KeyAlgorithm& value) { m_keyAlgorithmHasBeenSet = true; m_keyAlgorithm = value; }
68 
74  inline void SetKeyAlgorithm(KeyAlgorithm&& value) { m_keyAlgorithmHasBeenSet = true; m_keyAlgorithm = std::move(value); }
75 
81  inline CertificateAuthorityConfiguration& WithKeyAlgorithm(const KeyAlgorithm& value) { SetKeyAlgorithm(value); return *this;}
82 
88  inline CertificateAuthorityConfiguration& WithKeyAlgorithm(KeyAlgorithm&& value) { SetKeyAlgorithm(std::move(value)); return *this;}
89 
90 
96  inline const SigningAlgorithm& GetSigningAlgorithm() const{ return m_signingAlgorithm; }
97 
103  inline bool SigningAlgorithmHasBeenSet() const { return m_signingAlgorithmHasBeenSet; }
104 
110  inline void SetSigningAlgorithm(const SigningAlgorithm& value) { m_signingAlgorithmHasBeenSet = true; m_signingAlgorithm = value; }
111 
117  inline void SetSigningAlgorithm(SigningAlgorithm&& value) { m_signingAlgorithmHasBeenSet = true; m_signingAlgorithm = std::move(value); }
118 
124  inline CertificateAuthorityConfiguration& WithSigningAlgorithm(const SigningAlgorithm& value) { SetSigningAlgorithm(value); return *this;}
125 
131  inline CertificateAuthorityConfiguration& WithSigningAlgorithm(SigningAlgorithm&& value) { SetSigningAlgorithm(std::move(value)); return *this;}
132 
133 
138  inline const ASN1Subject& GetSubject() const{ return m_subject; }
139 
144  inline bool SubjectHasBeenSet() const { return m_subjectHasBeenSet; }
145 
150  inline void SetSubject(const ASN1Subject& value) { m_subjectHasBeenSet = true; m_subject = value; }
151 
156  inline void SetSubject(ASN1Subject&& value) { m_subjectHasBeenSet = true; m_subject = std::move(value); }
157 
162  inline CertificateAuthorityConfiguration& WithSubject(const ASN1Subject& value) { SetSubject(value); return *this;}
163 
168  inline CertificateAuthorityConfiguration& WithSubject(ASN1Subject&& value) { SetSubject(std::move(value)); return *this;}
169 
170  private:
171 
172  KeyAlgorithm m_keyAlgorithm;
173  bool m_keyAlgorithmHasBeenSet;
174 
175  SigningAlgorithm m_signingAlgorithm;
176  bool m_signingAlgorithmHasBeenSet;
177 
178  ASN1Subject m_subject;
179  bool m_subjectHasBeenSet;
180  };
181 
182 } // namespace Model
183 } // namespace ACMPCA
184 } // namespace Aws
CertificateAuthorityConfiguration & WithKeyAlgorithm(const KeyAlgorithm &value)
CertificateAuthorityConfiguration & WithSigningAlgorithm(const SigningAlgorithm &value)
CertificateAuthorityConfiguration & WithKeyAlgorithm(KeyAlgorithm &&value)
CertificateAuthorityConfiguration & WithSubject(const ASN1Subject &value)
CertificateAuthorityConfiguration & WithSigningAlgorithm(SigningAlgorithm &&value)
#define AWS_ACMPCA_API
CertificateAuthorityConfiguration & WithSubject(ASN1Subject &&value)