AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CaseAttachmentAttributes.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/security-ir/SecurityIR_EXPORTS.h>
10#include <aws/security-ir/model/CaseAttachmentStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityIR {
22namespace Model {
23
30 public:
31 AWS_SECURITYIR_API CaseAttachmentAttributes() = default;
34 AWS_SECURITYIR_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetAttachmentId() const { return m_attachmentId; }
41 inline bool AttachmentIdHasBeenSet() const { return m_attachmentIdHasBeenSet; }
42 template <typename AttachmentIdT = Aws::String>
43 void SetAttachmentId(AttachmentIdT&& value) {
44 m_attachmentIdHasBeenSet = true;
45 m_attachmentId = std::forward<AttachmentIdT>(value);
46 }
47 template <typename AttachmentIdT = Aws::String>
49 SetAttachmentId(std::forward<AttachmentIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetFileName() const { return m_fileName; }
59 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
60 template <typename FileNameT = Aws::String>
61 void SetFileName(FileNameT&& value) {
62 m_fileNameHasBeenSet = true;
63 m_fileName = std::forward<FileNameT>(value);
64 }
65 template <typename FileNameT = Aws::String>
67 SetFileName(std::forward<FileNameT>(value));
68 return *this;
69 }
71
73
76 inline CaseAttachmentStatus GetAttachmentStatus() const { return m_attachmentStatus; }
77 inline bool AttachmentStatusHasBeenSet() const { return m_attachmentStatusHasBeenSet; }
79 m_attachmentStatusHasBeenSet = true;
80 m_attachmentStatus = value;
81 }
84 return *this;
85 }
87
89
92 inline const Aws::String& GetCreator() const { return m_creator; }
93 inline bool CreatorHasBeenSet() const { return m_creatorHasBeenSet; }
94 template <typename CreatorT = Aws::String>
95 void SetCreator(CreatorT&& value) {
96 m_creatorHasBeenSet = true;
97 m_creator = std::forward<CreatorT>(value);
98 }
99 template <typename CreatorT = Aws::String>
101 SetCreator(std::forward<CreatorT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
111 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
112 template <typename CreatedDateT = Aws::Utils::DateTime>
113 void SetCreatedDate(CreatedDateT&& value) {
114 m_createdDateHasBeenSet = true;
115 m_createdDate = std::forward<CreatedDateT>(value);
116 }
117 template <typename CreatedDateT = Aws::Utils::DateTime>
119 SetCreatedDate(std::forward<CreatedDateT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_attachmentId;
125
126 Aws::String m_fileName;
127
129
130 Aws::String m_creator;
131
132 Aws::Utils::DateTime m_createdDate{};
133 bool m_attachmentIdHasBeenSet = false;
134 bool m_fileNameHasBeenSet = false;
135 bool m_attachmentStatusHasBeenSet = false;
136 bool m_creatorHasBeenSet = false;
137 bool m_createdDateHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace SecurityIR
142} // namespace Aws
CaseAttachmentAttributes & WithAttachmentStatus(CaseAttachmentStatus value)
AWS_SECURITYIR_API Aws::Utils::Json::JsonValue Jsonize() const
CaseAttachmentAttributes & WithAttachmentId(AttachmentIdT &&value)
CaseAttachmentAttributes & WithCreator(CreatorT &&value)
CaseAttachmentAttributes & WithCreatedDate(CreatedDateT &&value)
CaseAttachmentAttributes & WithFileName(FileNameT &&value)
AWS_SECURITYIR_API CaseAttachmentAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYIR_API CaseAttachmentAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYIR_API CaseAttachmentAttributes()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue