AWS SDK for C++  1.8.127
AWS SDK for C++
PutStorageLensConfigurationTaggingRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace S3Control
17 {
18 namespace 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 "PutStorageLensConfigurationTagging"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetConfigId() const{ return m_configId; }
43 
47  inline bool ConfigIdHasBeenSet() const { return m_configIdHasBeenSet; }
48 
52  inline void SetConfigId(const Aws::String& value) { m_configIdHasBeenSet = true; m_configId = value; }
53 
57  inline void SetConfigId(Aws::String&& value) { m_configIdHasBeenSet = true; m_configId = std::move(value); }
58 
62  inline void SetConfigId(const char* value) { m_configIdHasBeenSet = true; m_configId.assign(value); }
63 
67  inline PutStorageLensConfigurationTaggingRequest& WithConfigId(const Aws::String& value) { SetConfigId(value); return *this;}
68 
72  inline PutStorageLensConfigurationTaggingRequest& WithConfigId(Aws::String&& value) { SetConfigId(std::move(value)); return *this;}
73 
77  inline PutStorageLensConfigurationTaggingRequest& WithConfigId(const char* value) { SetConfigId(value); return *this;}
78 
79 
83  inline const Aws::String& GetAccountId() const{ return m_accountId; }
84 
88  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
89 
93  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
94 
98  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
99 
103  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
104 
108  inline PutStorageLensConfigurationTaggingRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
109 
113  inline PutStorageLensConfigurationTaggingRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
114 
118  inline PutStorageLensConfigurationTaggingRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
119 
120 
125  inline const Aws::Vector<StorageLensTag>& GetTags() const{ return m_tags; }
126 
131  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
132 
137  inline void SetTags(const Aws::Vector<StorageLensTag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
138 
143  inline void SetTags(Aws::Vector<StorageLensTag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
144 
149  inline PutStorageLensConfigurationTaggingRequest& WithTags(const Aws::Vector<StorageLensTag>& value) { SetTags(value); return *this;}
150 
155  inline PutStorageLensConfigurationTaggingRequest& WithTags(Aws::Vector<StorageLensTag>&& value) { SetTags(std::move(value)); return *this;}
156 
161  inline PutStorageLensConfigurationTaggingRequest& AddTags(const StorageLensTag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
162 
167  inline PutStorageLensConfigurationTaggingRequest& AddTags(StorageLensTag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
168 
169  private:
170 
171  Aws::String m_configId;
172  bool m_configIdHasBeenSet;
173 
174  Aws::String m_accountId;
175  bool m_accountIdHasBeenSet;
176 
178  bool m_tagsHasBeenSet;
179  };
180 
181 } // namespace Model
182 } // namespace S3Control
183 } // namespace Aws
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::ConfigIdHasBeenSet
bool ConfigIdHasBeenSet() const
Definition: PutStorageLensConfigurationTaggingRequest.h:47
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::GetConfigId
const Aws::String & GetConfigId() const
Definition: PutStorageLensConfigurationTaggingRequest.h:42
StorageLensTag.h
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: PutStorageLensConfigurationTaggingRequest.h:93
Aws::S3Control::S3ControlRequest
Definition: S3ControlRequest.h:17
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: PutStorageLensConfigurationTaggingRequest.h:83
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::WithConfigId
PutStorageLensConfigurationTaggingRequest & WithConfigId(const char *value)
Definition: PutStorageLensConfigurationTaggingRequest.h:77
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::WithConfigId
PutStorageLensConfigurationTaggingRequest & WithConfigId(const Aws::String &value)
Definition: PutStorageLensConfigurationTaggingRequest.h:67
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::PutStorageLensConfigurationTaggingRequest
PutStorageLensConfigurationTaggingRequest()
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::SetTags
void SetTags(Aws::Vector< StorageLensTag > &&value)
Definition: PutStorageLensConfigurationTaggingRequest.h:143
AWSVector.h
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
S3Control_EXPORTS.h
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::AddTags
PutStorageLensConfigurationTaggingRequest & AddTags(const StorageLensTag &value)
Definition: PutStorageLensConfigurationTaggingRequest.h:161
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::SetTags
void SetTags(const Aws::Vector< StorageLensTag > &value)
Definition: PutStorageLensConfigurationTaggingRequest.h:137
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::WithConfigId
PutStorageLensConfigurationTaggingRequest & WithConfigId(Aws::String &&value)
Definition: PutStorageLensConfigurationTaggingRequest.h:72
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::StorageLensTag
Definition: StorageLensTag.h:31
AWSString.h
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::WithAccountId
PutStorageLensConfigurationTaggingRequest & WithAccountId(const char *value)
Definition: PutStorageLensConfigurationTaggingRequest.h:118
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::SetConfigId
void SetConfigId(const Aws::String &value)
Definition: PutStorageLensConfigurationTaggingRequest.h:52
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::SetConfigId
void SetConfigId(Aws::String &&value)
Definition: PutStorageLensConfigurationTaggingRequest.h:57
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::WithTags
PutStorageLensConfigurationTaggingRequest & WithTags(Aws::Vector< StorageLensTag > &&value)
Definition: PutStorageLensConfigurationTaggingRequest.h:155
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::AddTags
PutStorageLensConfigurationTaggingRequest & AddTags(StorageLensTag &&value)
Definition: PutStorageLensConfigurationTaggingRequest.h:167
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::SetAccountId
void SetAccountId(const char *value)
Definition: PutStorageLensConfigurationTaggingRequest.h:103
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutStorageLensConfigurationTaggingRequest.h:32
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::WithTags
PutStorageLensConfigurationTaggingRequest & WithTags(const Aws::Vector< StorageLensTag > &value)
Definition: PutStorageLensConfigurationTaggingRequest.h:149
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: PutStorageLensConfigurationTaggingRequest.h:131
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::WithAccountId
PutStorageLensConfigurationTaggingRequest & WithAccountId(Aws::String &&value)
Definition: PutStorageLensConfigurationTaggingRequest.h:113
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: PutStorageLensConfigurationTaggingRequest.h:88
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
S3ControlRequest.h
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: PutStorageLensConfigurationTaggingRequest.h:98
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::SetConfigId
void SetConfigId(const char *value)
Definition: PutStorageLensConfigurationTaggingRequest.h:62
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::GetTags
const Aws::Vector< StorageLensTag > & GetTags() const
Definition: PutStorageLensConfigurationTaggingRequest.h:125
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest
Definition: PutStorageLensConfigurationTaggingRequest.h:24
Aws::S3Control::Model::PutStorageLensConfigurationTaggingRequest::WithAccountId
PutStorageLensConfigurationTaggingRequest & WithAccountId(const Aws::String &value)
Definition: PutStorageLensConfigurationTaggingRequest.h:108