AWS SDK for C++

AWS SDK for C++ Version 1.11.551

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
DeleteInventoryRequest.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ssm/model/InventorySchemaDeleteOption.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace SSM
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SSM_API DeleteInventoryRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DeleteInventory"; }
33
34 AWS_SSM_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::String& GetTypeName() const { return m_typeName; }
45 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
46 template<typename TypeNameT = Aws::String>
47 void SetTypeName(TypeNameT&& value) { m_typeNameHasBeenSet = true; m_typeName = std::forward<TypeNameT>(value); }
48 template<typename TypeNameT = Aws::String>
49 DeleteInventoryRequest& WithTypeName(TypeNameT&& value) { SetTypeName(std::forward<TypeNameT>(value)); return *this;}
51
53
64 inline InventorySchemaDeleteOption GetSchemaDeleteOption() const { return m_schemaDeleteOption; }
65 inline bool SchemaDeleteOptionHasBeenSet() const { return m_schemaDeleteOptionHasBeenSet; }
66 inline void SetSchemaDeleteOption(InventorySchemaDeleteOption value) { m_schemaDeleteOptionHasBeenSet = true; m_schemaDeleteOption = value; }
69
71
78 inline bool GetDryRun() const { return m_dryRun; }
79 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
80 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
81 inline DeleteInventoryRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
83
85
88 inline const Aws::String& GetClientToken() const { return m_clientToken; }
89 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
90 template<typename ClientTokenT = Aws::String>
91 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
92 template<typename ClientTokenT = Aws::String>
93 DeleteInventoryRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
95 private:
96
97 Aws::String m_typeName;
98 bool m_typeNameHasBeenSet = false;
99
101 bool m_schemaDeleteOptionHasBeenSet = false;
102
103 bool m_dryRun{false};
104 bool m_dryRunHasBeenSet = false;
105
106 Aws::String m_clientToken;
107 bool m_clientTokenHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace SSM
112} // 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
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String