AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AttachmentDetails.h
1
6#pragma once
7#include <aws/support/Support_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Support
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_SUPPORT_API AttachmentDetails();
39 AWS_SUPPORT_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 inline void SetAttachmentId(const Aws::String& value) { m_attachmentIdHasBeenSet = true; m_attachmentId = value; }
49 inline void SetAttachmentId(Aws::String&& value) { m_attachmentIdHasBeenSet = true; m_attachmentId = std::move(value); }
50 inline void SetAttachmentId(const char* value) { m_attachmentIdHasBeenSet = true; m_attachmentId.assign(value); }
51 inline AttachmentDetails& WithAttachmentId(const Aws::String& value) { SetAttachmentId(value); return *this;}
52 inline AttachmentDetails& WithAttachmentId(Aws::String&& value) { SetAttachmentId(std::move(value)); return *this;}
53 inline AttachmentDetails& WithAttachmentId(const char* value) { SetAttachmentId(value); return *this;}
55
57
60 inline const Aws::String& GetFileName() const{ return m_fileName; }
61 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
62 inline void SetFileName(const Aws::String& value) { m_fileNameHasBeenSet = true; m_fileName = value; }
63 inline void SetFileName(Aws::String&& value) { m_fileNameHasBeenSet = true; m_fileName = std::move(value); }
64 inline void SetFileName(const char* value) { m_fileNameHasBeenSet = true; m_fileName.assign(value); }
65 inline AttachmentDetails& WithFileName(const Aws::String& value) { SetFileName(value); return *this;}
66 inline AttachmentDetails& WithFileName(Aws::String&& value) { SetFileName(std::move(value)); return *this;}
67 inline AttachmentDetails& WithFileName(const char* value) { SetFileName(value); return *this;}
69 private:
70
71 Aws::String m_attachmentId;
72 bool m_attachmentIdHasBeenSet = false;
73
74 Aws::String m_fileName;
75 bool m_fileNameHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Support
80} // namespace Aws
const Aws::String & GetFileName() const
AttachmentDetails & WithFileName(const char *value)
AttachmentDetails & WithFileName(Aws::String &&value)
AWS_SUPPORT_API AttachmentDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAttachmentId(Aws::String &&value)
void SetFileName(const Aws::String &value)
AttachmentDetails & WithAttachmentId(const Aws::String &value)
AttachmentDetails & WithAttachmentId(const char *value)
void SetAttachmentId(const Aws::String &value)
const Aws::String & GetAttachmentId() const
AWS_SUPPORT_API AttachmentDetails(Aws::Utils::Json::JsonView jsonValue)
AttachmentDetails & WithFileName(const Aws::String &value)
AttachmentDetails & WithAttachmentId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue