AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
45 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
46 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
47 inline DeleteEnvironmentRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
48 inline DeleteEnvironmentRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
49 inline DeleteEnvironmentRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
51
53
56 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
57 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
58 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
59 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
60 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
61 inline DeleteEnvironmentRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
62 inline DeleteEnvironmentRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
63 inline DeleteEnvironmentRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
65
67
84 inline const DeletionProtectionCheck& GetDeletionProtectionCheck() const{ return m_deletionProtectionCheck; }
85 inline bool DeletionProtectionCheckHasBeenSet() const { return m_deletionProtectionCheckHasBeenSet; }
86 inline void SetDeletionProtectionCheck(const DeletionProtectionCheck& value) { m_deletionProtectionCheckHasBeenSet = true; m_deletionProtectionCheck = value; }
87 inline void SetDeletionProtectionCheck(DeletionProtectionCheck&& value) { m_deletionProtectionCheckHasBeenSet = true; m_deletionProtectionCheck = std::move(value); }
91 private:
92
93 Aws::String m_environmentId;
94 bool m_environmentIdHasBeenSet = false;
95
96 Aws::String m_applicationId;
97 bool m_applicationIdHasBeenSet = false;
98
99 DeletionProtectionCheck m_deletionProtectionCheck;
100 bool m_deletionProtectionCheckHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace AppConfig
105} // namespace Aws
DeleteEnvironmentRequest & WithApplicationId(Aws::String &&value)
DeleteEnvironmentRequest & WithDeletionProtectionCheck(const DeletionProtectionCheck &value)
void SetDeletionProtectionCheck(const DeletionProtectionCheck &value)
DeleteEnvironmentRequest & WithApplicationId(const char *value)
AWS_APPCONFIG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteEnvironmentRequest & WithEnvironmentId(const char *value)
DeleteEnvironmentRequest & WithEnvironmentId(Aws::String &&value)
DeleteEnvironmentRequest & WithDeletionProtectionCheck(DeletionProtectionCheck &&value)
const DeletionProtectionCheck & GetDeletionProtectionCheck() const
DeleteEnvironmentRequest & WithApplicationId(const Aws::String &value)
AWS_APPCONFIG_API Aws::String SerializePayload() const override
DeleteEnvironmentRequest & WithEnvironmentId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetDeletionProtectionCheck(DeletionProtectionCheck &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String