AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchUpdateAutomatedDiscoveryAccountsResult.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/macie2/model/AutomatedDiscoveryAccountUpdateError.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Macie2
26{
27namespace Model
28{
30 {
31 public:
35
36
38
44 inline const Aws::Vector<AutomatedDiscoveryAccountUpdateError>& GetErrors() const{ return m_errors; }
45 inline void SetErrors(const Aws::Vector<AutomatedDiscoveryAccountUpdateError>& value) { m_errors = value; }
46 inline void SetErrors(Aws::Vector<AutomatedDiscoveryAccountUpdateError>&& value) { m_errors = std::move(value); }
49 inline BatchUpdateAutomatedDiscoveryAccountsResult& AddErrors(const AutomatedDiscoveryAccountUpdateError& value) { m_errors.push_back(value); return *this; }
50 inline BatchUpdateAutomatedDiscoveryAccountsResult& AddErrors(AutomatedDiscoveryAccountUpdateError&& value) { m_errors.push_back(std::move(value)); return *this; }
52
54
55 inline const Aws::String& GetRequestId() const{ return m_requestId; }
56 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
57 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
58 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
60 inline BatchUpdateAutomatedDiscoveryAccountsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
61 inline BatchUpdateAutomatedDiscoveryAccountsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
63 private:
64
66
67 Aws::String m_requestId;
68 };
69
70} // namespace Model
71} // namespace Macie2
72} // namespace Aws
BatchUpdateAutomatedDiscoveryAccountsResult & WithRequestId(const char *value)
BatchUpdateAutomatedDiscoveryAccountsResult & AddErrors(const AutomatedDiscoveryAccountUpdateError &value)
void SetErrors(Aws::Vector< AutomatedDiscoveryAccountUpdateError > &&value)
AWS_MACIE2_API BatchUpdateAutomatedDiscoveryAccountsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchUpdateAutomatedDiscoveryAccountsResult & WithErrors(Aws::Vector< AutomatedDiscoveryAccountUpdateError > &&value)
const Aws::Vector< AutomatedDiscoveryAccountUpdateError > & GetErrors() const
BatchUpdateAutomatedDiscoveryAccountsResult & WithRequestId(const Aws::String &value)
void SetErrors(const Aws::Vector< AutomatedDiscoveryAccountUpdateError > &value)
AWS_MACIE2_API BatchUpdateAutomatedDiscoveryAccountsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchUpdateAutomatedDiscoveryAccountsResult & AddErrors(AutomatedDiscoveryAccountUpdateError &&value)
BatchUpdateAutomatedDiscoveryAccountsResult & WithErrors(const Aws::Vector< AutomatedDiscoveryAccountUpdateError > &value)
BatchUpdateAutomatedDiscoveryAccountsResult & WithRequestId(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