AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; }
47 inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); }
48 inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); }
49 inline DeleteInventoryRequest& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;}
50 inline DeleteInventoryRequest& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
51 inline DeleteInventoryRequest& WithTypeName(const char* value) { SetTypeName(value); return *this;}
53
55
66 inline const InventorySchemaDeleteOption& GetSchemaDeleteOption() const{ return m_schemaDeleteOption; }
67 inline bool SchemaDeleteOptionHasBeenSet() const { return m_schemaDeleteOptionHasBeenSet; }
68 inline void SetSchemaDeleteOption(const InventorySchemaDeleteOption& value) { m_schemaDeleteOptionHasBeenSet = true; m_schemaDeleteOption = value; }
69 inline void SetSchemaDeleteOption(InventorySchemaDeleteOption&& value) { m_schemaDeleteOptionHasBeenSet = true; m_schemaDeleteOption = std::move(value); }
73
75
82 inline bool GetDryRun() const{ return m_dryRun; }
83 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
84 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
85 inline DeleteInventoryRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
87
89
92 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
93 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
94 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
95 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
96 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
97 inline DeleteInventoryRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
98 inline DeleteInventoryRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
99 inline DeleteInventoryRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
101 private:
102
103 Aws::String m_typeName;
104 bool m_typeNameHasBeenSet = false;
105
106 InventorySchemaDeleteOption m_schemaDeleteOption;
107 bool m_schemaDeleteOptionHasBeenSet = false;
108
109 bool m_dryRun;
110 bool m_dryRunHasBeenSet = false;
111
112 Aws::String m_clientToken;
113 bool m_clientTokenHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace SSM
118} // namespace Aws
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetClientToken(const Aws::String &value)
DeleteInventoryRequest & WithClientToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetSchemaDeleteOption(InventorySchemaDeleteOption &&value)
DeleteInventoryRequest & WithTypeName(const char *value)
DeleteInventoryRequest & WithSchemaDeleteOption(InventorySchemaDeleteOption &&value)
void SetTypeName(const Aws::String &value)
DeleteInventoryRequest & WithTypeName(const Aws::String &value)
DeleteInventoryRequest & WithClientToken(const char *value)
void SetSchemaDeleteOption(const InventorySchemaDeleteOption &value)
DeleteInventoryRequest & WithClientToken(const Aws::String &value)
const InventorySchemaDeleteOption & GetSchemaDeleteOption() const
DeleteInventoryRequest & WithDryRun(bool value)
DeleteInventoryRequest & WithSchemaDeleteOption(const InventorySchemaDeleteOption &value)
AWS_SSM_API Aws::String SerializePayload() const override
DeleteInventoryRequest & WithTypeName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String