AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CustomAttribute.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
29 public:
30 AWS_ACM_API CustomAttribute() = default;
34
36
40 inline const Aws::String& GetObjectIdentifier() const { return m_objectIdentifier; }
41 inline bool ObjectIdentifierHasBeenSet() const { return m_objectIdentifierHasBeenSet; }
42 template <typename ObjectIdentifierT = Aws::String>
43 void SetObjectIdentifier(ObjectIdentifierT&& value) {
44 m_objectIdentifierHasBeenSet = true;
45 m_objectIdentifier = std::forward<ObjectIdentifierT>(value);
46 }
47 template <typename ObjectIdentifierT = Aws::String>
48 CustomAttribute& WithObjectIdentifier(ObjectIdentifierT&& value) {
49 SetObjectIdentifier(std::forward<ObjectIdentifierT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetValue() const { return m_value; }
59 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
60 template <typename ValueT = Aws::String>
61 void SetValue(ValueT&& value) {
62 m_valueHasBeenSet = true;
63 m_value = std::forward<ValueT>(value);
64 }
65 template <typename ValueT = Aws::String>
66 CustomAttribute& WithValue(ValueT&& value) {
67 SetValue(std::forward<ValueT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_objectIdentifier;
73
74 Aws::String m_value;
75 bool m_objectIdentifierHasBeenSet = false;
76 bool m_valueHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace ACM
81} // namespace Aws
AWS_ACM_API CustomAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomAttribute & WithValue(ValueT &&value)
AWS_ACM_API CustomAttribute()=default
const Aws::String & GetObjectIdentifier() const
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetObjectIdentifier(ObjectIdentifierT &&value)
const Aws::String & GetValue() const
CustomAttribute & WithObjectIdentifier(ObjectIdentifierT &&value)
AWS_ACM_API CustomAttribute(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue