AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
DeleteAwsLogSourceResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securitylake/SecurityLake_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 SecurityLake {
23namespace Model {
25 public:
26 AWS_SECURITYLAKE_API DeleteAwsLogSourceResult() = default;
29
31
35 inline const Aws::Vector<Aws::String>& GetFailed() const { return m_failed; }
36 template <typename FailedT = Aws::Vector<Aws::String>>
37 void SetFailed(FailedT&& value) {
38 m_failedHasBeenSet = true;
39 m_failed = std::forward<FailedT>(value);
40 }
41 template <typename FailedT = Aws::Vector<Aws::String>>
43 SetFailed(std::forward<FailedT>(value));
44 return *this;
45 }
46 template <typename FailedT = Aws::String>
48 m_failedHasBeenSet = true;
49 m_failed.emplace_back(std::forward<FailedT>(value));
50 return *this;
51 }
53
55
56 inline const Aws::String& GetRequestId() const { return m_requestId; }
57 template <typename RequestIdT = Aws::String>
58 void SetRequestId(RequestIdT&& value) {
59 m_requestIdHasBeenSet = true;
60 m_requestId = std::forward<RequestIdT>(value);
61 }
62 template <typename RequestIdT = Aws::String>
64 SetRequestId(std::forward<RequestIdT>(value));
65 return *this;
66 }
68 private:
70
71 Aws::String m_requestId;
72 bool m_failedHasBeenSet = false;
73 bool m_requestIdHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace SecurityLake
78} // namespace Aws
const Aws::Vector< Aws::String > & GetFailed() const
DeleteAwsLogSourceResult & WithRequestId(RequestIdT &&value)
DeleteAwsLogSourceResult & AddFailed(FailedT &&value)
AWS_SECURITYLAKE_API DeleteAwsLogSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteAwsLogSourceResult & WithFailed(FailedT &&value)
AWS_SECURITYLAKE_API DeleteAwsLogSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SECURITYLAKE_API DeleteAwsLogSourceResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue