AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateStorageLensGroupRequest.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 <utility>
12
13namespace Aws
14{
15namespace S3Control
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_S3CONTROL_API UpdateStorageLensGroupRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateStorageLensGroup"; }
32
33 AWS_S3CONTROL_API Aws::String SerializePayload() const override;
34
36
40 AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override;
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline UpdateStorageLensGroupRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline UpdateStorageLensGroupRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline UpdateStorageLensGroupRequest& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetAccountId() const{ return m_accountId; }
61 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
62 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
63 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
64 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
65 inline UpdateStorageLensGroupRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
66 inline UpdateStorageLensGroupRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
67 inline UpdateStorageLensGroupRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
69
71
74 inline const StorageLensGroup& GetStorageLensGroup() const{ return m_storageLensGroup; }
75 inline bool StorageLensGroupHasBeenSet() const { return m_storageLensGroupHasBeenSet; }
76 inline void SetStorageLensGroup(const StorageLensGroup& value) { m_storageLensGroupHasBeenSet = true; m_storageLensGroup = value; }
77 inline void SetStorageLensGroup(StorageLensGroup&& value) { m_storageLensGroupHasBeenSet = true; m_storageLensGroup = std::move(value); }
81 private:
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85
86 Aws::String m_accountId;
87 bool m_accountIdHasBeenSet = false;
88
89 StorageLensGroup m_storageLensGroup;
90 bool m_storageLensGroupHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace S3Control
95} // namespace Aws
UpdateStorageLensGroupRequest & WithAccountId(const Aws::String &value)
UpdateStorageLensGroupRequest & WithStorageLensGroup(StorageLensGroup &&value)
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateStorageLensGroupRequest & WithStorageLensGroup(const StorageLensGroup &value)
UpdateStorageLensGroupRequest & WithName(Aws::String &&value)
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
UpdateStorageLensGroupRequest & WithName(const Aws::String &value)
UpdateStorageLensGroupRequest & WithAccountId(Aws::String &&value)
AWS_S3CONTROL_API Aws::String SerializePayload() const override
UpdateStorageLensGroupRequest & WithName(const char *value)
UpdateStorageLensGroupRequest & WithAccountId(const char *value)
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String