AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
ManagedCrawlerDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/CrawlerProvisioningStatus.h>
10#include <aws/glue/model/ErrorDetail.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue {
22namespace Model {
23
31 public:
32 AWS_GLUE_API ManagedCrawlerDetails() = default;
36
38
41 inline const Aws::String& GetCrawlerArn() const { return m_crawlerArn; }
42 inline bool CrawlerArnHasBeenSet() const { return m_crawlerArnHasBeenSet; }
43 template <typename CrawlerArnT = Aws::String>
44 void SetCrawlerArn(CrawlerArnT&& value) {
45 m_crawlerArnHasBeenSet = true;
46 m_crawlerArn = std::forward<CrawlerArnT>(value);
47 }
48 template <typename CrawlerArnT = Aws::String>
49 ManagedCrawlerDetails& WithCrawlerArn(CrawlerArnT&& value) {
50 SetCrawlerArn(std::forward<CrawlerArnT>(value));
51 return *this;
52 }
54
56
60 inline CrawlerProvisioningStatus GetStatus() const { return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 m_statusHasBeenSet = true;
64 m_status = value;
65 }
67 SetStatus(value);
68 return *this;
69 }
71
73
76 inline const ErrorDetail& GetError() const { return m_error; }
77 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
78 template <typename ErrorT = ErrorDetail>
79 void SetError(ErrorT&& value) {
80 m_errorHasBeenSet = true;
81 m_error = std::forward<ErrorT>(value);
82 }
83 template <typename ErrorT = ErrorDetail>
85 SetError(std::forward<ErrorT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_crawlerArn;
91
93
94 ErrorDetail m_error;
95 bool m_crawlerArnHasBeenSet = false;
96 bool m_statusHasBeenSet = false;
97 bool m_errorHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Glue
102} // namespace Aws
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(CrawlerProvisioningStatus value)
AWS_GLUE_API ManagedCrawlerDetails()=default
AWS_GLUE_API ManagedCrawlerDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ManagedCrawlerDetails & WithStatus(CrawlerProvisioningStatus value)
ManagedCrawlerDetails & WithCrawlerArn(CrawlerArnT &&value)
AWS_GLUE_API ManagedCrawlerDetails(Aws::Utils::Json::JsonView jsonValue)
ManagedCrawlerDetails & WithError(ErrorT &&value)
CrawlerProvisioningStatus GetStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue