AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchUpdateExclusionWindowsError.h
1
6#pragma once
7#include <aws/application-signals/ApplicationSignals_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 ApplicationSignals
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_APPLICATIONSIGNALS_API BatchUpdateExclusionWindowsError() = default;
37 AWS_APPLICATIONSIGNALS_API BatchUpdateExclusionWindowsError(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetSloId() const { return m_sloId; }
47 inline bool SloIdHasBeenSet() const { return m_sloIdHasBeenSet; }
48 template<typename SloIdT = Aws::String>
49 void SetSloId(SloIdT&& value) { m_sloIdHasBeenSet = true; m_sloId = std::forward<SloIdT>(value); }
50 template<typename SloIdT = Aws::String>
51 BatchUpdateExclusionWindowsError& WithSloId(SloIdT&& value) { SetSloId(std::forward<SloIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetErrorCode() const { return m_errorCode; }
59 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
60 template<typename ErrorCodeT = Aws::String>
61 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::forward<ErrorCodeT>(value); }
62 template<typename ErrorCodeT = Aws::String>
63 BatchUpdateExclusionWindowsError& WithErrorCode(ErrorCodeT&& value) { SetErrorCode(std::forward<ErrorCodeT>(value)); return *this;}
65
67
70 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
71 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
72 template<typename ErrorMessageT = Aws::String>
73 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
74 template<typename ErrorMessageT = Aws::String>
75 BatchUpdateExclusionWindowsError& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
77 private:
78
79 Aws::String m_sloId;
80 bool m_sloIdHasBeenSet = false;
81
82 Aws::String m_errorCode;
83 bool m_errorCodeHasBeenSet = false;
84
85 Aws::String m_errorMessage;
86 bool m_errorMessageHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace ApplicationSignals
91} // namespace Aws
AWS_APPLICATIONSIGNALS_API BatchUpdateExclusionWindowsError(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONSIGNALS_API BatchUpdateExclusionWindowsError & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONSIGNALS_API BatchUpdateExclusionWindowsError()=default
BatchUpdateExclusionWindowsError & WithErrorMessage(ErrorMessageT &&value)
BatchUpdateExclusionWindowsError & WithErrorCode(ErrorCodeT &&value)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue