AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
25 AWS_FSX_API DeleteFileCacheRequest() = default;
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 template<typename FileCacheIdT = Aws::String>
45 void SetFileCacheId(FileCacheIdT&& value) { m_fileCacheIdHasBeenSet = true; m_fileCacheId = std::forward<FileCacheIdT>(value); }
46 template<typename FileCacheIdT = Aws::String>
47 DeleteFileCacheRequest& WithFileCacheId(FileCacheIdT&& value) { SetFileCacheId(std::forward<FileCacheIdT>(value)); return *this;}
49
51
52 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
53 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
54 template<typename ClientRequestTokenT = Aws::String>
55 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
56 template<typename ClientRequestTokenT = Aws::String>
57 DeleteFileCacheRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
59 private:
60
61 Aws::String m_fileCacheId;
62 bool m_fileCacheIdHasBeenSet = false;
63
64 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
65 bool m_clientRequestTokenHasBeenSet = true;
66 };
67
68} // namespace Model
69} // namespace FSx
70} // namespace Aws
AWS_FSX_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetClientRequestToken(ClientRequestTokenT &&value)
AWS_FSX_API DeleteFileCacheRequest()=default
DeleteFileCacheRequest & WithClientRequestToken(ClientRequestTokenT &&value)
const Aws::String & GetClientRequestToken() const
DeleteFileCacheRequest & WithFileCacheId(FileCacheIdT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String