AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ValidationErrorsEntry.h
1
6#pragma once
7#include <aws/secretsmanager/SecretsManager_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 SecretsManager
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECRETSMANAGER_API ValidationErrorsEntry();
36 AWS_SECRETSMANAGER_API ValidationErrorsEntry(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECRETSMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetCheckName() const{ return m_checkName; }
46 inline bool CheckNameHasBeenSet() const { return m_checkNameHasBeenSet; }
47 inline void SetCheckName(const Aws::String& value) { m_checkNameHasBeenSet = true; m_checkName = value; }
48 inline void SetCheckName(Aws::String&& value) { m_checkNameHasBeenSet = true; m_checkName = std::move(value); }
49 inline void SetCheckName(const char* value) { m_checkNameHasBeenSet = true; m_checkName.assign(value); }
50 inline ValidationErrorsEntry& WithCheckName(const Aws::String& value) { SetCheckName(value); return *this;}
51 inline ValidationErrorsEntry& WithCheckName(Aws::String&& value) { SetCheckName(std::move(value)); return *this;}
52 inline ValidationErrorsEntry& WithCheckName(const char* value) { SetCheckName(value); return *this;}
54
56
60 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
61 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
62 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
63 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
64 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
65 inline ValidationErrorsEntry& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
66 inline ValidationErrorsEntry& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
67 inline ValidationErrorsEntry& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
69 private:
70
71 Aws::String m_checkName;
72 bool m_checkNameHasBeenSet = false;
73
74 Aws::String m_errorMessage;
75 bool m_errorMessageHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SecretsManager
80} // namespace Aws
void SetCheckName(const char *value)
void SetErrorMessage(const char *value)
ValidationErrorsEntry & WithErrorMessage(const char *value)
AWS_SECRETSMANAGER_API ValidationErrorsEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCheckName() const
void SetCheckName(const Aws::String &value)
const Aws::String & GetErrorMessage() const
AWS_SECRETSMANAGER_API ValidationErrorsEntry()
ValidationErrorsEntry & WithCheckName(Aws::String &&value)
AWS_SECRETSMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
ValidationErrorsEntry & WithCheckName(const Aws::String &value)
void SetCheckName(Aws::String &&value)
ValidationErrorsEntry & WithCheckName(const char *value)
void SetErrorMessage(Aws::String &&value)
ValidationErrorsEntry & WithErrorMessage(const Aws::String &value)
ValidationErrorsEntry & WithErrorMessage(Aws::String &&value)
AWS_SECRETSMANAGER_API ValidationErrorsEntry(Aws::Utils::Json::JsonView jsonValue)
bool CheckNameHasBeenSet() const
void SetErrorMessage(const Aws::String &value)
bool ErrorMessageHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue