AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
NotificationRuleSummary.h
1
6#pragma once
7#include <aws/codestar-notifications/CodeStarNotifications_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CodeStarNotifications {
20namespace Model {
21
29 public:
30 AWS_CODESTARNOTIFICATIONS_API NotificationRuleSummary() = default;
31 AWS_CODESTARNOTIFICATIONS_API NotificationRuleSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CODESTARNOTIFICATIONS_API NotificationRuleSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CODESTARNOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
41 template <typename IdT = Aws::String>
42 void SetId(IdT&& value) {
43 m_idHasBeenSet = true;
44 m_id = std::forward<IdT>(value);
45 }
46 template <typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetArn() const { return m_arn; }
58 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
59 template <typename ArnT = Aws::String>
60 void SetArn(ArnT&& value) {
61 m_arnHasBeenSet = true;
62 m_arn = std::forward<ArnT>(value);
63 }
64 template <typename ArnT = Aws::String>
66 SetArn(std::forward<ArnT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_id;
72
73 Aws::String m_arn;
74 bool m_idHasBeenSet = false;
75 bool m_arnHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace CodeStarNotifications
80} // namespace Aws
AWS_CODESTARNOTIFICATIONS_API NotificationRuleSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_CODESTARNOTIFICATIONS_API NotificationRuleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODESTARNOTIFICATIONS_API NotificationRuleSummary()=default
AWS_CODESTARNOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue