AWS SDK for C++  1.9.175
AWS SDK for C++
DeleteEnvironmentRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Cloud9
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeleteEnvironment"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
41 
45  inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
46 
50  inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
51 
55  inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
56 
60  inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
61 
65  inline DeleteEnvironmentRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
66 
70  inline DeleteEnvironmentRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
71 
75  inline DeleteEnvironmentRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
76 
77  private:
78 
79  Aws::String m_environmentId;
80  bool m_environmentIdHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace Cloud9
85 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Cloud9::Model::DeleteEnvironmentRequest::EnvironmentIdHasBeenSet
bool EnvironmentIdHasBeenSet() const
Definition: DeleteEnvironmentRequest.h:45
AWS_CLOUD9_API
#define AWS_CLOUD9_API
Definition: Cloud9_EXPORTS.h:28
Aws::Cloud9::Model::DeleteEnvironmentRequest::SetEnvironmentId
void SetEnvironmentId(Aws::String &&value)
Definition: DeleteEnvironmentRequest.h:55
Cloud9Request.h
Aws::Cloud9::Model::DeleteEnvironmentRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Cloud9::Model::DeleteEnvironmentRequest
Definition: DeleteEnvironmentRequest.h:22
Aws::Cloud9::Model::DeleteEnvironmentRequest::DeleteEnvironmentRequest
DeleteEnvironmentRequest()
Aws::Cloud9::Model::DeleteEnvironmentRequest::GetEnvironmentId
const Aws::String & GetEnvironmentId() const
Definition: DeleteEnvironmentRequest.h:40
Aws::Cloud9::Model::DeleteEnvironmentRequest::WithEnvironmentId
DeleteEnvironmentRequest & WithEnvironmentId(const char *value)
Definition: DeleteEnvironmentRequest.h:75
AWSString.h
Aws::Cloud9::Model::DeleteEnvironmentRequest::SetEnvironmentId
void SetEnvironmentId(const Aws::String &value)
Definition: DeleteEnvironmentRequest.h:50
Aws::Cloud9::Model::DeleteEnvironmentRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Cloud9::Model::DeleteEnvironmentRequest::WithEnvironmentId
DeleteEnvironmentRequest & WithEnvironmentId(const Aws::String &value)
Definition: DeleteEnvironmentRequest.h:65
Aws::Cloud9::Cloud9Request
Definition: Cloud9Request.h:17
Aws::Cloud9::Model::DeleteEnvironmentRequest::WithEnvironmentId
DeleteEnvironmentRequest & WithEnvironmentId(Aws::String &&value)
Definition: DeleteEnvironmentRequest.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Cloud9::Model::DeleteEnvironmentRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteEnvironmentRequest.h:30
Aws::Cloud9::Model::DeleteEnvironmentRequest::SetEnvironmentId
void SetEnvironmentId(const char *value)
Definition: DeleteEnvironmentRequest.h:60
Cloud9_EXPORTS.h