7#include <aws/codestar-notifications/CodeStarNotifications_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codestar-notifications/model/NotificationRuleSummary.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace CodeStarNotifications
43 template<
typename NextTokenT = Aws::String>
44 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
45 template<
typename NextTokenT = Aws::String>
55 template<
typename NotificationRulesT = Aws::Vector<NotificationRuleSummary>>
56 void SetNotificationRules(NotificationRulesT&& value) { m_notificationRulesHasBeenSet =
true; m_notificationRules = std::forward<NotificationRulesT>(value); }
57 template<
typename NotificationRulesT = Aws::Vector<NotificationRuleSummary>>
59 template<
typename NotificationRulesT = NotificationRuleSummary>
66 template<
typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
68 template<
typename RequestIdT = Aws::String>
74 bool m_nextTokenHasBeenSet =
false;
77 bool m_notificationRulesHasBeenSet =
false;
80 bool m_requestIdHasBeenSet =
false;
void SetNextToken(NextTokenT &&value)
const Aws::String & GetRequestId() const
ListNotificationRulesResult & WithNotificationRules(NotificationRulesT &&value)
ListNotificationRulesResult & WithNextToken(NextTokenT &&value)
void SetNotificationRules(NotificationRulesT &&value)
ListNotificationRulesResult & AddNotificationRules(NotificationRulesT &&value)
const Aws::Vector< NotificationRuleSummary > & GetNotificationRules() const
AWS_CODESTARNOTIFICATIONS_API ListNotificationRulesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODESTARNOTIFICATIONS_API ListNotificationRulesResult()=default
const Aws::String & GetNextToken() const
void SetRequestId(RequestIdT &&value)
ListNotificationRulesResult & WithRequestId(RequestIdT &&value)
AWS_CODESTARNOTIFICATIONS_API ListNotificationRulesResult(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