AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetEntryId(const Aws::String& value) { m_entryIdHasBeenSet = true; m_entryId = value; }
50 inline void SetEntryId(Aws::String&& value) { m_entryIdHasBeenSet = true; m_entryId = std::move(value); }
51 inline void SetEntryId(const char* value) { m_entryIdHasBeenSet = true; m_entryId.assign(value); }
53 inline BatchUpdateRecommendationStatusFailedEntry& WithEntryId(Aws::String&& value) { SetEntryId(std::move(value)); return *this;}
54 inline BatchUpdateRecommendationStatusFailedEntry& WithEntryId(const char* value) { SetEntryId(value); return *this;}
56
58
62 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
63 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
64 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
65 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
66 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
69 inline BatchUpdateRecommendationStatusFailedEntry& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
71 private:
72
73 Aws::String m_entryId;
74 bool m_entryIdHasBeenSet = false;
75
76 Aws::String m_errorMessage;
77 bool m_errorMessageHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace ResilienceHub
82} // namespace Aws
void SetErrorMessage(Aws::String &&value)
const Aws::String & GetErrorMessage() const
void SetEntryId(const char *value)
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)
AWS_RESILIENCEHUB_API BatchUpdateRecommendationStatusFailedEntry(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(const Aws::String &value)
AWS_RESILIENCEHUB_API BatchUpdateRecommendationStatusFailedEntry()
void SetErrorMessage(const char *value)
bool ErrorMessageHasBeenSet() const
void SetEntryId(const Aws::String &value)
BatchUpdateRecommendationStatusFailedEntry & WithErrorMessage(const Aws::String &value)
BatchUpdateRecommendationStatusFailedEntry & WithErrorMessage(Aws::String &&value)
void SetEntryId(Aws::String &&value)
BatchUpdateRecommendationStatusFailedEntry & WithEntryId(const Aws::String &value)
BatchUpdateRecommendationStatusFailedEntry & WithEntryId(Aws::String &&value)
BatchUpdateRecommendationStatusFailedEntry & WithErrorMessage(const char *value)
BatchUpdateRecommendationStatusFailedEntry & WithEntryId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue