AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
CertificateBasedAuthProperties.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/workspaces/WorkSpaces_EXPORTS.h>
10#include <aws/workspaces/model/CertificateBasedAuthStatusEnum.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace WorkSpaces {
21namespace Model {
22
30 public:
31 AWS_WORKSPACES_API CertificateBasedAuthProperties() = default;
32 AWS_WORKSPACES_API CertificateBasedAuthProperties(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_WORKSPACES_API CertificateBasedAuthProperties& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
40 inline CertificateBasedAuthStatusEnum GetStatus() const { return m_status; }
41 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
43 m_statusHasBeenSet = true;
44 m_status = value;
45 }
47 SetStatus(value);
48 return *this;
49 }
51
53
57 inline const Aws::String& GetCertificateAuthorityArn() const { return m_certificateAuthorityArn; }
58 inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; }
59 template <typename CertificateAuthorityArnT = Aws::String>
60 void SetCertificateAuthorityArn(CertificateAuthorityArnT&& value) {
61 m_certificateAuthorityArnHasBeenSet = true;
62 m_certificateAuthorityArn = std::forward<CertificateAuthorityArnT>(value);
63 }
64 template <typename CertificateAuthorityArnT = Aws::String>
66 SetCertificateAuthorityArn(std::forward<CertificateAuthorityArnT>(value));
67 return *this;
68 }
70 private:
72
73 Aws::String m_certificateAuthorityArn;
74 bool m_statusHasBeenSet = false;
75 bool m_certificateAuthorityArnHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace WorkSpaces
80} // namespace Aws
AWS_WORKSPACES_API CertificateBasedAuthProperties(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_WORKSPACES_API CertificateBasedAuthProperties()=default
CertificateBasedAuthProperties & WithStatus(CertificateBasedAuthStatusEnum value)
AWS_WORKSPACES_API CertificateBasedAuthProperties & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
CertificateBasedAuthProperties & WithCertificateAuthorityArn(CertificateAuthorityArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String