AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AnnotationError.h
1
6#pragma once
7#include <aws/glue/Glue_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 Glue
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_GLUE_API AnnotationError() = default;
38
39
41
44 inline const Aws::String& GetProfileId() const { return m_profileId; }
45 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
46 template<typename ProfileIdT = Aws::String>
47 void SetProfileId(ProfileIdT&& value) { m_profileIdHasBeenSet = true; m_profileId = std::forward<ProfileIdT>(value); }
48 template<typename ProfileIdT = Aws::String>
49 AnnotationError& WithProfileId(ProfileIdT&& value) { SetProfileId(std::forward<ProfileIdT>(value)); return *this;}
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) { m_statisticIdHasBeenSet = true; m_statisticId = std::forward<StatisticIdT>(value); }
60 template<typename StatisticIdT = Aws::String>
61 AnnotationError& WithStatisticId(StatisticIdT&& value) { SetStatisticId(std::forward<StatisticIdT>(value)); return *this;}
63
65
68 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
69 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
70 template<typename FailureReasonT = Aws::String>
71 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
72 template<typename FailureReasonT = Aws::String>
73 AnnotationError& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
75 private:
76
77 Aws::String m_profileId;
78 bool m_profileIdHasBeenSet = false;
79
80 Aws::String m_statisticId;
81 bool m_statisticIdHasBeenSet = false;
82
83 Aws::String m_failureReason;
84 bool m_failureReasonHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Glue
89} // 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