AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CertificateSettings.h
1
6#pragma once
7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/amplify/model/CertificateType.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 Amplify
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_AMPLIFY_API CertificateSettings() = default;
40 AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
54 inline CertificateType GetType() const { return m_type; }
55 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
56 inline void SetType(CertificateType value) { m_typeHasBeenSet = true; m_type = value; }
57 inline CertificateSettings& WithType(CertificateType value) { SetType(value); return *this;}
59
61
67 inline const Aws::String& GetCustomCertificateArn() const { return m_customCertificateArn; }
68 inline bool CustomCertificateArnHasBeenSet() const { return m_customCertificateArnHasBeenSet; }
69 template<typename CustomCertificateArnT = Aws::String>
70 void SetCustomCertificateArn(CustomCertificateArnT&& value) { m_customCertificateArnHasBeenSet = true; m_customCertificateArn = std::forward<CustomCertificateArnT>(value); }
71 template<typename CustomCertificateArnT = Aws::String>
72 CertificateSettings& WithCustomCertificateArn(CustomCertificateArnT&& value) { SetCustomCertificateArn(std::forward<CustomCertificateArnT>(value)); return *this;}
74 private:
75
77 bool m_typeHasBeenSet = false;
78
79 Aws::String m_customCertificateArn;
80 bool m_customCertificateArnHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Amplify
85} // namespace Aws
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFY_API CertificateSettings()=default
CertificateSettings & WithType(CertificateType value)
CertificateSettings & WithCustomCertificateArn(CustomCertificateArnT &&value)
void SetCustomCertificateArn(CustomCertificateArnT &&value)
const Aws::String & GetCustomCertificateArn() const
AWS_AMPLIFY_API CertificateSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFY_API CertificateSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue