AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
52 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
53 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
54 inline CreateStorageLensGroupRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
55 inline CreateStorageLensGroupRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
56 inline CreateStorageLensGroupRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
58
60
63 inline const StorageLensGroup& GetStorageLensGroup() const{ return m_storageLensGroup; }
64 inline bool StorageLensGroupHasBeenSet() const { return m_storageLensGroupHasBeenSet; }
65 inline void SetStorageLensGroup(const StorageLensGroup& value) { m_storageLensGroupHasBeenSet = true; m_storageLensGroup = value; }
66 inline void SetStorageLensGroup(StorageLensGroup&& value) { m_storageLensGroupHasBeenSet = true; m_storageLensGroup = std::move(value); }
70
72
76 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
77 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
78 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
79 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
80 inline CreateStorageLensGroupRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
81 inline CreateStorageLensGroupRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
82 inline CreateStorageLensGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
83 inline CreateStorageLensGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
85 private:
86
87 Aws::String m_accountId;
88 bool m_accountIdHasBeenSet = false;
89
90 StorageLensGroup m_storageLensGroup;
91 bool m_storageLensGroupHasBeenSet = false;
92
93 Aws::Vector<Tag> m_tags;
94 bool m_tagsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace S3Control
99} // namespace Aws
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
AWS_S3CONTROL_API Aws::String SerializePayload() const override
CreateStorageLensGroupRequest & WithStorageLensGroup(const StorageLensGroup &value)
CreateStorageLensGroupRequest & WithStorageLensGroup(StorageLensGroup &&value)
CreateStorageLensGroupRequest & WithTags(Aws::Vector< Tag > &&value)
CreateStorageLensGroupRequest & WithAccountId(Aws::String &&value)
CreateStorageLensGroupRequest & WithAccountId(const char *value)
CreateStorageLensGroupRequest & AddTags(const Tag &value)
CreateStorageLensGroupRequest & WithAccountId(const Aws::String &value)
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateStorageLensGroupRequest & WithTags(const Aws::Vector< Tag > &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