AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FailedDeleteRemediationExceptionsBatch.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/config/model/RemediationExceptionResourceKey.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ConfigService
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; }
49 inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
50 inline void SetFailureMessage(const Aws::String& value) { m_failureMessageHasBeenSet = true; m_failureMessage = value; }
51 inline void SetFailureMessage(Aws::String&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::move(value); }
52 inline void SetFailureMessage(const char* value) { m_failureMessageHasBeenSet = true; m_failureMessage.assign(value); }
55 inline FailedDeleteRemediationExceptionsBatch& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;}
57
59
62 inline const Aws::Vector<RemediationExceptionResourceKey>& GetFailedItems() const{ return m_failedItems; }
63 inline bool FailedItemsHasBeenSet() const { return m_failedItemsHasBeenSet; }
64 inline void SetFailedItems(const Aws::Vector<RemediationExceptionResourceKey>& value) { m_failedItemsHasBeenSet = true; m_failedItems = value; }
65 inline void SetFailedItems(Aws::Vector<RemediationExceptionResourceKey>&& value) { m_failedItemsHasBeenSet = true; m_failedItems = std::move(value); }
68 inline FailedDeleteRemediationExceptionsBatch& AddFailedItems(const RemediationExceptionResourceKey& value) { m_failedItemsHasBeenSet = true; m_failedItems.push_back(value); return *this; }
69 inline FailedDeleteRemediationExceptionsBatch& AddFailedItems(RemediationExceptionResourceKey&& value) { m_failedItemsHasBeenSet = true; m_failedItems.push_back(std::move(value)); return *this; }
71 private:
72
73 Aws::String m_failureMessage;
74 bool m_failureMessageHasBeenSet = false;
75
77 bool m_failedItemsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace ConfigService
82} // namespace Aws
FailedDeleteRemediationExceptionsBatch & WithFailureMessage(const Aws::String &value)
AWS_CONFIGSERVICE_API FailedDeleteRemediationExceptionsBatch & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API FailedDeleteRemediationExceptionsBatch(Aws::Utils::Json::JsonView jsonValue)
void SetFailedItems(Aws::Vector< RemediationExceptionResourceKey > &&value)
FailedDeleteRemediationExceptionsBatch & WithFailedItems(const Aws::Vector< RemediationExceptionResourceKey > &value)
FailedDeleteRemediationExceptionsBatch & WithFailedItems(Aws::Vector< RemediationExceptionResourceKey > &&value)
void SetFailedItems(const Aws::Vector< RemediationExceptionResourceKey > &value)
FailedDeleteRemediationExceptionsBatch & WithFailureMessage(const char *value)
FailedDeleteRemediationExceptionsBatch & AddFailedItems(RemediationExceptionResourceKey &&value)
const Aws::Vector< RemediationExceptionResourceKey > & GetFailedItems() const
FailedDeleteRemediationExceptionsBatch & AddFailedItems(const RemediationExceptionResourceKey &value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
FailedDeleteRemediationExceptionsBatch & WithFailureMessage(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