AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HttpsNotificationConfiguration.h
1
6#pragma once
7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securitylake/model/HttpMethod.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityLake
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYLAKE_API HttpsNotificationConfiguration();
39 AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAuthorizationApiKeyName() const{ return m_authorizationApiKeyName; }
47 inline bool AuthorizationApiKeyNameHasBeenSet() const { return m_authorizationApiKeyNameHasBeenSet; }
48 inline void SetAuthorizationApiKeyName(const Aws::String& value) { m_authorizationApiKeyNameHasBeenSet = true; m_authorizationApiKeyName = value; }
49 inline void SetAuthorizationApiKeyName(Aws::String&& value) { m_authorizationApiKeyNameHasBeenSet = true; m_authorizationApiKeyName = std::move(value); }
50 inline void SetAuthorizationApiKeyName(const char* value) { m_authorizationApiKeyNameHasBeenSet = true; m_authorizationApiKeyName.assign(value); }
55
57
60 inline const Aws::String& GetAuthorizationApiKeyValue() const{ return m_authorizationApiKeyValue; }
61 inline bool AuthorizationApiKeyValueHasBeenSet() const { return m_authorizationApiKeyValueHasBeenSet; }
62 inline void SetAuthorizationApiKeyValue(const Aws::String& value) { m_authorizationApiKeyValueHasBeenSet = true; m_authorizationApiKeyValue = value; }
63 inline void SetAuthorizationApiKeyValue(Aws::String&& value) { m_authorizationApiKeyValueHasBeenSet = true; m_authorizationApiKeyValue = std::move(value); }
64 inline void SetAuthorizationApiKeyValue(const char* value) { m_authorizationApiKeyValueHasBeenSet = true; m_authorizationApiKeyValue.assign(value); }
69
71
75 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
76 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
77 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
78 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
79 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
80 inline HttpsNotificationConfiguration& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
81 inline HttpsNotificationConfiguration& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
82 inline HttpsNotificationConfiguration& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
84
86
89 inline const HttpMethod& GetHttpMethod() const{ return m_httpMethod; }
90 inline bool HttpMethodHasBeenSet() const { return m_httpMethodHasBeenSet; }
91 inline void SetHttpMethod(const HttpMethod& value) { m_httpMethodHasBeenSet = true; m_httpMethod = value; }
92 inline void SetHttpMethod(HttpMethod&& value) { m_httpMethodHasBeenSet = true; m_httpMethod = std::move(value); }
93 inline HttpsNotificationConfiguration& WithHttpMethod(const HttpMethod& value) { SetHttpMethod(value); return *this;}
94 inline HttpsNotificationConfiguration& WithHttpMethod(HttpMethod&& value) { SetHttpMethod(std::move(value)); return *this;}
96
98
108 inline const Aws::String& GetTargetRoleArn() const{ return m_targetRoleArn; }
109 inline bool TargetRoleArnHasBeenSet() const { return m_targetRoleArnHasBeenSet; }
110 inline void SetTargetRoleArn(const Aws::String& value) { m_targetRoleArnHasBeenSet = true; m_targetRoleArn = value; }
111 inline void SetTargetRoleArn(Aws::String&& value) { m_targetRoleArnHasBeenSet = true; m_targetRoleArn = std::move(value); }
112 inline void SetTargetRoleArn(const char* value) { m_targetRoleArnHasBeenSet = true; m_targetRoleArn.assign(value); }
114 inline HttpsNotificationConfiguration& WithTargetRoleArn(Aws::String&& value) { SetTargetRoleArn(std::move(value)); return *this;}
115 inline HttpsNotificationConfiguration& WithTargetRoleArn(const char* value) { SetTargetRoleArn(value); return *this;}
117 private:
118
119 Aws::String m_authorizationApiKeyName;
120 bool m_authorizationApiKeyNameHasBeenSet = false;
121
122 Aws::String m_authorizationApiKeyValue;
123 bool m_authorizationApiKeyValueHasBeenSet = false;
124
125 Aws::String m_endpoint;
126 bool m_endpointHasBeenSet = false;
127
128 HttpMethod m_httpMethod;
129 bool m_httpMethodHasBeenSet = false;
130
131 Aws::String m_targetRoleArn;
132 bool m_targetRoleArnHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace SecurityLake
137} // namespace Aws
HttpsNotificationConfiguration & WithAuthorizationApiKeyValue(const Aws::String &value)
HttpsNotificationConfiguration & WithEndpoint(Aws::String &&value)
HttpsNotificationConfiguration & WithTargetRoleArn(Aws::String &&value)
HttpsNotificationConfiguration & WithAuthorizationApiKeyName(Aws::String &&value)
AWS_SECURITYLAKE_API HttpsNotificationConfiguration(Aws::Utils::Json::JsonView jsonValue)
HttpsNotificationConfiguration & WithEndpoint(const Aws::String &value)
HttpsNotificationConfiguration & WithTargetRoleArn(const char *value)
HttpsNotificationConfiguration & WithHttpMethod(HttpMethod &&value)
HttpsNotificationConfiguration & WithAuthorizationApiKeyValue(const char *value)
AWS_SECURITYLAKE_API HttpsNotificationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
HttpsNotificationConfiguration & WithEndpoint(const char *value)
HttpsNotificationConfiguration & WithAuthorizationApiKeyValue(Aws::String &&value)
HttpsNotificationConfiguration & WithAuthorizationApiKeyName(const char *value)
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
HttpsNotificationConfiguration & WithAuthorizationApiKeyName(const Aws::String &value)
HttpsNotificationConfiguration & WithTargetRoleArn(const Aws::String &value)
HttpsNotificationConfiguration & WithHttpMethod(const HttpMethod &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue