AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40 AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
54 inline const CertificateType& GetType() const{ return m_type; }
55 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
56 inline void SetType(const CertificateType& value) { m_typeHasBeenSet = true; m_type = value; }
57 inline void SetType(CertificateType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
58 inline CertificateSettings& WithType(const CertificateType& value) { SetType(value); return *this;}
59 inline CertificateSettings& WithType(CertificateType&& value) { SetType(std::move(value)); return *this;}
61
63
69 inline const Aws::String& GetCustomCertificateArn() const{ return m_customCertificateArn; }
70 inline bool CustomCertificateArnHasBeenSet() const { return m_customCertificateArnHasBeenSet; }
71 inline void SetCustomCertificateArn(const Aws::String& value) { m_customCertificateArnHasBeenSet = true; m_customCertificateArn = value; }
72 inline void SetCustomCertificateArn(Aws::String&& value) { m_customCertificateArnHasBeenSet = true; m_customCertificateArn = std::move(value); }
73 inline void SetCustomCertificateArn(const char* value) { m_customCertificateArnHasBeenSet = true; m_customCertificateArn.assign(value); }
75 inline CertificateSettings& WithCustomCertificateArn(Aws::String&& value) { SetCustomCertificateArn(std::move(value)); return *this;}
76 inline CertificateSettings& WithCustomCertificateArn(const char* value) { SetCustomCertificateArn(value); return *this;}
78 private:
79
80 CertificateType m_type;
81 bool m_typeHasBeenSet = false;
82
83 Aws::String m_customCertificateArn;
84 bool m_customCertificateArnHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Amplify
89} // namespace Aws
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
CertificateSettings & WithCustomCertificateArn(Aws::String &&value)
const CertificateType & GetType() const
CertificateSettings & WithType(const CertificateType &value)
void SetType(const CertificateType &value)
CertificateSettings & WithType(CertificateType &&value)
CertificateSettings & WithCustomCertificateArn(const Aws::String &value)
const Aws::String & GetCustomCertificateArn() const
void SetCustomCertificateArn(const Aws::String &value)
AWS_AMPLIFY_API CertificateSettings(Aws::Utils::Json::JsonView jsonValue)
void SetCustomCertificateArn(Aws::String &&value)
CertificateSettings & WithCustomCertificateArn(const char *value)
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