AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AppStream {
21namespace Model {
22
37 public:
38 AWS_APPSTREAM_API CertificateBasedAuthProperties() = default;
41 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
47 inline CertificateBasedAuthStatus GetStatus() const { return m_status; }
48 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
50 m_statusHasBeenSet = true;
51 m_status = value;
52 }
54 SetStatus(value);
55 return *this;
56 }
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) {
67 m_certificateAuthorityArnHasBeenSet = true;
68 m_certificateAuthorityArn = std::forward<CertificateAuthorityArnT>(value);
69 }
70 template <typename CertificateAuthorityArnT = Aws::String>
72 SetCertificateAuthorityArn(std::forward<CertificateAuthorityArnT>(value));
73 return *this;
74 }
76 private:
78
79 Aws::String m_certificateAuthorityArn;
80 bool m_statusHasBeenSet = false;
81 bool m_certificateAuthorityArnHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace AppStream
86} // 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