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/DetailType.h>
11#include <aws/codestar-notifications/model/NotificationRuleStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/codestar-notifications/model/EventTypeSummary.h>
15#include <aws/codestar-notifications/model/TargetSummary.h>
20template<
typename RESULT_TYPE>
21class AmazonWebServiceResult;
30namespace CodeStarNotifications
49 inline void SetArn(
const char* value) { m_arn.assign(value); }
62 inline void SetName(
const char* value) { m_name.assign(value); }
89 inline void SetResource(
const char* value) { m_resource.assign(value); }
131 inline void SetCreatedBy(
const char* value) { m_createdBy.assign(value); }
195 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
DescribeNotificationRuleResult & WithName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeNotificationRuleResult & WithTargets(const Aws::Vector< TargetSummary > &value)
DescribeNotificationRuleResult & WithRequestId(const Aws::String &value)
void SetCreatedBy(const char *value)
DescribeNotificationRuleResult & WithEventTypes(Aws::Vector< EventTypeSummary > &&value)
DescribeNotificationRuleResult & WithCreatedBy(const Aws::String &value)
void SetDetailType(DetailType &&value)
DescribeNotificationRuleResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeNotificationRuleResult & WithCreatedBy(Aws::String &&value)
const Aws::String & GetName() const
DescribeNotificationRuleResult & AddEventTypes(EventTypeSummary &&value)
AWS_CODESTARNOTIFICATIONS_API DescribeNotificationRuleResult()
void SetEventTypes(const Aws::Vector< EventTypeSummary > &value)
DescribeNotificationRuleResult & AddTags(const Aws::String &key, const Aws::String &value)
const DetailType & GetDetailType() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetArn(const Aws::String &value)
void SetResource(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
void SetTargets(const Aws::Vector< TargetSummary > &value)
void SetStatus(const NotificationRuleStatus &value)
AWS_CODESTARNOTIFICATIONS_API DescribeNotificationRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeNotificationRuleResult & WithDetailType(const DetailType &value)
void SetResource(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
DescribeNotificationRuleResult & WithArn(Aws::String &&value)
void SetCreatedBy(const Aws::String &value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
DescribeNotificationRuleResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetStatus(NotificationRuleStatus &&value)
void SetResource(const Aws::String &value)
DescribeNotificationRuleResult & WithLastModifiedTimestamp(Aws::Utils::DateTime &&value)
const Aws::String & GetCreatedBy() const
const Aws::String & GetRequestId() const
void SetRequestId(Aws::String &&value)
DescribeNotificationRuleResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribeNotificationRuleResult & WithArn(const char *value)
DescribeNotificationRuleResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
DescribeNotificationRuleResult & WithTargets(Aws::Vector< TargetSummary > &&value)
DescribeNotificationRuleResult & AddTags(const char *key, Aws::String &&value)
DescribeNotificationRuleResult & WithName(Aws::String &&value)
void SetCreatedBy(Aws::String &&value)
DescribeNotificationRuleResult & WithRequestId(const char *value)
DescribeNotificationRuleResult & AddTags(Aws::String &&key, Aws::String &&value)
DescribeNotificationRuleResult & WithRequestId(Aws::String &&value)
void SetName(const Aws::String &value)
DescribeNotificationRuleResult & WithDetailType(DetailType &&value)
DescribeNotificationRuleResult & AddTargets(TargetSummary &&value)
const Aws::Vector< EventTypeSummary > & GetEventTypes() const
DescribeNotificationRuleResult & WithLastModifiedTimestamp(const Aws::Utils::DateTime &value)
AWS_CODESTARNOTIFICATIONS_API DescribeNotificationRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDetailType(const DetailType &value)
void SetEventTypes(Aws::Vector< EventTypeSummary > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetName(Aws::String &&value)
const Aws::Vector< TargetSummary > & GetTargets() const
void SetArn(const char *value)
DescribeNotificationRuleResult & WithName(const char *value)
DescribeNotificationRuleResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetArn(Aws::String &&value)
DescribeNotificationRuleResult & AddTargets(const TargetSummary &value)
DescribeNotificationRuleResult & WithCreatedBy(const char *value)
void SetTargets(Aws::Vector< TargetSummary > &&value)
const NotificationRuleStatus & GetStatus() const
void SetRequestId(const Aws::String &value)
DescribeNotificationRuleResult & WithResource(const Aws::String &value)
void SetRequestId(const char *value)
DescribeNotificationRuleResult & AddEventTypes(const EventTypeSummary &value)
void SetLastModifiedTimestamp(const Aws::Utils::DateTime &value)
DescribeNotificationRuleResult & AddTags(const char *key, const char *value)
const Aws::String & GetResource() const
DescribeNotificationRuleResult & WithEventTypes(const Aws::Vector< EventTypeSummary > &value)
DescribeNotificationRuleResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribeNotificationRuleResult & WithStatus(const NotificationRuleStatus &value)
DescribeNotificationRuleResult & WithArn(const Aws::String &value)
void SetName(const char *value)
DescribeNotificationRuleResult & WithStatus(NotificationRuleStatus &&value)
void SetLastModifiedTimestamp(Aws::Utils::DateTime &&value)
DescribeNotificationRuleResult & WithResource(const char *value)
DescribeNotificationRuleResult & AddTags(Aws::String &&key, const char *value)
const Aws::String & GetArn() const
DescribeNotificationRuleResult & WithResource(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue