AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
SubnetNotFound.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticfilesystem/EFS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EFS {
20namespace Model {
21
29 public:
30 AWS_EFS_API SubnetNotFound() = default;
34
36
37 inline const Aws::String& GetErrorCode() const { return m_errorCode; }
38 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
39 template <typename ErrorCodeT = Aws::String>
40 void SetErrorCode(ErrorCodeT&& value) {
41 m_errorCodeHasBeenSet = true;
42 m_errorCode = std::forward<ErrorCodeT>(value);
43 }
44 template <typename ErrorCodeT = Aws::String>
45 SubnetNotFound& WithErrorCode(ErrorCodeT&& value) {
46 SetErrorCode(std::forward<ErrorCodeT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetMessage() const { return m_message; }
54 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
55 template <typename MessageT = Aws::String>
56 void SetMessage(MessageT&& value) {
57 m_messageHasBeenSet = true;
58 m_message = std::forward<MessageT>(value);
59 }
60 template <typename MessageT = Aws::String>
61 SubnetNotFound& WithMessage(MessageT&& value) {
62 SetMessage(std::forward<MessageT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_errorCode;
68
69 Aws::String m_message;
70 bool m_errorCodeHasBeenSet = false;
71 bool m_messageHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace EFS
76} // namespace Aws
const Aws::String & GetErrorCode() const
SubnetNotFound & WithErrorCode(ErrorCodeT &&value)
void SetErrorCode(ErrorCodeT &&value)
SubnetNotFound & WithMessage(MessageT &&value)
void SetMessage(MessageT &&value)
AWS_EFS_API SubnetNotFound(Aws::Utils::Json::JsonView jsonValue)
AWS_EFS_API SubnetNotFound()=default
AWS_EFS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMessage() const
AWS_EFS_API SubnetNotFound & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue