AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CertificateBasedAuthProperties.h
Go to the documentation of this file.
1
6#pragma once
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:
47
48
52 inline const CertificateBasedAuthStatus& GetStatus() const{ return m_status; }
53
57 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
58
62 inline void SetStatus(const CertificateBasedAuthStatus& value) { m_statusHasBeenSet = true; m_status = value; }
63
67 inline void SetStatus(CertificateBasedAuthStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
68
73
77 inline CertificateBasedAuthProperties& WithStatus(CertificateBasedAuthStatus&& value) { SetStatus(std::move(value)); return *this;}
78
79
83 inline const Aws::String& GetCertificateAuthorityArn() const{ return m_certificateAuthorityArn; }
84
88 inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; }
89
93 inline void SetCertificateAuthorityArn(const Aws::String& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = value; }
94
98 inline void SetCertificateAuthorityArn(Aws::String&& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = std::move(value); }
99
103 inline void SetCertificateAuthorityArn(const char* value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn.assign(value); }
104
109
114
119
120 private:
121
123 bool m_statusHasBeenSet = false;
124
125 Aws::String m_certificateAuthorityArn;
126 bool m_certificateAuthorityArnHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace AppStream
131} // namespace Aws
#define AWS_APPSTREAM_API
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