AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SnsChannelConfig.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_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 DevOpsGuru
22{
23namespace Model
24{
25
44 {
45 public:
46 AWS_DEVOPSGURU_API SnsChannelConfig();
47 AWS_DEVOPSGURU_API SnsChannelConfig(Aws::Utils::Json::JsonView jsonValue);
49 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
57 inline const Aws::String& GetTopicArn() const{ return m_topicArn; }
58 inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; }
59 inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; }
60 inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); }
61 inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); }
62 inline SnsChannelConfig& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;}
63 inline SnsChannelConfig& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;}
64 inline SnsChannelConfig& WithTopicArn(const char* value) { SetTopicArn(value); return *this;}
66 private:
67
68 Aws::String m_topicArn;
69 bool m_topicArnHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace DevOpsGuru
74} // namespace Aws
SnsChannelConfig & WithTopicArn(Aws::String &&value)
void SetTopicArn(const Aws::String &value)
AWS_DEVOPSGURU_API SnsChannelConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVOPSGURU_API SnsChannelConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
SnsChannelConfig & WithTopicArn(const char *value)
SnsChannelConfig & WithTopicArn(const Aws::String &value)
const Aws::String & GetTopicArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue