AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FailedGroupingRecommendationEntry.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 FailedGroupingRecommendationEntry();
38 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
47 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
48 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
49 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
50 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
52 inline FailedGroupingRecommendationEntry& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
53 inline FailedGroupingRecommendationEntry& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
55
57
60 inline const Aws::String& GetGroupingRecommendationId() const{ return m_groupingRecommendationId; }
61 inline bool GroupingRecommendationIdHasBeenSet() const { return m_groupingRecommendationIdHasBeenSet; }
62 inline void SetGroupingRecommendationId(const Aws::String& value) { m_groupingRecommendationIdHasBeenSet = true; m_groupingRecommendationId = value; }
63 inline void SetGroupingRecommendationId(Aws::String&& value) { m_groupingRecommendationIdHasBeenSet = true; m_groupingRecommendationId = std::move(value); }
64 inline void SetGroupingRecommendationId(const char* value) { m_groupingRecommendationIdHasBeenSet = true; m_groupingRecommendationId.assign(value); }
69 private:
70
71 Aws::String m_errorMessage;
72 bool m_errorMessageHasBeenSet = false;
73
74 Aws::String m_groupingRecommendationId;
75 bool m_groupingRecommendationIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace ResilienceHub
80} // namespace Aws
FailedGroupingRecommendationEntry & WithGroupingRecommendationId(const Aws::String &value)
AWS_RESILIENCEHUB_API FailedGroupingRecommendationEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUB_API FailedGroupingRecommendationEntry()
const Aws::String & GetErrorMessage() const
AWS_RESILIENCEHUB_API FailedGroupingRecommendationEntry(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(Aws::String &&value)
FailedGroupingRecommendationEntry & WithErrorMessage(const Aws::String &value)
bool GroupingRecommendationIdHasBeenSet() const
void SetErrorMessage(const Aws::String &value)
void SetErrorMessage(const char *value)
FailedGroupingRecommendationEntry & WithGroupingRecommendationId(const char *value)
bool ErrorMessageHasBeenSet() const
void SetGroupingRecommendationId(const char *value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
FailedGroupingRecommendationEntry & WithErrorMessage(const char *value)
const Aws::String & GetGroupingRecommendationId() const
void SetGroupingRecommendationId(Aws::String &&value)
void SetGroupingRecommendationId(const Aws::String &value)
FailedGroupingRecommendationEntry & WithErrorMessage(Aws::String &&value)
FailedGroupingRecommendationEntry & WithGroupingRecommendationId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue