AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#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 CloudWatchLogs
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CLOUDWATCHLOGS_API RejectedEntityInfo();
35 AWS_CLOUDWATCHLOGS_API RejectedEntityInfo(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CLOUDWATCHLOGS_API RejectedEntityInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const EntityRejectionErrorType& GetErrorType() const{ return m_errorType; }
45 inline bool ErrorTypeHasBeenSet() const { return m_errorTypeHasBeenSet; }
46 inline void SetErrorType(const EntityRejectionErrorType& value) { m_errorTypeHasBeenSet = true; m_errorType = value; }
47 inline void SetErrorType(EntityRejectionErrorType&& value) { m_errorTypeHasBeenSet = true; m_errorType = std::move(value); }
48 inline RejectedEntityInfo& WithErrorType(const EntityRejectionErrorType& value) { SetErrorType(value); return *this;}
49 inline RejectedEntityInfo& WithErrorType(EntityRejectionErrorType&& value) { SetErrorType(std::move(value)); return *this;}
51 private:
52
53 EntityRejectionErrorType m_errorType;
54 bool m_errorTypeHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace CloudWatchLogs
59} // namespace Aws
RejectedEntityInfo & WithErrorType(EntityRejectionErrorType &&value)
const EntityRejectionErrorType & GetErrorType() const
void SetErrorType(EntityRejectionErrorType &&value)
AWS_CLOUDWATCHLOGS_API RejectedEntityInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API RejectedEntityInfo(Aws::Utils::Json::JsonView jsonValue)
void SetErrorType(const EntityRejectionErrorType &value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
RejectedEntityInfo & WithErrorType(const EntityRejectionErrorType &value)
Aws::Utils::Json::JsonValue JsonValue