AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
46 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const CertificateBasedAuthStatus& GetStatus() const{ return m_status; }
54 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
55 inline void SetStatus(const CertificateBasedAuthStatus& value) { m_statusHasBeenSet = true; m_status = value; }
56 inline void SetStatus(CertificateBasedAuthStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
58 inline CertificateBasedAuthProperties& WithStatus(CertificateBasedAuthStatus&& value) { SetStatus(std::move(value)); return *this;}
60
62
65 inline const Aws::String& GetCertificateAuthorityArn() const{ return m_certificateAuthorityArn; }
66 inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; }
67 inline void SetCertificateAuthorityArn(const Aws::String& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = value; }
68 inline void SetCertificateAuthorityArn(Aws::String&& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = std::move(value); }
69 inline void SetCertificateAuthorityArn(const char* value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn.assign(value); }
74 private:
75
77 bool m_statusHasBeenSet = false;
78
79 Aws::String m_certificateAuthorityArn;
80 bool m_certificateAuthorityArnHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace AppStream
85} // namespace Aws
CertificateBasedAuthProperties & WithStatus(CertificateBasedAuthStatus &&value)
AWS_APPSTREAM_API CertificateBasedAuthProperties(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const CertificateBasedAuthStatus &value)
AWS_APPSTREAM_API CertificateBasedAuthProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
CertificateBasedAuthProperties & WithStatus(const CertificateBasedAuthStatus &value)
CertificateBasedAuthProperties & WithCertificateAuthorityArn(const char *value)
CertificateBasedAuthProperties & WithCertificateAuthorityArn(const Aws::String &value)
CertificateBasedAuthProperties & WithCertificateAuthorityArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue