AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
DeleteConfigurationProfileRequest.h
1
6#pragma once
7#include <aws/appconfig/AppConfigRequest.h>
8#include <aws/appconfig/AppConfig_EXPORTS.h>
9#include <aws/appconfig/model/DeletionProtectionCheck.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace AppConfig {
16namespace Model {
17
21 public:
22 AWS_APPCONFIG_API DeleteConfigurationProfileRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DeleteConfigurationProfile"; }
29
30 AWS_APPCONFIG_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
40 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
41 template <typename ApplicationIdT = Aws::String>
42 void SetApplicationId(ApplicationIdT&& value) {
43 m_applicationIdHasBeenSet = true;
44 m_applicationId = std::forward<ApplicationIdT>(value);
45 }
46 template <typename ApplicationIdT = Aws::String>
48 SetApplicationId(std::forward<ApplicationIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetConfigurationProfileId() const { return m_configurationProfileId; }
58 inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
59 template <typename ConfigurationProfileIdT = Aws::String>
60 void SetConfigurationProfileId(ConfigurationProfileIdT&& value) {
61 m_configurationProfileIdHasBeenSet = true;
62 m_configurationProfileId = std::forward<ConfigurationProfileIdT>(value);
63 }
64 template <typename ConfigurationProfileIdT = Aws::String>
66 SetConfigurationProfileId(std::forward<ConfigurationProfileIdT>(value));
67 return *this;
68 }
70
72
89 inline DeletionProtectionCheck GetDeletionProtectionCheck() const { return m_deletionProtectionCheck; }
90 inline bool DeletionProtectionCheckHasBeenSet() const { return m_deletionProtectionCheckHasBeenSet; }
92 m_deletionProtectionCheckHasBeenSet = true;
93 m_deletionProtectionCheck = value;
94 }
97 return *this;
98 }
100 private:
101 Aws::String m_applicationId;
102
103 Aws::String m_configurationProfileId;
104
106 bool m_applicationIdHasBeenSet = false;
107 bool m_configurationProfileIdHasBeenSet = false;
108 bool m_deletionProtectionCheckHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace AppConfig
113} // namespace Aws
AWS_APPCONFIG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_APPCONFIG_API Aws::String SerializePayload() const override
AWS_APPCONFIG_API DeleteConfigurationProfileRequest()=default
DeleteConfigurationProfileRequest & WithApplicationId(ApplicationIdT &&value)
DeleteConfigurationProfileRequest & WithConfigurationProfileId(ConfigurationProfileIdT &&value)
DeleteConfigurationProfileRequest & WithDeletionProtectionCheck(DeletionProtectionCheck value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String