AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
40
41
43
46 inline const Aws::String& GetRuleName() const { return m_ruleName; }
47 inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; }
48 template<typename RuleNameT = Aws::String>
49 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::forward<RuleNameT>(value); }
50 template<typename RuleNameT = Aws::String>
51 UnprocessedStatistics& WithRuleName(RuleNameT&& value) { SetRuleName(std::forward<RuleNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetErrorCode() const { return m_errorCode; }
59 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
60 template<typename ErrorCodeT = Aws::String>
61 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::forward<ErrorCodeT>(value); }
62 template<typename ErrorCodeT = Aws::String>
63 UnprocessedStatistics& WithErrorCode(ErrorCodeT&& value) { SetErrorCode(std::forward<ErrorCodeT>(value)); return *this;}
65
67
70 inline const Aws::String& GetMessage() const { return m_message; }
71 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
72 template<typename MessageT = Aws::String>
73 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
74 template<typename MessageT = Aws::String>
75 UnprocessedStatistics& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
77 private:
78
79 Aws::String m_ruleName;
80 bool m_ruleNameHasBeenSet = false;
81
82 Aws::String m_errorCode;
83 bool m_errorCodeHasBeenSet = false;
84
85 Aws::String m_message;
86 bool m_messageHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace XRay
91} // namespace Aws
UnprocessedStatistics & WithRuleName(RuleNameT &&value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_XRAY_API UnprocessedStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API UnprocessedStatistics(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API UnprocessedStatistics()=default
UnprocessedStatistics & WithMessage(MessageT &&value)
UnprocessedStatistics & WithErrorCode(ErrorCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue