AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TooManyAccessPoints.h
1
6#pragma once
7#include <aws/fsx/FSx_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 FSx
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_FSX_API TooManyAccessPoints() = default;
43
44
46
51 inline const Aws::String& GetErrorCode() const { return m_errorCode; }
52 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
53 template<typename ErrorCodeT = Aws::String>
54 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::forward<ErrorCodeT>(value); }
55 template<typename ErrorCodeT = Aws::String>
56 TooManyAccessPoints& WithErrorCode(ErrorCodeT&& value) { SetErrorCode(std::forward<ErrorCodeT>(value)); return *this;}
58
60
61 inline const Aws::String& GetMessage() const { return m_message; }
62 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
63 template<typename MessageT = Aws::String>
64 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
65 template<typename MessageT = Aws::String>
66 TooManyAccessPoints& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
68 private:
69
70 Aws::String m_errorCode;
71 bool m_errorCodeHasBeenSet = false;
72
73 Aws::String m_message;
74 bool m_messageHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace FSx
79} // namespace Aws
const Aws::String & GetErrorCode() const
TooManyAccessPoints & WithMessage(MessageT &&value)
AWS_FSX_API TooManyAccessPoints()=default
AWS_FSX_API TooManyAccessPoints(Aws::Utils::Json::JsonView jsonValue)
TooManyAccessPoints & WithErrorCode(ErrorCodeT &&value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMessage() const
AWS_FSX_API TooManyAccessPoints & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue