AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
25 AWS_SUPPORT_API AddCommunicationToCaseRequest() = default;
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 template<typename CaseIdT = Aws::String>
47 void SetCaseId(CaseIdT&& value) { m_caseIdHasBeenSet = true; m_caseId = std::forward<CaseIdT>(value); }
48 template<typename CaseIdT = Aws::String>
49 AddCommunicationToCaseRequest& WithCaseId(CaseIdT&& value) { SetCaseId(std::forward<CaseIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetCommunicationBody() const { return m_communicationBody; }
57 inline bool CommunicationBodyHasBeenSet() const { return m_communicationBodyHasBeenSet; }
58 template<typename CommunicationBodyT = Aws::String>
59 void SetCommunicationBody(CommunicationBodyT&& value) { m_communicationBodyHasBeenSet = true; m_communicationBody = std::forward<CommunicationBodyT>(value); }
60 template<typename CommunicationBodyT = Aws::String>
61 AddCommunicationToCaseRequest& WithCommunicationBody(CommunicationBodyT&& value) { SetCommunicationBody(std::forward<CommunicationBodyT>(value)); return *this;}
63
65
69 inline const Aws::Vector<Aws::String>& GetCcEmailAddresses() const { return m_ccEmailAddresses; }
70 inline bool CcEmailAddressesHasBeenSet() const { return m_ccEmailAddressesHasBeenSet; }
71 template<typename CcEmailAddressesT = Aws::Vector<Aws::String>>
72 void SetCcEmailAddresses(CcEmailAddressesT&& value) { m_ccEmailAddressesHasBeenSet = true; m_ccEmailAddresses = std::forward<CcEmailAddressesT>(value); }
73 template<typename CcEmailAddressesT = Aws::Vector<Aws::String>>
74 AddCommunicationToCaseRequest& WithCcEmailAddresses(CcEmailAddressesT&& value) { SetCcEmailAddresses(std::forward<CcEmailAddressesT>(value)); return *this;}
75 template<typename CcEmailAddressesT = Aws::String>
76 AddCommunicationToCaseRequest& AddCcEmailAddresses(CcEmailAddressesT&& value) { m_ccEmailAddressesHasBeenSet = true; m_ccEmailAddresses.emplace_back(std::forward<CcEmailAddressesT>(value)); return *this; }
78
80
84 inline const Aws::String& GetAttachmentSetId() const { return m_attachmentSetId; }
85 inline bool AttachmentSetIdHasBeenSet() const { return m_attachmentSetIdHasBeenSet; }
86 template<typename AttachmentSetIdT = Aws::String>
87 void SetAttachmentSetId(AttachmentSetIdT&& value) { m_attachmentSetIdHasBeenSet = true; m_attachmentSetId = std::forward<AttachmentSetIdT>(value); }
88 template<typename AttachmentSetIdT = Aws::String>
89 AddCommunicationToCaseRequest& WithAttachmentSetId(AttachmentSetIdT&& value) { SetAttachmentSetId(std::forward<AttachmentSetIdT>(value)); return *this;}
91 private:
92
93 Aws::String m_caseId;
94 bool m_caseIdHasBeenSet = false;
95
96 Aws::String m_communicationBody;
97 bool m_communicationBodyHasBeenSet = false;
98
99 Aws::Vector<Aws::String> m_ccEmailAddresses;
100 bool m_ccEmailAddressesHasBeenSet = false;
101
102 Aws::String m_attachmentSetId;
103 bool m_attachmentSetIdHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Support
108} // namespace Aws
AddCommunicationToCaseRequest & AddCcEmailAddresses(CcEmailAddressesT &&value)
AWS_SUPPORT_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetCcEmailAddresses() const
AddCommunicationToCaseRequest & WithAttachmentSetId(AttachmentSetIdT &&value)
AddCommunicationToCaseRequest & WithCommunicationBody(CommunicationBodyT &&value)
AWS_SUPPORT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AddCommunicationToCaseRequest & WithCaseId(CaseIdT &&value)
AddCommunicationToCaseRequest & WithCcEmailAddresses(CcEmailAddressesT &&value)
AWS_SUPPORT_API AddCommunicationToCaseRequest()=default
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