AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UnprocessedStatistics.h
1
6#pragma once
7#include <aws/xray/XRay_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 XRay
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_XRAY_API UnprocessedStatistics();
40
41
43
46 inline const Aws::String& GetRuleName() const{ return m_ruleName; }
47 inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; }
48 inline void SetRuleName(const Aws::String& value) { m_ruleNameHasBeenSet = true; m_ruleName = value; }
49 inline void SetRuleName(Aws::String&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::move(value); }
50 inline void SetRuleName(const char* value) { m_ruleNameHasBeenSet = true; m_ruleName.assign(value); }
51 inline UnprocessedStatistics& WithRuleName(const Aws::String& value) { SetRuleName(value); return *this;}
52 inline UnprocessedStatistics& WithRuleName(Aws::String&& value) { SetRuleName(std::move(value)); return *this;}
53 inline UnprocessedStatistics& WithRuleName(const char* value) { SetRuleName(value); return *this;}
55
57
60 inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
61 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
62 inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
63 inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
64 inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
65 inline UnprocessedStatistics& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
66 inline UnprocessedStatistics& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
67 inline UnprocessedStatistics& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
69
71
74 inline const Aws::String& GetMessage() const{ return m_message; }
75 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
76 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
77 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
78 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
79 inline UnprocessedStatistics& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
80 inline UnprocessedStatistics& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
81 inline UnprocessedStatistics& WithMessage(const char* value) { SetMessage(value); return *this;}
83 private:
84
85 Aws::String m_ruleName;
86 bool m_ruleNameHasBeenSet = false;
87
88 Aws::String m_errorCode;
89 bool m_errorCodeHasBeenSet = false;
90
91 Aws::String m_message;
92 bool m_messageHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace XRay
97} // namespace Aws
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
UnprocessedStatistics & WithMessage(Aws::String &&value)
UnprocessedStatistics & WithErrorCode(const Aws::String &value)
UnprocessedStatistics & WithRuleName(Aws::String &&value)
void SetMessage(const Aws::String &value)
UnprocessedStatistics & WithMessage(const char *value)
AWS_XRAY_API UnprocessedStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API UnprocessedStatistics(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(const Aws::String &value)
UnprocessedStatistics & WithRuleName(const char *value)
UnprocessedStatistics & WithRuleName(const Aws::String &value)
UnprocessedStatistics & WithErrorCode(Aws::String &&value)
UnprocessedStatistics & WithMessage(const Aws::String &value)
UnprocessedStatistics & WithErrorCode(const char *value)
void SetRuleName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue