AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteFileCacheRequest.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/FSxRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace FSx
16{
17namespace Model
18{
19
23 {
24 public:
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 "DeleteFileCache"; }
32
33 AWS_FSX_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetFileCacheId() const{ return m_fileCacheId; }
43 inline bool FileCacheIdHasBeenSet() const { return m_fileCacheIdHasBeenSet; }
44 inline void SetFileCacheId(const Aws::String& value) { m_fileCacheIdHasBeenSet = true; m_fileCacheId = value; }
45 inline void SetFileCacheId(Aws::String&& value) { m_fileCacheIdHasBeenSet = true; m_fileCacheId = std::move(value); }
46 inline void SetFileCacheId(const char* value) { m_fileCacheIdHasBeenSet = true; m_fileCacheId.assign(value); }
47 inline DeleteFileCacheRequest& WithFileCacheId(const Aws::String& value) { SetFileCacheId(value); return *this;}
48 inline DeleteFileCacheRequest& WithFileCacheId(Aws::String&& value) { SetFileCacheId(std::move(value)); return *this;}
49 inline DeleteFileCacheRequest& WithFileCacheId(const char* value) { SetFileCacheId(value); return *this;}
51
53
54 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
55 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
56 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
57 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
58 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
60 inline DeleteFileCacheRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
61 inline DeleteFileCacheRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
63 private:
64
65 Aws::String m_fileCacheId;
66 bool m_fileCacheIdHasBeenSet = false;
67
68 Aws::String m_clientRequestToken;
69 bool m_clientRequestTokenHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace FSx
74} // namespace Aws
void SetClientRequestToken(const Aws::String &value)
AWS_FSX_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteFileCacheRequest & WithClientRequestToken(const char *value)
DeleteFileCacheRequest & WithFileCacheId(Aws::String &&value)
DeleteFileCacheRequest & WithFileCacheId(const Aws::String &value)
const Aws::String & GetClientRequestToken() const
DeleteFileCacheRequest & WithClientRequestToken(const Aws::String &value)
DeleteFileCacheRequest & WithClientRequestToken(Aws::String &&value)
void SetFileCacheId(const Aws::String &value)
DeleteFileCacheRequest & WithFileCacheId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String