AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartBatchDeleteConfigurationTaskRequest.h
1
6#pragma once
7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8#include <aws/discovery/ApplicationDiscoveryServiceRequest.h>
9#include <aws/discovery/model/DeletionConfigurationItemType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ApplicationDiscoveryService
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_APPLICATIONDISCOVERYSERVICE_API StartBatchDeleteConfigurationTaskRequest() = 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 "StartBatchDeleteConfigurationTask"; }
33
34 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::String SerializePayload() const override;
35
36 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline DeletionConfigurationItemType GetConfigurationType() const { return m_configurationType; }
44 inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
45 inline void SetConfigurationType(DeletionConfigurationItemType value) { m_configurationTypeHasBeenSet = true; m_configurationType = value; }
48
50
53 inline const Aws::Vector<Aws::String>& GetConfigurationIds() const { return m_configurationIds; }
54 inline bool ConfigurationIdsHasBeenSet() const { return m_configurationIdsHasBeenSet; }
55 template<typename ConfigurationIdsT = Aws::Vector<Aws::String>>
56 void SetConfigurationIds(ConfigurationIdsT&& value) { m_configurationIdsHasBeenSet = true; m_configurationIds = std::forward<ConfigurationIdsT>(value); }
57 template<typename ConfigurationIdsT = Aws::Vector<Aws::String>>
58 StartBatchDeleteConfigurationTaskRequest& WithConfigurationIds(ConfigurationIdsT&& value) { SetConfigurationIds(std::forward<ConfigurationIdsT>(value)); return *this;}
59 template<typename ConfigurationIdsT = Aws::String>
60 StartBatchDeleteConfigurationTaskRequest& AddConfigurationIds(ConfigurationIdsT&& value) { m_configurationIdsHasBeenSet = true; m_configurationIds.emplace_back(std::forward<ConfigurationIdsT>(value)); return *this; }
62 private:
63
65 bool m_configurationTypeHasBeenSet = false;
66
67 Aws::Vector<Aws::String> m_configurationIds;
68 bool m_configurationIdsHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace ApplicationDiscoveryService
73} // namespace Aws
StartBatchDeleteConfigurationTaskRequest & WithConfigurationType(DeletionConfigurationItemType value)
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::String SerializePayload() const override
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartBatchDeleteConfigurationTaskRequest & WithConfigurationIds(ConfigurationIdsT &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API StartBatchDeleteConfigurationTaskRequest()=default
StartBatchDeleteConfigurationTaskRequest & AddConfigurationIds(ConfigurationIdsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector