AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PutRemediationExceptionsResult.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/config/model/FailedRemediationExceptionBatch.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 ConfigService
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CONFIGSERVICE_API PutRemediationExceptionsResult() = default;
35
36
38
42 inline const Aws::Vector<FailedRemediationExceptionBatch>& GetFailedBatches() const { return m_failedBatches; }
43 template<typename FailedBatchesT = Aws::Vector<FailedRemediationExceptionBatch>>
44 void SetFailedBatches(FailedBatchesT&& value) { m_failedBatchesHasBeenSet = true; m_failedBatches = std::forward<FailedBatchesT>(value); }
45 template<typename FailedBatchesT = Aws::Vector<FailedRemediationExceptionBatch>>
46 PutRemediationExceptionsResult& WithFailedBatches(FailedBatchesT&& value) { SetFailedBatches(std::forward<FailedBatchesT>(value)); return *this;}
47 template<typename FailedBatchesT = FailedRemediationExceptionBatch>
48 PutRemediationExceptionsResult& AddFailedBatches(FailedBatchesT&& value) { m_failedBatchesHasBeenSet = true; m_failedBatches.emplace_back(std::forward<FailedBatchesT>(value)); return *this; }
50
52
53 inline const Aws::String& GetRequestId() const { return m_requestId; }
54 template<typename RequestIdT = Aws::String>
55 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
56 template<typename RequestIdT = Aws::String>
57 PutRemediationExceptionsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
59 private:
60
62 bool m_failedBatchesHasBeenSet = false;
63
64 Aws::String m_requestId;
65 bool m_requestIdHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace ConfigService
70} // namespace Aws
PutRemediationExceptionsResult & WithRequestId(RequestIdT &&value)
PutRemediationExceptionsResult & WithFailedBatches(FailedBatchesT &&value)
AWS_CONFIGSERVICE_API PutRemediationExceptionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CONFIGSERVICE_API PutRemediationExceptionsResult()=default
AWS_CONFIGSERVICE_API PutRemediationExceptionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutRemediationExceptionsResult & AddFailedBatches(FailedBatchesT &&value)
const Aws::Vector< FailedRemediationExceptionBatch > & GetFailedBatches() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue