AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
RejectedEntityInfo.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/model/EntityRejectionErrorType.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CloudWatchLogs {
20namespace Model {
21
30 public:
31 AWS_CLOUDWATCHLOGS_API RejectedEntityInfo() = default;
32 AWS_CLOUDWATCHLOGS_API RejectedEntityInfo(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CLOUDWATCHLOGS_API RejectedEntityInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline EntityRejectionErrorType GetErrorType() const { return m_errorType; }
42 inline bool ErrorTypeHasBeenSet() const { return m_errorTypeHasBeenSet; }
44 m_errorTypeHasBeenSet = true;
45 m_errorType = value;
46 }
48 SetErrorType(value);
49 return *this;
50 }
52 private:
54 bool m_errorTypeHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace CloudWatchLogs
59} // namespace Aws
void SetErrorType(EntityRejectionErrorType value)
RejectedEntityInfo & WithErrorType(EntityRejectionErrorType value)
AWS_CLOUDWATCHLOGS_API RejectedEntityInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API RejectedEntityInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API RejectedEntityInfo()=default
EntityRejectionErrorType GetErrorType() const
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue