AWS SDK for C++

AWS SDK for C++ Version 1.11.903

Loading...
Searching...
No Matches
UpdateIntegrationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityagent/SecurityAgent_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 SecurityAgent {
23namespace Model {
30 public:
31 AWS_SECURITYAGENT_API UpdateIntegrationResult() = default;
34
36
39 inline const Aws::String& GetIntegrationId() const { return m_integrationId; }
40 template <typename IntegrationIdT = Aws::String>
41 void SetIntegrationId(IntegrationIdT&& value) {
42 m_integrationIdHasBeenSet = true;
43 m_integrationId = std::forward<IntegrationIdT>(value);
44 }
45 template <typename IntegrationIdT = Aws::String>
46 UpdateIntegrationResult& WithIntegrationId(IntegrationIdT&& value) {
47 SetIntegrationId(std::forward<IntegrationIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetWebhookUrl() const { return m_webhookUrl; }
58 template <typename WebhookUrlT = Aws::String>
59 void SetWebhookUrl(WebhookUrlT&& value) {
60 m_webhookUrlHasBeenSet = true;
61 m_webhookUrl = std::forward<WebhookUrlT>(value);
62 }
63 template <typename WebhookUrlT = Aws::String>
65 SetWebhookUrl(std::forward<WebhookUrlT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetSecret() const { return m_secret; }
76 template <typename SecretT = Aws::String>
77 void SetSecret(SecretT&& value) {
78 m_secretHasBeenSet = true;
79 m_secret = std::forward<SecretT>(value);
80 }
81 template <typename SecretT = Aws::String>
83 SetSecret(std::forward<SecretT>(value));
84 return *this;
85 }
87
89
90 inline const Aws::String& GetRequestId() const { return m_requestId; }
91 template <typename RequestIdT = Aws::String>
92 void SetRequestId(RequestIdT&& value) {
93 m_requestIdHasBeenSet = true;
94 m_requestId = std::forward<RequestIdT>(value);
95 }
96 template <typename RequestIdT = Aws::String>
98 SetRequestId(std::forward<RequestIdT>(value));
99 return *this;
100 }
102 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
103
104 private:
105 Aws::String m_integrationId;
106
107 Aws::String m_webhookUrl;
108
109 Aws::String m_secret;
110
111 Aws::String m_requestId;
112 Aws::Http::HttpResponseCode m_HttpResponseCode;
113 bool m_integrationIdHasBeenSet = false;
114 bool m_webhookUrlHasBeenSet = false;
115 bool m_secretHasBeenSet = false;
116 bool m_requestIdHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace SecurityAgent
121} // namespace Aws
AWS_SECURITYAGENT_API UpdateIntegrationResult()=default
AWS_SECURITYAGENT_API UpdateIntegrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateIntegrationResult & WithIntegrationId(IntegrationIdT &&value)
UpdateIntegrationResult & WithRequestId(RequestIdT &&value)
UpdateIntegrationResult & WithWebhookUrl(WebhookUrlT &&value)
AWS_SECURITYAGENT_API UpdateIntegrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateIntegrationResult & WithSecret(SecretT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue