AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
39 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline CertificateBasedAuthStatusEnum GetStatus() const { return m_status; }
47 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
48 inline void SetStatus(CertificateBasedAuthStatusEnum value) { m_statusHasBeenSet = true; m_status = value; }
51
53
57 inline const Aws::String& GetCertificateAuthorityArn() const { return m_certificateAuthorityArn; }
58 inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; }
59 template<typename CertificateAuthorityArnT = Aws::String>
60 void SetCertificateAuthorityArn(CertificateAuthorityArnT&& value) { m_certificateAuthorityArnHasBeenSet = true; m_certificateAuthorityArn = std::forward<CertificateAuthorityArnT>(value); }
61 template<typename CertificateAuthorityArnT = Aws::String>
62 CertificateBasedAuthProperties& WithCertificateAuthorityArn(CertificateAuthorityArnT&& value) { SetCertificateAuthorityArn(std::forward<CertificateAuthorityArnT>(value)); return *this;}
64 private:
65
67 bool m_statusHasBeenSet = false;
68
69 Aws::String m_certificateAuthorityArn;
70 bool m_certificateAuthorityArnHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace WorkSpaces
75} // namespace Aws
AWS_WORKSPACES_API CertificateBasedAuthProperties()=default
CertificateBasedAuthProperties & WithStatus(CertificateBasedAuthStatusEnum value)
AWS_WORKSPACES_API CertificateBasedAuthProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API CertificateBasedAuthProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
CertificateBasedAuthProperties & WithCertificateAuthorityArn(CertificateAuthorityArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue