AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFileCacheRequest.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 <aws/fsx/model/UpdateFileCacheLustreConfiguration.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace FSx
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateFileCache"; }
33
34 AWS_FSX_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetFileCacheId() const{ return m_fileCacheId; }
44 inline bool FileCacheIdHasBeenSet() const { return m_fileCacheIdHasBeenSet; }
45 inline void SetFileCacheId(const Aws::String& value) { m_fileCacheIdHasBeenSet = true; m_fileCacheId = value; }
46 inline void SetFileCacheId(Aws::String&& value) { m_fileCacheIdHasBeenSet = true; m_fileCacheId = std::move(value); }
47 inline void SetFileCacheId(const char* value) { m_fileCacheIdHasBeenSet = true; m_fileCacheId.assign(value); }
48 inline UpdateFileCacheRequest& WithFileCacheId(const Aws::String& value) { SetFileCacheId(value); return *this;}
49 inline UpdateFileCacheRequest& WithFileCacheId(Aws::String&& value) { SetFileCacheId(std::move(value)); return *this;}
50 inline UpdateFileCacheRequest& WithFileCacheId(const char* value) { SetFileCacheId(value); return *this;}
52
54
55 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
56 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
57 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
58 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
59 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
61 inline UpdateFileCacheRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
62 inline UpdateFileCacheRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
64
66
69 inline const UpdateFileCacheLustreConfiguration& GetLustreConfiguration() const{ return m_lustreConfiguration; }
70 inline bool LustreConfigurationHasBeenSet() const { return m_lustreConfigurationHasBeenSet; }
71 inline void SetLustreConfiguration(const UpdateFileCacheLustreConfiguration& value) { m_lustreConfigurationHasBeenSet = true; m_lustreConfiguration = value; }
72 inline void SetLustreConfiguration(UpdateFileCacheLustreConfiguration&& value) { m_lustreConfigurationHasBeenSet = true; m_lustreConfiguration = std::move(value); }
76 private:
77
78 Aws::String m_fileCacheId;
79 bool m_fileCacheIdHasBeenSet = false;
80
81 Aws::String m_clientRequestToken;
82 bool m_clientRequestTokenHasBeenSet = false;
83
84 UpdateFileCacheLustreConfiguration m_lustreConfiguration;
85 bool m_lustreConfigurationHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace FSx
90} // namespace Aws
UpdateFileCacheRequest & WithClientRequestToken(const char *value)
void SetLustreConfiguration(UpdateFileCacheLustreConfiguration &&value)
UpdateFileCacheRequest & WithLustreConfiguration(UpdateFileCacheLustreConfiguration &&value)
void SetLustreConfiguration(const UpdateFileCacheLustreConfiguration &value)
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_FSX_API Aws::String SerializePayload() const override
void SetClientRequestToken(const Aws::String &value)
const Aws::String & GetClientRequestToken() const
UpdateFileCacheRequest & WithLustreConfiguration(const UpdateFileCacheLustreConfiguration &value)
UpdateFileCacheRequest & WithClientRequestToken(const Aws::String &value)
UpdateFileCacheRequest & WithClientRequestToken(Aws::String &&value)
UpdateFileCacheRequest & WithFileCacheId(const Aws::String &value)
UpdateFileCacheRequest & WithFileCacheId(Aws::String &&value)
const UpdateFileCacheLustreConfiguration & GetLustreConfiguration() const
virtual const char * GetServiceRequestName() const override
UpdateFileCacheRequest & WithFileCacheId(const char *value)
void SetFileCacheId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String