AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeSubscribersForNotificationResult.h
1
6#pragma once
7#include <aws/budgets/Budgets_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/budgets/model/Subscriber.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Budgets
26{
27namespace Model
28{
36 {
37 public:
38 AWS_BUDGETS_API DescribeSubscribersForNotificationResult() = default;
41
42
44
47 inline const Aws::Vector<Subscriber>& GetSubscribers() const { return m_subscribers; }
48 template<typename SubscribersT = Aws::Vector<Subscriber>>
49 void SetSubscribers(SubscribersT&& value) { m_subscribersHasBeenSet = true; m_subscribers = std::forward<SubscribersT>(value); }
50 template<typename SubscribersT = Aws::Vector<Subscriber>>
51 DescribeSubscribersForNotificationResult& WithSubscribers(SubscribersT&& value) { SetSubscribers(std::forward<SubscribersT>(value)); return *this;}
52 template<typename SubscribersT = Subscriber>
53 DescribeSubscribersForNotificationResult& AddSubscribers(SubscribersT&& value) { m_subscribersHasBeenSet = true; m_subscribers.emplace_back(std::forward<SubscribersT>(value)); return *this; }
55
57
61 inline const Aws::String& GetNextToken() const { return m_nextToken; }
62 template<typename NextTokenT = Aws::String>
63 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
64 template<typename NextTokenT = Aws::String>
65 DescribeSubscribersForNotificationResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template<typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
73 template<typename RequestIdT = Aws::String>
74 DescribeSubscribersForNotificationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
76 private:
77
78 Aws::Vector<Subscriber> m_subscribers;
79 bool m_subscribersHasBeenSet = false;
80
81 Aws::String m_nextToken;
82 bool m_nextTokenHasBeenSet = false;
83
84 Aws::String m_requestId;
85 bool m_requestIdHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Budgets
90} // namespace Aws
DescribeSubscribersForNotificationResult & WithRequestId(RequestIdT &&value)
DescribeSubscribersForNotificationResult & WithSubscribers(SubscribersT &&value)
DescribeSubscribersForNotificationResult & AddSubscribers(SubscribersT &&value)
DescribeSubscribersForNotificationResult & WithNextToken(NextTokenT &&value)
AWS_BUDGETS_API DescribeSubscribersForNotificationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BUDGETS_API DescribeSubscribersForNotificationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue