AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
ListNotificationsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace WellArchitected {
15namespace Model {
16
20 public:
21 AWS_WELLARCHITECTED_API ListNotificationsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "ListNotifications"; }
28
29 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
30
32
33 inline const Aws::String& GetWorkloadId() const { return m_workloadId; }
34 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
35 template <typename WorkloadIdT = Aws::String>
36 void SetWorkloadId(WorkloadIdT&& value) {
37 m_workloadIdHasBeenSet = true;
38 m_workloadId = std::forward<WorkloadIdT>(value);
39 }
40 template <typename WorkloadIdT = Aws::String>
42 SetWorkloadId(std::forward<WorkloadIdT>(value));
43 return *this;
44 }
46
48
49 inline const Aws::String& GetNextToken() const { return m_nextToken; }
50 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
51 template <typename NextTokenT = Aws::String>
52 void SetNextToken(NextTokenT&& value) {
53 m_nextTokenHasBeenSet = true;
54 m_nextToken = std::forward<NextTokenT>(value);
55 }
56 template <typename NextTokenT = Aws::String>
58 SetNextToken(std::forward<NextTokenT>(value));
59 return *this;
60 }
62
64
67 inline int GetMaxResults() const { return m_maxResults; }
68 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
69 inline void SetMaxResults(int value) {
70 m_maxResultsHasBeenSet = true;
71 m_maxResults = value;
72 }
74 SetMaxResults(value);
75 return *this;
76 }
78
80
85 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
86 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
87 template <typename ResourceArnT = Aws::String>
88 void SetResourceArn(ResourceArnT&& value) {
89 m_resourceArnHasBeenSet = true;
90 m_resourceArn = std::forward<ResourceArnT>(value);
91 }
92 template <typename ResourceArnT = Aws::String>
94 SetResourceArn(std::forward<ResourceArnT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_workloadId;
100 bool m_workloadIdHasBeenSet = false;
101
102 Aws::String m_nextToken;
103 bool m_nextTokenHasBeenSet = false;
104
105 int m_maxResults{0};
106 bool m_maxResultsHasBeenSet = false;
107
108 Aws::String m_resourceArn;
109 bool m_resourceArnHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace WellArchitected
114} // namespace Aws
AWS_WELLARCHITECTED_API ListNotificationsRequest()=default
virtual const char * GetServiceRequestName() const override
ListNotificationsRequest & WithWorkloadId(WorkloadIdT &&value)
ListNotificationsRequest & WithResourceArn(ResourceArnT &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
ListNotificationsRequest & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String