7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fsx/model/ActiveDirectoryErrorType.h>
47 template<
typename ActiveDirectoryIdT = Aws::String>
48 void SetActiveDirectoryId(ActiveDirectoryIdT&& value) { m_activeDirectoryIdHasBeenSet =
true; m_activeDirectoryId = std::forward<ActiveDirectoryIdT>(value); }
49 template<
typename ActiveDirectoryIdT = Aws::String>
67 template<
typename MessageT = Aws::String>
68 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
69 template<
typename MessageT = Aws::String>
75 bool m_activeDirectoryIdHasBeenSet =
false;
78 bool m_typeHasBeenSet =
false;
81 bool m_messageHasBeenSet =
false;
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
void SetActiveDirectoryId(ActiveDirectoryIdT &&value)
bool MessageHasBeenSet() const
bool ActiveDirectoryIdHasBeenSet() const
const Aws::String & GetActiveDirectoryId() const
ActiveDirectoryError & WithMessage(MessageT &&value)
AWS_FSX_API ActiveDirectoryError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(ActiveDirectoryErrorType value)
AWS_FSX_API ActiveDirectoryError()=default
ActiveDirectoryErrorType GetType() const
AWS_FSX_API ActiveDirectoryError(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
const Aws::String & GetMessage() const
ActiveDirectoryError & WithType(ActiveDirectoryErrorType value)
void SetMessage(MessageT &&value)
ActiveDirectoryError & WithActiveDirectoryId(ActiveDirectoryIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue