AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
NotificationChannel.h
1
6#pragma once
7#include <aws/textract/Textract_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 Textract
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_TEXTRACT_API NotificationChannel() = default;
39 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetSNSTopicArn() const { return m_sNSTopicArn; }
47 inline bool SNSTopicArnHasBeenSet() const { return m_sNSTopicArnHasBeenSet; }
48 template<typename SNSTopicArnT = Aws::String>
49 void SetSNSTopicArn(SNSTopicArnT&& value) { m_sNSTopicArnHasBeenSet = true; m_sNSTopicArn = std::forward<SNSTopicArnT>(value); }
50 template<typename SNSTopicArnT = Aws::String>
51 NotificationChannel& WithSNSTopicArn(SNSTopicArnT&& value) { SetSNSTopicArn(std::forward<SNSTopicArnT>(value)); return *this;}
53
55
59 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
60 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
61 template<typename RoleArnT = Aws::String>
62 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
63 template<typename RoleArnT = Aws::String>
64 NotificationChannel& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
66 private:
67
68 Aws::String m_sNSTopicArn;
69 bool m_sNSTopicArnHasBeenSet = false;
70
71 Aws::String m_roleArn;
72 bool m_roleArnHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Textract
77} // namespace Aws
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
NotificationChannel & WithSNSTopicArn(SNSTopicArnT &&value)
AWS_TEXTRACT_API NotificationChannel & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API NotificationChannel()=default
NotificationChannel & WithRoleArn(RoleArnT &&value)
AWS_TEXTRACT_API NotificationChannel(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue