AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41
42
44
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline ResourceRecord& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline ResourceRecord& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline ResourceRecord& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const RecordType& GetType() const{ return m_type; }
63 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
64 inline void SetType(const RecordType& value) { m_typeHasBeenSet = true; m_type = value; }
65 inline void SetType(RecordType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
66 inline ResourceRecord& WithType(const RecordType& value) { SetType(value); return *this;}
67 inline ResourceRecord& WithType(RecordType&& value) { SetType(std::move(value)); return *this;}
69
71
75 inline const Aws::String& GetValue() const{ return m_value; }
76 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
77 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
78 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
79 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
80 inline ResourceRecord& WithValue(const Aws::String& value) { SetValue(value); return *this;}
81 inline ResourceRecord& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
82 inline ResourceRecord& WithValue(const char* value) { SetValue(value); return *this;}
84 private:
85
86 Aws::String m_name;
87 bool m_nameHasBeenSet = false;
88
89 RecordType m_type;
90 bool m_typeHasBeenSet = false;
91
92 Aws::String m_value;
93 bool m_valueHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace ACM
98} // namespace Aws
const RecordType & GetType() const
AWS_ACM_API ResourceRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACM_API ResourceRecord(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const char *value)
ResourceRecord & WithType(const RecordType &value)
ResourceRecord & WithValue(Aws::String &&value)
void SetValue(const Aws::String &value)
void SetValue(const char *value)
void SetName(Aws::String &&value)
ResourceRecord & WithType(RecordType &&value)
const Aws::String & GetValue() const
void SetType(const RecordType &value)
void SetType(RecordType &&value)
const Aws::String & GetName() const
void SetValue(Aws::String &&value)
ResourceRecord & WithValue(const Aws::String &value)
ResourceRecord & WithName(const Aws::String &value)
ResourceRecord & WithValue(const char *value)
ResourceRecord & WithName(Aws::String &&value)
ResourceRecord & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue