AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38
39
41
44 inline const Aws::String& GetProfileId() const{ return m_profileId; }
45 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
46 inline void SetProfileId(const Aws::String& value) { m_profileIdHasBeenSet = true; m_profileId = value; }
47 inline void SetProfileId(Aws::String&& value) { m_profileIdHasBeenSet = true; m_profileId = std::move(value); }
48 inline void SetProfileId(const char* value) { m_profileIdHasBeenSet = true; m_profileId.assign(value); }
49 inline AnnotationError& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;}
50 inline AnnotationError& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;}
51 inline AnnotationError& WithProfileId(const char* value) { SetProfileId(value); return *this;}
53
55
58 inline const Aws::String& GetStatisticId() const{ return m_statisticId; }
59 inline bool StatisticIdHasBeenSet() const { return m_statisticIdHasBeenSet; }
60 inline void SetStatisticId(const Aws::String& value) { m_statisticIdHasBeenSet = true; m_statisticId = value; }
61 inline void SetStatisticId(Aws::String&& value) { m_statisticIdHasBeenSet = true; m_statisticId = std::move(value); }
62 inline void SetStatisticId(const char* value) { m_statisticIdHasBeenSet = true; m_statisticId.assign(value); }
63 inline AnnotationError& WithStatisticId(const Aws::String& value) { SetStatisticId(value); return *this;}
64 inline AnnotationError& WithStatisticId(Aws::String&& value) { SetStatisticId(std::move(value)); return *this;}
65 inline AnnotationError& WithStatisticId(const char* value) { SetStatisticId(value); return *this;}
67
69
72 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
73 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
74 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
75 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
76 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
77 inline AnnotationError& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
78 inline AnnotationError& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
79 inline AnnotationError& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
81 private:
82
83 Aws::String m_profileId;
84 bool m_profileIdHasBeenSet = false;
85
86 Aws::String m_statisticId;
87 bool m_statisticIdHasBeenSet = false;
88
89 Aws::String m_failureReason;
90 bool m_failureReasonHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Glue
95} // namespace Aws
const Aws::String & GetStatisticId() const
const Aws::String & GetFailureReason() const
void SetStatisticId(const char *value)
void SetStatisticId(const Aws::String &value)
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 SetFailureReason(Aws::String &&value)
AnnotationError & WithStatisticId(const Aws::String &value)
AnnotationError & WithStatisticId(const char *value)
AnnotationError & WithFailureReason(Aws::String &&value)
void SetFailureReason(const Aws::String &value)
void SetFailureReason(const char *value)
AnnotationError & WithFailureReason(const Aws::String &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AnnotationError & WithProfileId(const char *value)
void SetProfileId(Aws::String &&value)
AnnotationError & WithProfileId(const Aws::String &value)
void SetStatisticId(Aws::String &&value)
AnnotationError & WithProfileId(Aws::String &&value)
void SetProfileId(const char *value)
AnnotationError & WithFailureReason(const char *value)
void SetProfileId(const Aws::String &value)
AnnotationError & WithStatisticId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue