1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/ssm/SSM_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 #include <aws/ssm/model/InventoryDeletionSummary.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 template<typename RESULT_TYPE> 15 class AmazonWebServiceResult; 16 17 namespace Utils 18 { 19 namespace Json 20 { 21 class JsonValue; 22 } // namespace Json 23 } // namespace Utils 24 namespace SSM 25 { 26 namespace Model 27 { 28 class AWS_SSM_API DeleteInventoryResult 29 { 30 public: 31 DeleteInventoryResult(); 32 DeleteInventoryResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 DeleteInventoryResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 34 35 36 /** 37 * <p>Every <code>DeleteInventory</code> operation is assigned a unique ID. This 38 * option returns a unique ID. You can use this ID to query the status of a delete 39 * operation. This option is useful for ensuring that a delete operation has 40 * completed before you begin other operations. </p> 41 */ GetDeletionId()42 inline const Aws::String& GetDeletionId() const{ return m_deletionId; } 43 44 /** 45 * <p>Every <code>DeleteInventory</code> operation is assigned a unique ID. This 46 * option returns a unique ID. You can use this ID to query the status of a delete 47 * operation. This option is useful for ensuring that a delete operation has 48 * completed before you begin other operations. </p> 49 */ SetDeletionId(const Aws::String & value)50 inline void SetDeletionId(const Aws::String& value) { m_deletionId = value; } 51 52 /** 53 * <p>Every <code>DeleteInventory</code> operation is assigned a unique ID. This 54 * option returns a unique ID. You can use this ID to query the status of a delete 55 * operation. This option is useful for ensuring that a delete operation has 56 * completed before you begin other operations. </p> 57 */ SetDeletionId(Aws::String && value)58 inline void SetDeletionId(Aws::String&& value) { m_deletionId = std::move(value); } 59 60 /** 61 * <p>Every <code>DeleteInventory</code> operation is assigned a unique ID. This 62 * option returns a unique ID. You can use this ID to query the status of a delete 63 * operation. This option is useful for ensuring that a delete operation has 64 * completed before you begin other operations. </p> 65 */ SetDeletionId(const char * value)66 inline void SetDeletionId(const char* value) { m_deletionId.assign(value); } 67 68 /** 69 * <p>Every <code>DeleteInventory</code> operation is assigned a unique ID. This 70 * option returns a unique ID. You can use this ID to query the status of a delete 71 * operation. This option is useful for ensuring that a delete operation has 72 * completed before you begin other operations. </p> 73 */ WithDeletionId(const Aws::String & value)74 inline DeleteInventoryResult& WithDeletionId(const Aws::String& value) { SetDeletionId(value); return *this;} 75 76 /** 77 * <p>Every <code>DeleteInventory</code> operation is assigned a unique ID. This 78 * option returns a unique ID. You can use this ID to query the status of a delete 79 * operation. This option is useful for ensuring that a delete operation has 80 * completed before you begin other operations. </p> 81 */ WithDeletionId(Aws::String && value)82 inline DeleteInventoryResult& WithDeletionId(Aws::String&& value) { SetDeletionId(std::move(value)); return *this;} 83 84 /** 85 * <p>Every <code>DeleteInventory</code> operation is assigned a unique ID. This 86 * option returns a unique ID. You can use this ID to query the status of a delete 87 * operation. This option is useful for ensuring that a delete operation has 88 * completed before you begin other operations. </p> 89 */ WithDeletionId(const char * value)90 inline DeleteInventoryResult& WithDeletionId(const char* value) { SetDeletionId(value); return *this;} 91 92 93 /** 94 * <p>The name of the inventory data type specified in the request.</p> 95 */ GetTypeName()96 inline const Aws::String& GetTypeName() const{ return m_typeName; } 97 98 /** 99 * <p>The name of the inventory data type specified in the request.</p> 100 */ SetTypeName(const Aws::String & value)101 inline void SetTypeName(const Aws::String& value) { m_typeName = value; } 102 103 /** 104 * <p>The name of the inventory data type specified in the request.</p> 105 */ SetTypeName(Aws::String && value)106 inline void SetTypeName(Aws::String&& value) { m_typeName = std::move(value); } 107 108 /** 109 * <p>The name of the inventory data type specified in the request.</p> 110 */ SetTypeName(const char * value)111 inline void SetTypeName(const char* value) { m_typeName.assign(value); } 112 113 /** 114 * <p>The name of the inventory data type specified in the request.</p> 115 */ WithTypeName(const Aws::String & value)116 inline DeleteInventoryResult& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;} 117 118 /** 119 * <p>The name of the inventory data type specified in the request.</p> 120 */ WithTypeName(Aws::String && value)121 inline DeleteInventoryResult& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;} 122 123 /** 124 * <p>The name of the inventory data type specified in the request.</p> 125 */ WithTypeName(const char * value)126 inline DeleteInventoryResult& WithTypeName(const char* value) { SetTypeName(value); return *this;} 127 128 129 /** 130 * <p>A summary of the delete operation. For more information about this summary, 131 * see <a 132 * href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-inventory-custom.html#sysman-inventory-delete-summary">Deleting 133 * custom inventory</a> in the <i>Amazon Web Services Systems Manager User 134 * Guide</i>.</p> 135 */ GetDeletionSummary()136 inline const InventoryDeletionSummary& GetDeletionSummary() const{ return m_deletionSummary; } 137 138 /** 139 * <p>A summary of the delete operation. For more information about this summary, 140 * see <a 141 * href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-inventory-custom.html#sysman-inventory-delete-summary">Deleting 142 * custom inventory</a> in the <i>Amazon Web Services Systems Manager User 143 * Guide</i>.</p> 144 */ SetDeletionSummary(const InventoryDeletionSummary & value)145 inline void SetDeletionSummary(const InventoryDeletionSummary& value) { m_deletionSummary = value; } 146 147 /** 148 * <p>A summary of the delete operation. For more information about this summary, 149 * see <a 150 * href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-inventory-custom.html#sysman-inventory-delete-summary">Deleting 151 * custom inventory</a> in the <i>Amazon Web Services Systems Manager User 152 * Guide</i>.</p> 153 */ SetDeletionSummary(InventoryDeletionSummary && value)154 inline void SetDeletionSummary(InventoryDeletionSummary&& value) { m_deletionSummary = std::move(value); } 155 156 /** 157 * <p>A summary of the delete operation. For more information about this summary, 158 * see <a 159 * href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-inventory-custom.html#sysman-inventory-delete-summary">Deleting 160 * custom inventory</a> in the <i>Amazon Web Services Systems Manager User 161 * Guide</i>.</p> 162 */ WithDeletionSummary(const InventoryDeletionSummary & value)163 inline DeleteInventoryResult& WithDeletionSummary(const InventoryDeletionSummary& value) { SetDeletionSummary(value); return *this;} 164 165 /** 166 * <p>A summary of the delete operation. For more information about this summary, 167 * see <a 168 * href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-inventory-custom.html#sysman-inventory-delete-summary">Deleting 169 * custom inventory</a> in the <i>Amazon Web Services Systems Manager User 170 * Guide</i>.</p> 171 */ WithDeletionSummary(InventoryDeletionSummary && value)172 inline DeleteInventoryResult& WithDeletionSummary(InventoryDeletionSummary&& value) { SetDeletionSummary(std::move(value)); return *this;} 173 174 private: 175 176 Aws::String m_deletionId; 177 178 Aws::String m_typeName; 179 180 InventoryDeletionSummary m_deletionSummary; 181 }; 182 183 } // namespace Model 184 } // namespace SSM 185 } // namespace Aws 186