AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AttachmentReference.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/ReferenceStatus.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 Connect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECT_API AttachmentReference() = default;
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 AttachmentReference& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
62 template<typename ValueT = Aws::String>
63 AttachmentReference& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
65
67
70 inline ReferenceStatus GetStatus() const { return m_status; }
71 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
72 inline void SetStatus(ReferenceStatus value) { m_statusHasBeenSet = true; m_status = value; }
73 inline AttachmentReference& WithStatus(ReferenceStatus value) { SetStatus(value); return *this;}
75
77
80 inline const Aws::String& GetArn() const { return m_arn; }
81 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
82 template<typename ArnT = Aws::String>
83 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
84 template<typename ArnT = Aws::String>
85 AttachmentReference& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
87 private:
88
89 Aws::String m_name;
90 bool m_nameHasBeenSet = false;
91
92 Aws::String m_value;
93 bool m_valueHasBeenSet = false;
94
96 bool m_statusHasBeenSet = false;
97
98 Aws::String m_arn;
99 bool m_arnHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Connect
104} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API AttachmentReference()=default
AttachmentReference & WithStatus(ReferenceStatus value)
AttachmentReference & WithValue(ValueT &&value)
AWS_CONNECT_API AttachmentReference(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API AttachmentReference & operator=(Aws::Utils::Json::JsonView jsonValue)
AttachmentReference & WithArn(ArnT &&value)
AttachmentReference & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue