AWS SDK for C++  1.9.44
AWS SDK for C++
DeleteApiCacheRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace AppSync
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 "DeleteApiCache"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetApiId() const{ return m_apiId; }
43 
47  inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
48 
52  inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
53 
57  inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
58 
62  inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
63 
67  inline DeleteApiCacheRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
68 
72  inline DeleteApiCacheRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
73 
77  inline DeleteApiCacheRequest& WithApiId(const char* value) { SetApiId(value); return *this;}
78 
79  private:
80 
81  Aws::String m_apiId;
82  bool m_apiIdHasBeenSet;
83  };
84 
85 } // namespace Model
86 } // namespace AppSync
87 } // namespace Aws
Aws::AppSync::AppSyncRequest
Definition: AppSyncRequest.h:17
Aws::AppSync::Model::DeleteApiCacheRequest::ApiIdHasBeenSet
bool ApiIdHasBeenSet() const
Definition: DeleteApiCacheRequest.h:47
Aws::AppSync::Model::DeleteApiCacheRequest::SetApiId
void SetApiId(Aws::String &&value)
Definition: DeleteApiCacheRequest.h:57
Aws::AppSync::Model::DeleteApiCacheRequest::SetApiId
void SetApiId(const char *value)
Definition: DeleteApiCacheRequest.h:62
Aws::AppSync::Model::DeleteApiCacheRequest::WithApiId
DeleteApiCacheRequest & WithApiId(Aws::String &&value)
Definition: DeleteApiCacheRequest.h:72
AppSync_EXPORTS.h
Aws::AppSync::Model::DeleteApiCacheRequest::GetApiId
const Aws::String & GetApiId() const
Definition: DeleteApiCacheRequest.h:42
Aws::AppSync::Model::DeleteApiCacheRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppSync::Model::DeleteApiCacheRequest::WithApiId
DeleteApiCacheRequest & WithApiId(const Aws::String &value)
Definition: DeleteApiCacheRequest.h:67
Aws::AppSync::Model::DeleteApiCacheRequest::WithApiId
DeleteApiCacheRequest & WithApiId(const char *value)
Definition: DeleteApiCacheRequest.h:77
AWSString.h
Aws::AppSync::Model::DeleteApiCacheRequest
Definition: DeleteApiCacheRequest.h:26
AppSyncRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::DeleteApiCacheRequest::DeleteApiCacheRequest
DeleteApiCacheRequest()
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppSync::Model::DeleteApiCacheRequest::SetApiId
void SetApiId(const Aws::String &value)
Definition: DeleteApiCacheRequest.h:52
Aws::AppSync::Model::DeleteApiCacheRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteApiCacheRequest.h:34