AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FailedRemediationBatch.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/RemediationConfiguration.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:
37 AWS_CONFIGSERVICE_API FailedRemediationBatch();
38 AWS_CONFIGSERVICE_API FailedRemediationBatch(Aws::Utils::Json::JsonView jsonValue);
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); }
53 inline FailedRemediationBatch& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;}
54 inline FailedRemediationBatch& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;}
55 inline FailedRemediationBatch& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;}
57
59
62 inline const Aws::Vector<RemediationConfiguration>& GetFailedItems() const{ return m_failedItems; }
63 inline bool FailedItemsHasBeenSet() const { return m_failedItemsHasBeenSet; }
64 inline void SetFailedItems(const Aws::Vector<RemediationConfiguration>& value) { m_failedItemsHasBeenSet = true; m_failedItems = value; }
65 inline void SetFailedItems(Aws::Vector<RemediationConfiguration>&& value) { m_failedItemsHasBeenSet = true; m_failedItems = std::move(value); }
68 inline FailedRemediationBatch& AddFailedItems(const RemediationConfiguration& value) { m_failedItemsHasBeenSet = true; m_failedItems.push_back(value); return *this; }
69 inline FailedRemediationBatch& AddFailedItems(RemediationConfiguration&& 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
FailedRemediationBatch & WithFailedItems(Aws::Vector< RemediationConfiguration > &&value)
AWS_CONFIGSERVICE_API FailedRemediationBatch(Aws::Utils::Json::JsonView jsonValue)
FailedRemediationBatch & WithFailedItems(const Aws::Vector< RemediationConfiguration > &value)
AWS_CONFIGSERVICE_API FailedRemediationBatch & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFailedItems(Aws::Vector< RemediationConfiguration > &&value)
FailedRemediationBatch & AddFailedItems(RemediationConfiguration &&value)
const Aws::Vector< RemediationConfiguration > & GetFailedItems() const
FailedRemediationBatch & AddFailedItems(const RemediationConfiguration &value)
FailedRemediationBatch & WithFailureMessage(const char *value)
FailedRemediationBatch & WithFailureMessage(const Aws::String &value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
FailedRemediationBatch & WithFailureMessage(Aws::String &&value)
void SetFailedItems(const Aws::Vector< RemediationConfiguration > &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