AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ResourceRecord.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/acm/model/RecordType.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 ACM
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_ACM_API ResourceRecord() = default;
41
42
44
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 ResourceRecord& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
55
57
60 inline RecordType GetType() const { return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(RecordType value) { m_typeHasBeenSet = true; m_type = value; }
63 inline ResourceRecord& WithType(RecordType value) { SetType(value); return *this;}
65
67
71 inline const Aws::String& GetValue() const { return m_value; }
72 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
73 template<typename ValueT = Aws::String>
74 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
75 template<typename ValueT = Aws::String>
76 ResourceRecord& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
78 private:
79
80 Aws::String m_name;
81 bool m_nameHasBeenSet = false;
82
84 bool m_typeHasBeenSet = false;
85
86 Aws::String m_value;
87 bool m_valueHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace ACM
92} // namespace Aws
AWS_ACM_API ResourceRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(RecordType value)
AWS_ACM_API ResourceRecord(Aws::Utils::Json::JsonView jsonValue)
void SetValue(ValueT &&value)
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceRecord & WithValue(ValueT &&value)
ResourceRecord & WithName(NameT &&value)
const Aws::String & GetValue() const
const Aws::String & GetName() const
ResourceRecord & WithType(RecordType value)
AWS_ACM_API ResourceRecord()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue