AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
PutAccountPreferencesRequest.h
1
6#pragma once
7#include <aws/elasticfilesystem/EFSRequest.h>
8#include <aws/elasticfilesystem/EFS_EXPORTS.h>
9#include <aws/elasticfilesystem/model/ResourceIdType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace EFS {
15namespace Model {
16
20 public:
21 AWS_EFS_API PutAccountPreferencesRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "PutAccountPreferences"; }
28
29 AWS_EFS_API Aws::String SerializePayload() const override;
30
32
41 inline ResourceIdType GetResourceIdType() const { return m_resourceIdType; }
42 inline bool ResourceIdTypeHasBeenSet() const { return m_resourceIdTypeHasBeenSet; }
43 inline void SetResourceIdType(ResourceIdType value) {
44 m_resourceIdTypeHasBeenSet = true;
45 m_resourceIdType = value;
46 }
48 SetResourceIdType(value);
49 return *this;
50 }
52 private:
54 bool m_resourceIdTypeHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace EFS
59} // namespace Aws
AWS_EFS_API Aws::String SerializePayload() const override
PutAccountPreferencesRequest & WithResourceIdType(ResourceIdType value)
AWS_EFS_API PutAccountPreferencesRequest()=default
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String