AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FailedConfiguration.h
1
6#pragma once
7#include <aws/discovery/ApplicationDiscoveryService_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 ApplicationDiscoveryService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_APPLICATIONDISCOVERYSERVICE_API FailedConfiguration();
36 AWS_APPLICATIONDISCOVERYSERVICE_API FailedConfiguration(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPLICATIONDISCOVERYSERVICE_API FailedConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetConfigurationId() const{ return m_configurationId; }
46 inline bool ConfigurationIdHasBeenSet() const { return m_configurationIdHasBeenSet; }
47 inline void SetConfigurationId(const Aws::String& value) { m_configurationIdHasBeenSet = true; m_configurationId = value; }
48 inline void SetConfigurationId(Aws::String&& value) { m_configurationIdHasBeenSet = true; m_configurationId = std::move(value); }
49 inline void SetConfigurationId(const char* value) { m_configurationIdHasBeenSet = true; m_configurationId.assign(value); }
50 inline FailedConfiguration& WithConfigurationId(const Aws::String& value) { SetConfigurationId(value); return *this;}
51 inline FailedConfiguration& WithConfigurationId(Aws::String&& value) { SetConfigurationId(std::move(value)); return *this;}
52 inline FailedConfiguration& WithConfigurationId(const char* value) { SetConfigurationId(value); return *this;}
54
56
59 inline int GetErrorStatusCode() const{ return m_errorStatusCode; }
60 inline bool ErrorStatusCodeHasBeenSet() const { return m_errorStatusCodeHasBeenSet; }
61 inline void SetErrorStatusCode(int value) { m_errorStatusCodeHasBeenSet = true; m_errorStatusCode = value; }
62 inline FailedConfiguration& WithErrorStatusCode(int value) { SetErrorStatusCode(value); return *this;}
64
66
70 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
71 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
72 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
73 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
74 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
75 inline FailedConfiguration& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
76 inline FailedConfiguration& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
77 inline FailedConfiguration& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
79 private:
80
81 Aws::String m_configurationId;
82 bool m_configurationIdHasBeenSet = false;
83
84 int m_errorStatusCode;
85 bool m_errorStatusCodeHasBeenSet = false;
86
87 Aws::String m_errorMessage;
88 bool m_errorMessageHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace ApplicationDiscoveryService
93} // namespace Aws
AWS_APPLICATIONDISCOVERYSERVICE_API FailedConfiguration()
FailedConfiguration & WithConfigurationId(Aws::String &&value)
FailedConfiguration & WithErrorMessage(const Aws::String &value)
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
FailedConfiguration & WithConfigurationId(const Aws::String &value)
AWS_APPLICATIONDISCOVERYSERVICE_API FailedConfiguration(Aws::Utils::Json::JsonView jsonValue)
FailedConfiguration & WithErrorMessage(const char *value)
AWS_APPLICATIONDISCOVERYSERVICE_API FailedConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
FailedConfiguration & WithErrorMessage(Aws::String &&value)
FailedConfiguration & WithConfigurationId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue