AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CaseAttachmentAttributes.h
1
6#pragma once
7#include <aws/security-ir/SecurityIR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/security-ir/model/CaseAttachmentStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityIR
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SECURITYIR_API CaseAttachmentAttributes() = default;
39 AWS_SECURITYIR_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAttachmentId() const { return m_attachmentId; }
47 inline bool AttachmentIdHasBeenSet() const { return m_attachmentIdHasBeenSet; }
48 template<typename AttachmentIdT = Aws::String>
49 void SetAttachmentId(AttachmentIdT&& value) { m_attachmentIdHasBeenSet = true; m_attachmentId = std::forward<AttachmentIdT>(value); }
50 template<typename AttachmentIdT = Aws::String>
51 CaseAttachmentAttributes& WithAttachmentId(AttachmentIdT&& value) { SetAttachmentId(std::forward<AttachmentIdT>(value)); return *this;}
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) { m_fileNameHasBeenSet = true; m_fileName = std::forward<FileNameT>(value); }
62 template<typename FileNameT = Aws::String>
63 CaseAttachmentAttributes& WithFileName(FileNameT&& value) { SetFileName(std::forward<FileNameT>(value)); return *this;}
65
67
70 inline CaseAttachmentStatus GetAttachmentStatus() const { return m_attachmentStatus; }
71 inline bool AttachmentStatusHasBeenSet() const { return m_attachmentStatusHasBeenSet; }
72 inline void SetAttachmentStatus(CaseAttachmentStatus value) { m_attachmentStatusHasBeenSet = true; m_attachmentStatus = value; }
75
77
80 inline const Aws::String& GetCreator() const { return m_creator; }
81 inline bool CreatorHasBeenSet() const { return m_creatorHasBeenSet; }
82 template<typename CreatorT = Aws::String>
83 void SetCreator(CreatorT&& value) { m_creatorHasBeenSet = true; m_creator = std::forward<CreatorT>(value); }
84 template<typename CreatorT = Aws::String>
85 CaseAttachmentAttributes& WithCreator(CreatorT&& value) { SetCreator(std::forward<CreatorT>(value)); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
93 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
94 template<typename CreatedDateT = Aws::Utils::DateTime>
95 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
96 template<typename CreatedDateT = Aws::Utils::DateTime>
97 CaseAttachmentAttributes& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
99 private:
100
101 Aws::String m_attachmentId;
102 bool m_attachmentIdHasBeenSet = false;
103
104 Aws::String m_fileName;
105 bool m_fileNameHasBeenSet = false;
106
108 bool m_attachmentStatusHasBeenSet = false;
109
110 Aws::String m_creator;
111 bool m_creatorHasBeenSet = false;
112
113 Aws::Utils::DateTime m_createdDate{};
114 bool m_createdDateHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace SecurityIR
119} // namespace Aws
CaseAttachmentAttributes & WithAttachmentStatus(CaseAttachmentStatus value)
AWS_SECURITYIR_API Aws::Utils::Json::JsonValue Jsonize() const
CaseAttachmentAttributes & WithAttachmentId(AttachmentIdT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
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