AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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