AWS SDK for C++  1.9.157
AWS SDK for C++
DeleteBackendEnvironmentRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Amplify
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DeleteBackendEnvironment"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetAppId() const{ return m_appId; }
43 
47  inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
48 
52  inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
53 
57  inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
58 
62  inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
63 
67  inline DeleteBackendEnvironmentRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
68 
72  inline DeleteBackendEnvironmentRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
73 
77  inline DeleteBackendEnvironmentRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
78 
79 
83  inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
84 
88  inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
89 
93  inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
94 
98  inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
99 
103  inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
104 
108  inline DeleteBackendEnvironmentRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
109 
113  inline DeleteBackendEnvironmentRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
114 
118  inline DeleteBackendEnvironmentRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
119 
120  private:
121 
122  Aws::String m_appId;
123  bool m_appIdHasBeenSet;
124 
125  Aws::String m_environmentName;
126  bool m_environmentNameHasBeenSet;
127  };
128 
129 } // namespace Model
130 } // namespace Amplify
131 } // namespace Aws
Amplify_EXPORTS.h
Aws::Amplify::Model::DeleteBackendEnvironmentRequest::SetEnvironmentName
void SetEnvironmentName(const char *value)
Definition: DeleteBackendEnvironmentRequest.h:103
Aws::Amplify::Model::DeleteBackendEnvironmentRequest::GetAppId
const Aws::String & GetAppId() const
Definition: DeleteBackendEnvironmentRequest.h:42
Aws::Amplify::Model::DeleteBackendEnvironmentRequest::WithAppId
DeleteBackendEnvironmentRequest & WithAppId(Aws::String &&value)
Definition: DeleteBackendEnvironmentRequest.h:72
Aws::Amplify::Model::DeleteBackendEnvironmentRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Amplify::Model::DeleteBackendEnvironmentRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteBackendEnvironmentRequest.h:34
Aws::Amplify::Model::DeleteBackendEnvironmentRequest::WithEnvironmentName
DeleteBackendEnvironmentRequest & WithEnvironmentName(Aws::String &&value)
Definition: DeleteBackendEnvironmentRequest.h:113
AmplifyRequest.h
Aws::Amplify::AmplifyRequest
Definition: AmplifyRequest.h:17
Aws::Amplify::Model::DeleteBackendEnvironmentRequest::WithEnvironmentName
DeleteBackendEnvironmentRequest & WithEnvironmentName(const Aws::String &value)
Definition: DeleteBackendEnvironmentRequest.h:108
Aws::Amplify::Model::DeleteBackendEnvironmentRequest::SetEnvironmentName
void SetEnvironmentName(const Aws::String &value)
Definition: DeleteBackendEnvironmentRequest.h:93
Aws::Amplify::Model::DeleteBackendEnvironmentRequest::AppIdHasBeenSet
bool AppIdHasBeenSet() const
Definition: DeleteBackendEnvironmentRequest.h:47
Aws::Amplify::Model::DeleteBackendEnvironmentRequest::EnvironmentNameHasBeenSet
bool EnvironmentNameHasBeenSet() const
Definition: DeleteBackendEnvironmentRequest.h:88
Aws::Amplify::Model::DeleteBackendEnvironmentRequest::WithAppId
DeleteBackendEnvironmentRequest & WithAppId(const Aws::String &value)
Definition: DeleteBackendEnvironmentRequest.h:67
Aws::Amplify::Model::DeleteBackendEnvironmentRequest::SetAppId
void SetAppId(const Aws::String &value)
Definition: DeleteBackendEnvironmentRequest.h:52
Aws::Amplify::Model::DeleteBackendEnvironmentRequest::DeleteBackendEnvironmentRequest
DeleteBackendEnvironmentRequest()
Aws::Amplify::Model::DeleteBackendEnvironmentRequest::WithEnvironmentName
DeleteBackendEnvironmentRequest & WithEnvironmentName(const char *value)
Definition: DeleteBackendEnvironmentRequest.h:118
AWSString.h
Aws::Amplify::Model::DeleteBackendEnvironmentRequest::WithAppId
DeleteBackendEnvironmentRequest & WithAppId(const char *value)
Definition: DeleteBackendEnvironmentRequest.h:77
Aws::Amplify::Model::DeleteBackendEnvironmentRequest
Definition: DeleteBackendEnvironmentRequest.h:26
Aws
Definition: AccessManagementClient.h:15
Aws::Amplify::Model::DeleteBackendEnvironmentRequest::SetAppId
void SetAppId(const char *value)
Definition: DeleteBackendEnvironmentRequest.h:62
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Amplify::Model::DeleteBackendEnvironmentRequest::SetEnvironmentName
void SetEnvironmentName(Aws::String &&value)
Definition: DeleteBackendEnvironmentRequest.h:98
Aws::Amplify::Model::DeleteBackendEnvironmentRequest::GetEnvironmentName
const Aws::String & GetEnvironmentName() const
Definition: DeleteBackendEnvironmentRequest.h:83
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28
Aws::Amplify::Model::DeleteBackendEnvironmentRequest::SetAppId
void SetAppId(Aws::String &&value)
Definition: DeleteBackendEnvironmentRequest.h:57