AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PutStorageLensConfigurationRequest.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/S3ControlRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3control/model/StorageLensConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/s3control/model/StorageLensTag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace S3Control
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_S3CONTROL_API PutStorageLensConfigurationRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "PutStorageLensConfiguration"; }
34
35 AWS_S3CONTROL_API Aws::String SerializePayload() const override;
36
38
42 AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override;
43
45
48 inline const Aws::String& GetConfigId() const { return m_configId; }
49 inline bool ConfigIdHasBeenSet() const { return m_configIdHasBeenSet; }
50 template<typename ConfigIdT = Aws::String>
51 void SetConfigId(ConfigIdT&& value) { m_configIdHasBeenSet = true; m_configId = std::forward<ConfigIdT>(value); }
52 template<typename ConfigIdT = Aws::String>
53 PutStorageLensConfigurationRequest& WithConfigId(ConfigIdT&& value) { SetConfigId(std::forward<ConfigIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetAccountId() const { return m_accountId; }
61 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
62 template<typename AccountIdT = Aws::String>
63 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
64 template<typename AccountIdT = Aws::String>
65 PutStorageLensConfigurationRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
67
69
72 inline const StorageLensConfiguration& GetStorageLensConfiguration() const { return m_storageLensConfiguration; }
73 inline bool StorageLensConfigurationHasBeenSet() const { return m_storageLensConfigurationHasBeenSet; }
74 template<typename StorageLensConfigurationT = StorageLensConfiguration>
75 void SetStorageLensConfiguration(StorageLensConfigurationT&& value) { m_storageLensConfigurationHasBeenSet = true; m_storageLensConfiguration = std::forward<StorageLensConfigurationT>(value); }
76 template<typename StorageLensConfigurationT = StorageLensConfiguration>
77 PutStorageLensConfigurationRequest& WithStorageLensConfiguration(StorageLensConfigurationT&& value) { SetStorageLensConfiguration(std::forward<StorageLensConfigurationT>(value)); return *this;}
79
81
85 inline const Aws::Vector<StorageLensTag>& GetTags() const { return m_tags; }
86 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
87 template<typename TagsT = Aws::Vector<StorageLensTag>>
88 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
89 template<typename TagsT = Aws::Vector<StorageLensTag>>
90 PutStorageLensConfigurationRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
91 template<typename TagsT = StorageLensTag>
92 PutStorageLensConfigurationRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
94 private:
95
96 Aws::String m_configId;
97 bool m_configIdHasBeenSet = false;
98
99 Aws::String m_accountId;
100 bool m_accountIdHasBeenSet = false;
101
102 StorageLensConfiguration m_storageLensConfiguration;
103 bool m_storageLensConfigurationHasBeenSet = false;
104
106 bool m_tagsHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace S3Control
111} // namespace Aws
PutStorageLensConfigurationRequest & AddTags(TagsT &&value)
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
PutStorageLensConfigurationRequest & WithConfigId(ConfigIdT &&value)
AWS_S3CONTROL_API Aws::String SerializePayload() const override
PutStorageLensConfigurationRequest & WithAccountId(AccountIdT &&value)
AWS_S3CONTROL_API PutStorageLensConfigurationRequest()=default
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutStorageLensConfigurationRequest & WithTags(TagsT &&value)
PutStorageLensConfigurationRequest & WithStorageLensConfiguration(StorageLensConfigurationT &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector