AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeleteEnvironmentRequest.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 DeleteEnvironmentRequest() = 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 "DeleteEnvironment"; }
29
30 AWS_APPCONFIG_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
39 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
40 template <typename EnvironmentIdT = Aws::String>
41 void SetEnvironmentId(EnvironmentIdT&& value) {
42 m_environmentIdHasBeenSet = true;
43 m_environmentId = std::forward<EnvironmentIdT>(value);
44 }
45 template <typename EnvironmentIdT = Aws::String>
47 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
57 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
58 template <typename ApplicationIdT = Aws::String>
59 void SetApplicationId(ApplicationIdT&& value) {
60 m_applicationIdHasBeenSet = true;
61 m_applicationId = std::forward<ApplicationIdT>(value);
62 }
63 template <typename ApplicationIdT = Aws::String>
65 SetApplicationId(std::forward<ApplicationIdT>(value));
66 return *this;
67 }
69
71
87 inline DeletionProtectionCheck GetDeletionProtectionCheck() const { return m_deletionProtectionCheck; }
88 inline bool DeletionProtectionCheckHasBeenSet() const { return m_deletionProtectionCheckHasBeenSet; }
90 m_deletionProtectionCheckHasBeenSet = true;
91 m_deletionProtectionCheck = value;
92 }
95 return *this;
96 }
98 private:
99 Aws::String m_environmentId;
100
101 Aws::String m_applicationId;
102
104 bool m_environmentIdHasBeenSet = false;
105 bool m_applicationIdHasBeenSet = false;
106 bool m_deletionProtectionCheckHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace AppConfig
111} // namespace Aws
void SetDeletionProtectionCheck(DeletionProtectionCheck value)
AWS_APPCONFIG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_APPCONFIG_API Aws::String SerializePayload() const override
AWS_APPCONFIG_API DeleteEnvironmentRequest()=default
virtual const char * GetServiceRequestName() const override
DeleteEnvironmentRequest & WithApplicationId(ApplicationIdT &&value)
DeleteEnvironmentRequest & WithEnvironmentId(EnvironmentIdT &&value)
DeleteEnvironmentRequest & WithDeletionProtectionCheck(DeletionProtectionCheck value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String