AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
OtherName.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ACM {
20namespace Model {
21
30class OtherName {
31 public:
32 AWS_ACM_API OtherName() = default;
33 AWS_ACM_API OtherName(Aws::Utils::Json::JsonView jsonValue);
36
38
41 inline const Aws::String& GetObjectIdentifier() const { return m_objectIdentifier; }
42 inline bool ObjectIdentifierHasBeenSet() const { return m_objectIdentifierHasBeenSet; }
43 template <typename ObjectIdentifierT = Aws::String>
44 void SetObjectIdentifier(ObjectIdentifierT&& value) {
45 m_objectIdentifierHasBeenSet = true;
46 m_objectIdentifier = std::forward<ObjectIdentifierT>(value);
47 }
48 template <typename ObjectIdentifierT = Aws::String>
49 OtherName& WithObjectIdentifier(ObjectIdentifierT&& value) {
50 SetObjectIdentifier(std::forward<ObjectIdentifierT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetValue() const { return m_value; }
60 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
61 template <typename ValueT = Aws::String>
62 void SetValue(ValueT&& value) {
63 m_valueHasBeenSet = true;
64 m_value = std::forward<ValueT>(value);
65 }
66 template <typename ValueT = Aws::String>
67 OtherName& WithValue(ValueT&& value) {
68 SetValue(std::forward<ValueT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_objectIdentifier;
74
75 Aws::String m_value;
76 bool m_objectIdentifierHasBeenSet = false;
77 bool m_valueHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace ACM
82} // namespace Aws
const Aws::String & GetValue() const
Definition OtherName.h:59
bool ValueHasBeenSet() const
Definition OtherName.h:60
AWS_ACM_API OtherName()=default
const Aws::String & GetObjectIdentifier() const
Definition OtherName.h:41
AWS_ACM_API OtherName & operator=(Aws::Utils::Json::JsonView jsonValue)
OtherName & WithValue(ValueT &&value)
Definition OtherName.h:67
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
OtherName & WithObjectIdentifier(ObjectIdentifierT &&value)
Definition OtherName.h:49
void SetObjectIdentifier(ObjectIdentifierT &&value)
Definition OtherName.h:44
void SetValue(ValueT &&value)
Definition OtherName.h:62
AWS_ACM_API OtherName(Aws::Utils::Json::JsonView jsonValue)
bool ObjectIdentifierHasBeenSet() const
Definition OtherName.h:42
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue