AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetNotificationChannelResult.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace FMS
24{
25namespace Model
26{
28 {
29 public:
33
34
36
39 inline const Aws::String& GetSnsTopicArn() const{ return m_snsTopicArn; }
40 inline void SetSnsTopicArn(const Aws::String& value) { m_snsTopicArn = value; }
41 inline void SetSnsTopicArn(Aws::String&& value) { m_snsTopicArn = std::move(value); }
42 inline void SetSnsTopicArn(const char* value) { m_snsTopicArn.assign(value); }
43 inline GetNotificationChannelResult& WithSnsTopicArn(const Aws::String& value) { SetSnsTopicArn(value); return *this;}
44 inline GetNotificationChannelResult& WithSnsTopicArn(Aws::String&& value) { SetSnsTopicArn(std::move(value)); return *this;}
45 inline GetNotificationChannelResult& WithSnsTopicArn(const char* value) { SetSnsTopicArn(value); return *this;}
47
49
52 inline const Aws::String& GetSnsRoleName() const{ return m_snsRoleName; }
53 inline void SetSnsRoleName(const Aws::String& value) { m_snsRoleName = value; }
54 inline void SetSnsRoleName(Aws::String&& value) { m_snsRoleName = std::move(value); }
55 inline void SetSnsRoleName(const char* value) { m_snsRoleName.assign(value); }
56 inline GetNotificationChannelResult& WithSnsRoleName(const Aws::String& value) { SetSnsRoleName(value); return *this;}
57 inline GetNotificationChannelResult& WithSnsRoleName(Aws::String&& value) { SetSnsRoleName(std::move(value)); return *this;}
58 inline GetNotificationChannelResult& WithSnsRoleName(const char* value) { SetSnsRoleName(value); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline GetNotificationChannelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline GetNotificationChannelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline GetNotificationChannelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 Aws::String m_snsTopicArn;
74
75 Aws::String m_snsRoleName;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace FMS
82} // namespace Aws
AWS_FMS_API GetNotificationChannelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_FMS_API GetNotificationChannelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetNotificationChannelResult & WithSnsTopicArn(const char *value)
GetNotificationChannelResult & WithRequestId(const Aws::String &value)
GetNotificationChannelResult & WithSnsTopicArn(const Aws::String &value)
GetNotificationChannelResult & WithSnsRoleName(const Aws::String &value)
GetNotificationChannelResult & WithSnsTopicArn(Aws::String &&value)
GetNotificationChannelResult & WithRequestId(Aws::String &&value)
GetNotificationChannelResult & WithRequestId(const char *value)
GetNotificationChannelResult & WithSnsRoleName(Aws::String &&value)
GetNotificationChannelResult & WithSnsRoleName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue