AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
AnnotationError.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
28 public:
29 AWS_GLUE_API AnnotationError() = default;
33
35
38 inline const Aws::String& GetProfileId() const { return m_profileId; }
39 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
40 template <typename ProfileIdT = Aws::String>
41 void SetProfileId(ProfileIdT&& value) {
42 m_profileIdHasBeenSet = true;
43 m_profileId = std::forward<ProfileIdT>(value);
44 }
45 template <typename ProfileIdT = Aws::String>
46 AnnotationError& WithProfileId(ProfileIdT&& value) {
47 SetProfileId(std::forward<ProfileIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetStatisticId() const { return m_statisticId; }
57 inline bool StatisticIdHasBeenSet() const { return m_statisticIdHasBeenSet; }
58 template <typename StatisticIdT = Aws::String>
59 void SetStatisticId(StatisticIdT&& value) {
60 m_statisticIdHasBeenSet = true;
61 m_statisticId = std::forward<StatisticIdT>(value);
62 }
63 template <typename StatisticIdT = Aws::String>
64 AnnotationError& WithStatisticId(StatisticIdT&& value) {
65 SetStatisticId(std::forward<StatisticIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
75 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
76 template <typename FailureReasonT = Aws::String>
77 void SetFailureReason(FailureReasonT&& value) {
78 m_failureReasonHasBeenSet = true;
79 m_failureReason = std::forward<FailureReasonT>(value);
80 }
81 template <typename FailureReasonT = Aws::String>
82 AnnotationError& WithFailureReason(FailureReasonT&& value) {
83 SetFailureReason(std::forward<FailureReasonT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_profileId;
89
90 Aws::String m_statisticId;
91
92 Aws::String m_failureReason;
93 bool m_profileIdHasBeenSet = false;
94 bool m_statisticIdHasBeenSet = false;
95 bool m_failureReasonHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Glue
100} // namespace Aws
const Aws::String & GetStatisticId() const
const Aws::String & GetFailureReason() const
AWS_GLUE_API AnnotationError(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetProfileId() const
AWS_GLUE_API AnnotationError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatisticId(StatisticIdT &&value)
void SetFailureReason(FailureReasonT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API AnnotationError()=default
AnnotationError & WithProfileId(ProfileIdT &&value)
void SetProfileId(ProfileIdT &&value)
AnnotationError & WithFailureReason(FailureReasonT &&value)
AnnotationError & WithStatisticId(StatisticIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue