AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchUpdateRecommendationStatusFailedEntry.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ResilienceHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_RESILIENCEHUB_API BatchUpdateRecommendationStatusFailedEntry() = default;
38 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetEntryId() const { return m_entryId; }
48 inline bool EntryIdHasBeenSet() const { return m_entryIdHasBeenSet; }
49 template<typename EntryIdT = Aws::String>
50 void SetEntryId(EntryIdT&& value) { m_entryIdHasBeenSet = true; m_entryId = std::forward<EntryIdT>(value); }
51 template<typename EntryIdT = Aws::String>
52 BatchUpdateRecommendationStatusFailedEntry& WithEntryId(EntryIdT&& value) { SetEntryId(std::forward<EntryIdT>(value)); return *this;}
54
56
60 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
61 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
62 template<typename ErrorMessageT = Aws::String>
63 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
64 template<typename ErrorMessageT = Aws::String>
65 BatchUpdateRecommendationStatusFailedEntry& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
67 private:
68
69 Aws::String m_entryId;
70 bool m_entryIdHasBeenSet = false;
71
72 Aws::String m_errorMessage;
73 bool m_errorMessageHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace ResilienceHub
78} // namespace Aws
const Aws::String & GetErrorMessage() const
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetEntryId() const
bool EntryIdHasBeenSet() const
AWS_RESILIENCEHUB_API BatchUpdateRecommendationStatusFailedEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchUpdateRecommendationStatusFailedEntry & WithErrorMessage(ErrorMessageT &&value)
AWS_RESILIENCEHUB_API BatchUpdateRecommendationStatusFailedEntry(Aws::Utils::Json::JsonView jsonValue)
bool ErrorMessageHasBeenSet() const
BatchUpdateRecommendationStatusFailedEntry & WithEntryId(EntryIdT &&value)
void SetEntryId(EntryIdT &&value)
void SetErrorMessage(ErrorMessageT &&value)
AWS_RESILIENCEHUB_API BatchUpdateRecommendationStatusFailedEntry()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue