AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Amplify {
21namespace Model {
22
31 public:
32 AWS_AMPLIFY_API CertificateSettings() = default;
35 AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
48 inline CertificateType GetType() const { return m_type; }
49 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
50 inline void SetType(CertificateType value) {
51 m_typeHasBeenSet = true;
52 m_type = value;
53 }
55 SetType(value);
56 return *this;
57 }
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) {
71 m_customCertificateArnHasBeenSet = true;
72 m_customCertificateArn = std::forward<CustomCertificateArnT>(value);
73 }
74 template <typename CustomCertificateArnT = Aws::String>
75 CertificateSettings& WithCustomCertificateArn(CustomCertificateArnT&& value) {
76 SetCustomCertificateArn(std::forward<CustomCertificateArnT>(value));
77 return *this;
78 }
80 private:
82
83 Aws::String m_customCertificateArn;
84 bool m_typeHasBeenSet = false;
85 bool m_customCertificateArnHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace Amplify
90} // 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