AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline AttachmentReference& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline AttachmentReference& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline AttachmentReference& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetValue() const{ return m_value; }
61 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
62 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
63 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
64 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
65 inline AttachmentReference& WithValue(const Aws::String& value) { SetValue(value); return *this;}
66 inline AttachmentReference& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
67 inline AttachmentReference& WithValue(const char* value) { SetValue(value); return *this;}
69
71
74 inline const ReferenceStatus& GetStatus() const{ return m_status; }
75 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
76 inline void SetStatus(const ReferenceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
77 inline void SetStatus(ReferenceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
78 inline AttachmentReference& WithStatus(const ReferenceStatus& value) { SetStatus(value); return *this;}
79 inline AttachmentReference& WithStatus(ReferenceStatus&& value) { SetStatus(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85
86 Aws::String m_value;
87 bool m_valueHasBeenSet = false;
88
89 ReferenceStatus m_status;
90 bool m_statusHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Connect
95} // namespace Aws
AttachmentReference & WithValue(const char *value)
AttachmentReference & WithName(Aws::String &&value)
AttachmentReference & WithValue(Aws::String &&value)
AttachmentReference & WithName(const Aws::String &value)
AttachmentReference & WithName(const char *value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const ReferenceStatus & GetStatus() const
AWS_CONNECT_API AttachmentReference(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const ReferenceStatus &value)
AWS_CONNECT_API AttachmentReference & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(ReferenceStatus &&value)
AttachmentReference & WithValue(const Aws::String &value)
void SetValue(const Aws::String &value)
void SetName(const Aws::String &value)
AttachmentReference & WithStatus(ReferenceStatus &&value)
AttachmentReference & WithStatus(const ReferenceStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue