AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddCommunicationToCaseRequest.h
1
6#pragma once
7#include <aws/support/Support_EXPORTS.h>
8#include <aws/support/SupportRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Support
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "AddCommunicationToCase"; }
32
33 AWS_SUPPORT_API Aws::String SerializePayload() const override;
34
36
37
39
44 inline const Aws::String& GetCaseId() const{ return m_caseId; }
45 inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; }
46 inline void SetCaseId(const Aws::String& value) { m_caseIdHasBeenSet = true; m_caseId = value; }
47 inline void SetCaseId(Aws::String&& value) { m_caseIdHasBeenSet = true; m_caseId = std::move(value); }
48 inline void SetCaseId(const char* value) { m_caseIdHasBeenSet = true; m_caseId.assign(value); }
49 inline AddCommunicationToCaseRequest& WithCaseId(const Aws::String& value) { SetCaseId(value); return *this;}
50 inline AddCommunicationToCaseRequest& WithCaseId(Aws::String&& value) { SetCaseId(std::move(value)); return *this;}
51 inline AddCommunicationToCaseRequest& WithCaseId(const char* value) { SetCaseId(value); return *this;}
53
55
58 inline const Aws::String& GetCommunicationBody() const{ return m_communicationBody; }
59 inline bool CommunicationBodyHasBeenSet() const { return m_communicationBodyHasBeenSet; }
60 inline void SetCommunicationBody(const Aws::String& value) { m_communicationBodyHasBeenSet = true; m_communicationBody = value; }
61 inline void SetCommunicationBody(Aws::String&& value) { m_communicationBodyHasBeenSet = true; m_communicationBody = std::move(value); }
62 inline void SetCommunicationBody(const char* value) { m_communicationBodyHasBeenSet = true; m_communicationBody.assign(value); }
64 inline AddCommunicationToCaseRequest& WithCommunicationBody(Aws::String&& value) { SetCommunicationBody(std::move(value)); return *this;}
65 inline AddCommunicationToCaseRequest& WithCommunicationBody(const char* value) { SetCommunicationBody(value); return *this;}
67
69
73 inline const Aws::Vector<Aws::String>& GetCcEmailAddresses() const{ return m_ccEmailAddresses; }
74 inline bool CcEmailAddressesHasBeenSet() const { return m_ccEmailAddressesHasBeenSet; }
75 inline void SetCcEmailAddresses(const Aws::Vector<Aws::String>& value) { m_ccEmailAddressesHasBeenSet = true; m_ccEmailAddresses = value; }
76 inline void SetCcEmailAddresses(Aws::Vector<Aws::String>&& value) { m_ccEmailAddressesHasBeenSet = true; m_ccEmailAddresses = std::move(value); }
79 inline AddCommunicationToCaseRequest& AddCcEmailAddresses(const Aws::String& value) { m_ccEmailAddressesHasBeenSet = true; m_ccEmailAddresses.push_back(value); return *this; }
80 inline AddCommunicationToCaseRequest& AddCcEmailAddresses(Aws::String&& value) { m_ccEmailAddressesHasBeenSet = true; m_ccEmailAddresses.push_back(std::move(value)); return *this; }
81 inline AddCommunicationToCaseRequest& AddCcEmailAddresses(const char* value) { m_ccEmailAddressesHasBeenSet = true; m_ccEmailAddresses.push_back(value); return *this; }
83
85
89 inline const Aws::String& GetAttachmentSetId() const{ return m_attachmentSetId; }
90 inline bool AttachmentSetIdHasBeenSet() const { return m_attachmentSetIdHasBeenSet; }
91 inline void SetAttachmentSetId(const Aws::String& value) { m_attachmentSetIdHasBeenSet = true; m_attachmentSetId = value; }
92 inline void SetAttachmentSetId(Aws::String&& value) { m_attachmentSetIdHasBeenSet = true; m_attachmentSetId = std::move(value); }
93 inline void SetAttachmentSetId(const char* value) { m_attachmentSetIdHasBeenSet = true; m_attachmentSetId.assign(value); }
95 inline AddCommunicationToCaseRequest& WithAttachmentSetId(Aws::String&& value) { SetAttachmentSetId(std::move(value)); return *this;}
96 inline AddCommunicationToCaseRequest& WithAttachmentSetId(const char* value) { SetAttachmentSetId(value); return *this;}
98 private:
99
100 Aws::String m_caseId;
101 bool m_caseIdHasBeenSet = false;
102
103 Aws::String m_communicationBody;
104 bool m_communicationBodyHasBeenSet = false;
105
106 Aws::Vector<Aws::String> m_ccEmailAddresses;
107 bool m_ccEmailAddressesHasBeenSet = false;
108
109 Aws::String m_attachmentSetId;
110 bool m_attachmentSetIdHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Support
115} // namespace Aws
AddCommunicationToCaseRequest & WithCcEmailAddresses(Aws::Vector< Aws::String > &&value)
AWS_SUPPORT_API Aws::String SerializePayload() const override
AddCommunicationToCaseRequest & WithCommunicationBody(const Aws::String &value)
AddCommunicationToCaseRequest & WithCaseId(Aws::String &&value)
AddCommunicationToCaseRequest & WithCaseId(const char *value)
const Aws::Vector< Aws::String > & GetCcEmailAddresses() const
AddCommunicationToCaseRequest & AddCcEmailAddresses(const char *value)
AddCommunicationToCaseRequest & WithCommunicationBody(Aws::String &&value)
void SetCcEmailAddresses(const Aws::Vector< Aws::String > &value)
void SetCcEmailAddresses(Aws::Vector< Aws::String > &&value)
AddCommunicationToCaseRequest & WithAttachmentSetId(const char *value)
AddCommunicationToCaseRequest & WithAttachmentSetId(const Aws::String &value)
AWS_SUPPORT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AddCommunicationToCaseRequest & AddCcEmailAddresses(Aws::String &&value)
AddCommunicationToCaseRequest & WithCommunicationBody(const char *value)
AddCommunicationToCaseRequest & WithCaseId(const Aws::String &value)
AddCommunicationToCaseRequest & WithAttachmentSetId(Aws::String &&value)
AddCommunicationToCaseRequest & WithCcEmailAddresses(const Aws::Vector< Aws::String > &value)
AddCommunicationToCaseRequest & AddCcEmailAddresses(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector