AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
CreateTicketV2Result.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub {
23namespace Model {
25 public:
26 AWS_SECURITYHUB_API CreateTicketV2Result() = default;
29
31
34 inline const Aws::String& GetTicketId() const { return m_ticketId; }
35 template <typename TicketIdT = Aws::String>
36 void SetTicketId(TicketIdT&& value) {
37 m_ticketIdHasBeenSet = true;
38 m_ticketId = std::forward<TicketIdT>(value);
39 }
40 template <typename TicketIdT = Aws::String>
41 CreateTicketV2Result& WithTicketId(TicketIdT&& value) {
42 SetTicketId(std::forward<TicketIdT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetTicketSrcUrl() const { return m_ticketSrcUrl; }
52 template <typename TicketSrcUrlT = Aws::String>
53 void SetTicketSrcUrl(TicketSrcUrlT&& value) {
54 m_ticketSrcUrlHasBeenSet = true;
55 m_ticketSrcUrl = std::forward<TicketSrcUrlT>(value);
56 }
57 template <typename TicketSrcUrlT = Aws::String>
58 CreateTicketV2Result& WithTicketSrcUrl(TicketSrcUrlT&& value) {
59 SetTicketSrcUrl(std::forward<TicketSrcUrlT>(value));
60 return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
73 CreateTicketV2Result& WithRequestId(RequestIdT&& value) {
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
79
80 private:
81 Aws::String m_ticketId;
82
83 Aws::String m_ticketSrcUrl;
84
85 Aws::String m_requestId;
86 Aws::Http::HttpResponseCode m_HttpResponseCode;
87 bool m_ticketIdHasBeenSet = false;
88 bool m_ticketSrcUrlHasBeenSet = false;
89 bool m_requestIdHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace SecurityHub
94} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateTicketV2Result & WithTicketSrcUrl(TicketSrcUrlT &&value)
CreateTicketV2Result & WithTicketId(TicketIdT &&value)
CreateTicketV2Result & WithRequestId(RequestIdT &&value)
AWS_SECURITYHUB_API CreateTicketV2Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SECURITYHUB_API CreateTicketV2Result(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SECURITYHUB_API CreateTicketV2Result()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue