AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CertificateValidationRecord.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/apprunner/model/CertificateValidationRecordStatus.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 AppRunner
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_APPRUNNER_API CertificateValidationRecord() = default;
41 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 CertificateValidationRecord& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
55
57
60 inline const Aws::String& GetType() const { return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 template<typename TypeT = Aws::String>
63 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
64 template<typename TypeT = Aws::String>
65 CertificateValidationRecord& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
67
69
72 inline const Aws::String& GetValue() const { return m_value; }
73 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
74 template<typename ValueT = Aws::String>
75 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
76 template<typename ValueT = Aws::String>
77 CertificateValidationRecord& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
79
81
86 inline CertificateValidationRecordStatus GetStatus() const { return m_status; }
87 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
88 inline void SetStatus(CertificateValidationRecordStatus value) { m_statusHasBeenSet = true; m_status = value; }
91 private:
92
93 Aws::String m_name;
94 bool m_nameHasBeenSet = false;
95
96 Aws::String m_type;
97 bool m_typeHasBeenSet = false;
98
99 Aws::String m_value;
100 bool m_valueHasBeenSet = false;
101
103 bool m_statusHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace AppRunner
108} // namespace Aws
AWS_APPRUNNER_API CertificateValidationRecord()=default
CertificateValidationRecord & WithStatus(CertificateValidationRecordStatus value)
AWS_APPRUNNER_API CertificateValidationRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(CertificateValidationRecordStatus value)
CertificateValidationRecordStatus GetStatus() const
CertificateValidationRecord & WithName(NameT &&value)
CertificateValidationRecord & WithValue(ValueT &&value)
AWS_APPRUNNER_API CertificateValidationRecord(Aws::Utils::Json::JsonView jsonValue)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
CertificateValidationRecord & WithType(TypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue