AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateStorageLensGroupRequest.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/StorageLensGroup.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/s3control/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace S3Control
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_S3CONTROL_API CreateStorageLensGroupRequest() = 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 "CreateStorageLensGroup"; }
34
35 AWS_S3CONTROL_API Aws::String SerializePayload() const override;
36
38
42 AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override;
43
45
49 inline const Aws::String& GetAccountId() const { return m_accountId; }
50 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
51 template<typename AccountIdT = Aws::String>
52 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
53 template<typename AccountIdT = Aws::String>
54 CreateStorageLensGroupRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
56
58
61 inline const StorageLensGroup& GetStorageLensGroup() const { return m_storageLensGroup; }
62 inline bool StorageLensGroupHasBeenSet() const { return m_storageLensGroupHasBeenSet; }
63 template<typename StorageLensGroupT = StorageLensGroup>
64 void SetStorageLensGroup(StorageLensGroupT&& value) { m_storageLensGroupHasBeenSet = true; m_storageLensGroup = std::forward<StorageLensGroupT>(value); }
65 template<typename StorageLensGroupT = StorageLensGroup>
66 CreateStorageLensGroupRequest& WithStorageLensGroup(StorageLensGroupT&& value) { SetStorageLensGroup(std::forward<StorageLensGroupT>(value)); return *this;}
68
70
74 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
75 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
76 template<typename TagsT = Aws::Vector<Tag>>
77 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
78 template<typename TagsT = Aws::Vector<Tag>>
79 CreateStorageLensGroupRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
80 template<typename TagsT = Tag>
81 CreateStorageLensGroupRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
83 private:
84
85 Aws::String m_accountId;
86 bool m_accountIdHasBeenSet = false;
87
88 StorageLensGroup m_storageLensGroup;
89 bool m_storageLensGroupHasBeenSet = false;
90
91 Aws::Vector<Tag> m_tags;
92 bool m_tagsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace S3Control
97} // namespace Aws
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
AWS_S3CONTROL_API Aws::String SerializePayload() const override
CreateStorageLensGroupRequest & AddTags(TagsT &&value)
CreateStorageLensGroupRequest & WithTags(TagsT &&value)
AWS_S3CONTROL_API CreateStorageLensGroupRequest()=default
CreateStorageLensGroupRequest & WithAccountId(AccountIdT &&value)
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateStorageLensGroupRequest & WithStorageLensGroup(StorageLensGroupT &&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