AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteEnvironmentRequest.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/AppConfigRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appconfig/model/DeletionProtectionCheck.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AppConfig
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_APPCONFIG_API DeleteEnvironmentRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteEnvironment"; }
32
33 AWS_APPCONFIG_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
43 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
44 template<typename EnvironmentIdT = Aws::String>
45 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
46 template<typename EnvironmentIdT = Aws::String>
47 DeleteEnvironmentRequest& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
55 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
56 template<typename ApplicationIdT = Aws::String>
57 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
58 template<typename ApplicationIdT = Aws::String>
59 DeleteEnvironmentRequest& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
61
63
79 inline DeletionProtectionCheck GetDeletionProtectionCheck() const { return m_deletionProtectionCheck; }
80 inline bool DeletionProtectionCheckHasBeenSet() const { return m_deletionProtectionCheckHasBeenSet; }
81 inline void SetDeletionProtectionCheck(DeletionProtectionCheck value) { m_deletionProtectionCheckHasBeenSet = true; m_deletionProtectionCheck = value; }
84 private:
85
86 Aws::String m_environmentId;
87 bool m_environmentIdHasBeenSet = false;
88
89 Aws::String m_applicationId;
90 bool m_applicationIdHasBeenSet = false;
91
93 bool m_deletionProtectionCheckHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace AppConfig
98} // 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