AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAwsLogSourceResult.h
1
6#pragma once
7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SecurityLake
25{
26namespace Model
27{
29 {
30 public:
31 AWS_SECURITYLAKE_API CreateAwsLogSourceResult();
34
35
37
42 inline const Aws::Vector<Aws::String>& GetFailed() const{ return m_failed; }
43 inline void SetFailed(const Aws::Vector<Aws::String>& value) { m_failed = value; }
44 inline void SetFailed(Aws::Vector<Aws::String>&& value) { m_failed = std::move(value); }
45 inline CreateAwsLogSourceResult& WithFailed(const Aws::Vector<Aws::String>& value) { SetFailed(value); return *this;}
46 inline CreateAwsLogSourceResult& WithFailed(Aws::Vector<Aws::String>&& value) { SetFailed(std::move(value)); return *this;}
47 inline CreateAwsLogSourceResult& AddFailed(const Aws::String& value) { m_failed.push_back(value); return *this; }
48 inline CreateAwsLogSourceResult& AddFailed(Aws::String&& value) { m_failed.push_back(std::move(value)); return *this; }
49 inline CreateAwsLogSourceResult& AddFailed(const char* value) { m_failed.push_back(value); return *this; }
51
53
54 inline const Aws::String& GetRequestId() const{ return m_requestId; }
55 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
56 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
57 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
58 inline CreateAwsLogSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
59 inline CreateAwsLogSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
60 inline CreateAwsLogSourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
62 private:
63
65
66 Aws::String m_requestId;
67 };
68
69} // namespace Model
70} // namespace SecurityLake
71} // namespace Aws
CreateAwsLogSourceResult & AddFailed(Aws::String &&value)
CreateAwsLogSourceResult & WithRequestId(Aws::String &&value)
CreateAwsLogSourceResult & WithFailed(const Aws::Vector< Aws::String > &value)
CreateAwsLogSourceResult & AddFailed(const char *value)
AWS_SECURITYLAKE_API CreateAwsLogSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAwsLogSourceResult & WithFailed(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetFailed() const
CreateAwsLogSourceResult & WithRequestId(const char *value)
CreateAwsLogSourceResult & WithRequestId(const Aws::String &value)
void SetFailed(Aws::Vector< Aws::String > &&value)
AWS_SECURITYLAKE_API CreateAwsLogSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFailed(const Aws::Vector< Aws::String > &value)
CreateAwsLogSourceResult & AddFailed(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue