AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DeleteInventoryRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/SSMRequest.h>
10#include <aws/ssm/SSM_EXPORTS.h>
11#include <aws/ssm/model/InventorySchemaDeleteOption.h>
12
13#include <utility>
14
15namespace Aws {
16namespace SSM {
17namespace Model {
18
22 public:
23 AWS_SSM_API DeleteInventoryRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DeleteInventory"; }
30
31 AWS_SSM_API Aws::String SerializePayload() const override;
32
34
36
40 inline const Aws::String& GetTypeName() const { return m_typeName; }
41 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
42 template <typename TypeNameT = Aws::String>
43 void SetTypeName(TypeNameT&& value) {
44 m_typeNameHasBeenSet = true;
45 m_typeName = std::forward<TypeNameT>(value);
46 }
47 template <typename TypeNameT = Aws::String>
49 SetTypeName(std::forward<TypeNameT>(value));
50 return *this;
51 }
53
55
66 inline InventorySchemaDeleteOption GetSchemaDeleteOption() const { return m_schemaDeleteOption; }
67 inline bool SchemaDeleteOptionHasBeenSet() const { return m_schemaDeleteOptionHasBeenSet; }
69 m_schemaDeleteOptionHasBeenSet = true;
70 m_schemaDeleteOption = value;
71 }
74 return *this;
75 }
77
79
86 inline bool GetDryRun() const { return m_dryRun; }
87 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
88 inline void SetDryRun(bool value) {
89 m_dryRunHasBeenSet = true;
90 m_dryRun = value;
91 }
92 inline DeleteInventoryRequest& WithDryRun(bool value) {
93 SetDryRun(value);
94 return *this;
95 }
97
99
102 inline const Aws::String& GetClientToken() const { return m_clientToken; }
103 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
104 template <typename ClientTokenT = Aws::String>
105 void SetClientToken(ClientTokenT&& value) {
106 m_clientTokenHasBeenSet = true;
107 m_clientToken = std::forward<ClientTokenT>(value);
108 }
109 template <typename ClientTokenT = Aws::String>
111 SetClientToken(std::forward<ClientTokenT>(value));
112 return *this;
113 }
115 private:
116 Aws::String m_typeName;
117
119
120 bool m_dryRun{false};
121
123 bool m_typeNameHasBeenSet = false;
124 bool m_schemaDeleteOptionHasBeenSet = false;
125 bool m_dryRunHasBeenSet = false;
126 bool m_clientTokenHasBeenSet = true;
127};
128
129} // namespace Model
130} // namespace SSM
131} // namespace Aws
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SSM_API DeleteInventoryRequest()=default
DeleteInventoryRequest & WithTypeName(TypeNameT &&value)
InventorySchemaDeleteOption GetSchemaDeleteOption() const
virtual const char * GetServiceRequestName() const override
DeleteInventoryRequest & WithClientToken(ClientTokenT &&value)
void SetSchemaDeleteOption(InventorySchemaDeleteOption value)
DeleteInventoryRequest & WithDryRun(bool value)
DeleteInventoryRequest & WithSchemaDeleteOption(InventorySchemaDeleteOption value)
AWS_SSM_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String