AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CertificateBasedAuthProperties.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/model/CertificateBasedAuthStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppStream
23{
24namespace Model
25{
26
41 {
42 public:
43 AWS_APPSTREAM_API CertificateBasedAuthProperties() = default;
46 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline CertificateBasedAuthStatus GetStatus() const { return m_status; }
54 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
55 inline void SetStatus(CertificateBasedAuthStatus value) { m_statusHasBeenSet = true; m_status = value; }
58
60
63 inline const Aws::String& GetCertificateAuthorityArn() const { return m_certificateAuthorityArn; }
64 inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; }
65 template<typename CertificateAuthorityArnT = Aws::String>
66 void SetCertificateAuthorityArn(CertificateAuthorityArnT&& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = std::forward<CertificateAuthorityArnT>(value); }
67 template<typename CertificateAuthorityArnT = Aws::String>
68 CertificateBasedAuthProperties& WithCertificateAuthorityArn(CertificateAuthorityArnT&& value) { SetCertificateAuthorityArn(std::forward<CertificateAuthorityArnT>(value)); return *this;}
70 private:
71
73 bool m_statusHasBeenSet = false;
74
75 Aws::String m_certificateAuthorityArn;
76 bool m_certificateAuthorityArnHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace AppStream
81} // namespace Aws
AWS_APPSTREAM_API CertificateBasedAuthProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSTREAM_API CertificateBasedAuthProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
CertificateBasedAuthProperties & WithCertificateAuthorityArn(CertificateAuthorityArnT &&value)
CertificateBasedAuthProperties & WithStatus(CertificateBasedAuthStatus value)
AWS_APPSTREAM_API CertificateBasedAuthProperties()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue