AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NotificationChannel.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_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 Rekognition
22{
23namespace Model
24{
25
41 {
42 public:
43 AWS_REKOGNITION_API NotificationChannel();
44 AWS_REKOGNITION_API NotificationChannel(Aws::Utils::Json::JsonView jsonValue);
46 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
54 inline const Aws::String& GetSNSTopicArn() const{ return m_sNSTopicArn; }
55 inline bool SNSTopicArnHasBeenSet() const { return m_sNSTopicArnHasBeenSet; }
56 inline void SetSNSTopicArn(const Aws::String& value) { m_sNSTopicArnHasBeenSet = true; m_sNSTopicArn = value; }
57 inline void SetSNSTopicArn(Aws::String&& value) { m_sNSTopicArnHasBeenSet = true; m_sNSTopicArn = std::move(value); }
58 inline void SetSNSTopicArn(const char* value) { m_sNSTopicArnHasBeenSet = true; m_sNSTopicArn.assign(value); }
59 inline NotificationChannel& WithSNSTopicArn(const Aws::String& value) { SetSNSTopicArn(value); return *this;}
60 inline NotificationChannel& WithSNSTopicArn(Aws::String&& value) { SetSNSTopicArn(std::move(value)); return *this;}
61 inline NotificationChannel& WithSNSTopicArn(const char* value) { SetSNSTopicArn(value); return *this;}
63
65
69 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
70 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
71 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
72 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
73 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
74 inline NotificationChannel& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
75 inline NotificationChannel& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
76 inline NotificationChannel& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
78 private:
79
80 Aws::String m_sNSTopicArn;
81 bool m_sNSTopicArnHasBeenSet = false;
82
83 Aws::String m_roleArn;
84 bool m_roleArnHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Rekognition
89} // namespace Aws
void SetSNSTopicArn(const Aws::String &value)
NotificationChannel & WithSNSTopicArn(const Aws::String &value)
NotificationChannel & WithRoleArn(const Aws::String &value)
AWS_REKOGNITION_API NotificationChannel(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API NotificationChannel & operator=(Aws::Utils::Json::JsonView jsonValue)
NotificationChannel & WithSNSTopicArn(Aws::String &&value)
NotificationChannel & WithRoleArn(Aws::String &&value)
NotificationChannel & WithRoleArn(const char *value)
NotificationChannel & WithSNSTopicArn(const char *value)
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue