AWS SDK for C++

AWS SDK for C++ Version 1.11.643

Loading...
Searching...
No Matches
ConfigurationDetails.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/ConfigurationStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoT
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_IOT_API ConfigurationDetails() = default;
41
42
44
50 inline ConfigurationStatus GetConfigurationStatus() const { return m_configurationStatus; }
51 inline bool ConfigurationStatusHasBeenSet() const { return m_configurationStatusHasBeenSet; }
52 inline void SetConfigurationStatus(ConfigurationStatus value) { m_configurationStatusHasBeenSet = true; m_configurationStatus = value; }
55
57
62 inline const Aws::String& GetErrorCode() const { return m_errorCode; }
63 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
64 template<typename ErrorCodeT = Aws::String>
65 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::forward<ErrorCodeT>(value); }
66 template<typename ErrorCodeT = Aws::String>
67 ConfigurationDetails& WithErrorCode(ErrorCodeT&& value) { SetErrorCode(std::forward<ErrorCodeT>(value)); return *this;}
69
71
75 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
76 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
77 template<typename ErrorMessageT = Aws::String>
78 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
79 template<typename ErrorMessageT = Aws::String>
80 ConfigurationDetails& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
82 private:
83
85 bool m_configurationStatusHasBeenSet = false;
86
87 Aws::String m_errorCode;
88 bool m_errorCodeHasBeenSet = false;
89
90 Aws::String m_errorMessage;
91 bool m_errorMessageHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace IoT
96} // namespace Aws
void SetConfigurationStatus(ConfigurationStatus value)
void SetErrorMessage(ErrorMessageT &&value)
AWS_IOT_API ConfigurationDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API ConfigurationDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigurationStatus GetConfigurationStatus() const
ConfigurationDetails & WithErrorCode(ErrorCodeT &&value)
const Aws::String & GetErrorCode() const
ConfigurationDetails & WithErrorMessage(ErrorMessageT &&value)
ConfigurationDetails & WithConfigurationStatus(ConfigurationStatus value)
AWS_IOT_API ConfigurationDetails()=default
const Aws::String & GetErrorMessage() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue