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/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/workspaces/model/CertificateBasedAuthStatusEnum.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 WorkSpaces
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_WORKSPACES_API CertificateBasedAuthProperties();
39 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const CertificateBasedAuthStatusEnum& GetStatus() const{ return m_status; }
47 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
48 inline void SetStatus(const CertificateBasedAuthStatusEnum& value) { m_statusHasBeenSet = true; m_status = value; }
49 inline void SetStatus(CertificateBasedAuthStatusEnum&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
51 inline CertificateBasedAuthProperties& WithStatus(CertificateBasedAuthStatusEnum&& value) { SetStatus(std::move(value)); return *this;}
53
55
59 inline const Aws::String& GetCertificateAuthorityArn() const{ return m_certificateAuthorityArn; }
60 inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; }
61 inline void SetCertificateAuthorityArn(const Aws::String& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = value; }
62 inline void SetCertificateAuthorityArn(Aws::String&& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = std::move(value); }
63 inline void SetCertificateAuthorityArn(const char* value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn.assign(value); }
68 private:
69
71 bool m_statusHasBeenSet = false;
72
73 Aws::String m_certificateAuthorityArn;
74 bool m_certificateAuthorityArnHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace WorkSpaces
79} // namespace Aws
CertificateBasedAuthProperties & WithCertificateAuthorityArn(const Aws::String &value)
AWS_WORKSPACES_API CertificateBasedAuthProperties(Aws::Utils::Json::JsonView jsonValue)
CertificateBasedAuthProperties & WithCertificateAuthorityArn(const char *value)
AWS_WORKSPACES_API CertificateBasedAuthProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
CertificateBasedAuthProperties & WithStatus(CertificateBasedAuthStatusEnum &&value)
CertificateBasedAuthProperties & WithCertificateAuthorityArn(Aws::String &&value)
CertificateBasedAuthProperties & WithStatus(const CertificateBasedAuthStatusEnum &value)
const CertificateBasedAuthStatusEnum & GetStatus() const
void SetStatus(const CertificateBasedAuthStatusEnum &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue