AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeInventoryDeletionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/ssm/SSM_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SSM {
15namespace Model {
16
20 public:
21 AWS_SSM_API DescribeInventoryDeletionsRequest() = 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 "DescribeInventoryDeletions"; }
28
29 AWS_SSM_API Aws::String SerializePayload() const override;
30
32
34
38 inline const Aws::String& GetDeletionId() const { return m_deletionId; }
39 inline bool DeletionIdHasBeenSet() const { return m_deletionIdHasBeenSet; }
40 template <typename DeletionIdT = Aws::String>
41 void SetDeletionId(DeletionIdT&& value) {
42 m_deletionIdHasBeenSet = true;
43 m_deletionId = std::forward<DeletionIdT>(value);
44 }
45 template <typename DeletionIdT = Aws::String>
47 SetDeletionId(std::forward<DeletionIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetNextToken() const { return m_nextToken; }
58 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
59 template <typename NextTokenT = Aws::String>
60 void SetNextToken(NextTokenT&& value) {
61 m_nextTokenHasBeenSet = true;
62 m_nextToken = std::forward<NextTokenT>(value);
63 }
64 template <typename NextTokenT = Aws::String>
66 SetNextToken(std::forward<NextTokenT>(value));
67 return *this;
68 }
70
72
77 inline int GetMaxResults() const { return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) {
80 m_maxResultsHasBeenSet = true;
81 m_maxResults = value;
82 }
84 SetMaxResults(value);
85 return *this;
86 }
88 private:
89 Aws::String m_deletionId;
90
91 Aws::String m_nextToken;
92
93 int m_maxResults{0};
94 bool m_deletionIdHasBeenSet = false;
95 bool m_nextTokenHasBeenSet = false;
96 bool m_maxResultsHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SSM
101} // namespace Aws
DescribeInventoryDeletionsRequest & WithDeletionId(DeletionIdT &&value)
DescribeInventoryDeletionsRequest & WithNextToken(NextTokenT &&value)
AWS_SSM_API Aws::String SerializePayload() const override
DescribeInventoryDeletionsRequest & WithMaxResults(int value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String