AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateNotificationConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/notifications/NotificationsRequest.h>
9#include <aws/notifications/Notifications_EXPORTS.h>
10#include <aws/notifications/model/AggregationDuration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Notifications {
16namespace Model {
17
21 public:
22 AWS_NOTIFICATIONS_API UpdateNotificationConfigurationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateNotificationConfiguration"; }
29
30 AWS_NOTIFICATIONS_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetArn() const { return m_arn; }
38 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
39 template <typename ArnT = Aws::String>
40 void SetArn(ArnT&& value) {
41 m_arnHasBeenSet = true;
42 m_arn = std::forward<ArnT>(value);
43 }
44 template <typename ArnT = Aws::String>
46 SetArn(std::forward<ArnT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 template <typename NameT = Aws::String>
58 void SetName(NameT&& value) {
59 m_nameHasBeenSet = true;
60 m_name = std::forward<NameT>(value);
61 }
62 template <typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 template <typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) {
77 m_descriptionHasBeenSet = true;
78 m_description = std::forward<DescriptionT>(value);
79 }
80 template <typename DescriptionT = Aws::String>
82 SetDescription(std::forward<DescriptionT>(value));
83 return *this;
84 }
86
88
97 inline AggregationDuration GetAggregationDuration() const { return m_aggregationDuration; }
98 inline bool AggregationDurationHasBeenSet() const { return m_aggregationDurationHasBeenSet; }
100 m_aggregationDurationHasBeenSet = true;
101 m_aggregationDuration = value;
102 }
105 return *this;
106 }
108 private:
109 Aws::String m_arn;
110
111 Aws::String m_name;
112
113 Aws::String m_description;
114
116 bool m_arnHasBeenSet = false;
117 bool m_nameHasBeenSet = false;
118 bool m_descriptionHasBeenSet = false;
119 bool m_aggregationDurationHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace Notifications
124} // namespace Aws
UpdateNotificationConfigurationRequest & WithAggregationDuration(AggregationDuration value)
AWS_NOTIFICATIONS_API Aws::String SerializePayload() const override
UpdateNotificationConfigurationRequest & WithDescription(DescriptionT &&value)
AWS_NOTIFICATIONS_API UpdateNotificationConfigurationRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String