AWS SDK for C++  1.9.44
AWS SDK for C++
DeleteAppRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Pinpoint
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 "DeleteApp"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
40 
45  inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
46 
51  inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
52 
57  inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
58 
63  inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
64 
69  inline DeleteAppRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
70 
75  inline DeleteAppRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
76 
81  inline DeleteAppRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
82 
83  private:
84 
85  Aws::String m_applicationId;
86  bool m_applicationIdHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace Pinpoint
91 } // namespace Aws
Aws::Pinpoint::Model::DeleteAppRequest::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: DeleteAppRequest.h:39
Aws::Pinpoint::Model::DeleteAppRequest::SetApplicationId
void SetApplicationId(const char *value)
Definition: DeleteAppRequest.h:63
AWS_PINPOINT_API
#define AWS_PINPOINT_API
Definition: Pinpoint_EXPORTS.h:28
Aws::Pinpoint::Model::DeleteAppRequest::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: DeleteAppRequest.h:57
Aws::Pinpoint::Model::DeleteAppRequest
Definition: DeleteAppRequest.h:22
Aws::Pinpoint::Model::DeleteAppRequest::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: DeleteAppRequest.h:51
Aws::Pinpoint::Model::DeleteAppRequest::WithApplicationId
DeleteAppRequest & WithApplicationId(const Aws::String &value)
Definition: DeleteAppRequest.h:69
Aws::Pinpoint::Model::DeleteAppRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteAppRequest.h:30
Pinpoint_EXPORTS.h
Aws::Pinpoint::Model::DeleteAppRequest::DeleteAppRequest
DeleteAppRequest()
AWSString.h
Aws::Pinpoint::PinpointRequest
Definition: PinpointRequest.h:17
Aws::Pinpoint::Model::DeleteAppRequest::WithApplicationId
DeleteAppRequest & WithApplicationId(Aws::String &&value)
Definition: DeleteAppRequest.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::Pinpoint::Model::DeleteAppRequest::WithApplicationId
DeleteAppRequest & WithApplicationId(const char *value)
Definition: DeleteAppRequest.h:81
Aws::Pinpoint::Model::DeleteAppRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Pinpoint::Model::DeleteAppRequest::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: DeleteAppRequest.h:45
PinpointRequest.h