AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 UpdateStorageLensGroupRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetAccountId() const { return m_accountId; }
59 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
60 template<typename AccountIdT = Aws::String>
61 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
62 template<typename AccountIdT = Aws::String>
63 UpdateStorageLensGroupRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
65
67
70 inline const StorageLensGroup& GetStorageLensGroup() const { return m_storageLensGroup; }
71 inline bool StorageLensGroupHasBeenSet() const { return m_storageLensGroupHasBeenSet; }
72 template<typename StorageLensGroupT = StorageLensGroup>
73 void SetStorageLensGroup(StorageLensGroupT&& value) { m_storageLensGroupHasBeenSet = true; m_storageLensGroup = std::forward<StorageLensGroupT>(value); }
74 template<typename StorageLensGroupT = StorageLensGroup>
75 UpdateStorageLensGroupRequest& WithStorageLensGroup(StorageLensGroupT&& value) { SetStorageLensGroup(std::forward<StorageLensGroupT>(value)); return *this;}
77 private:
78
79 Aws::String m_name;
80 bool m_nameHasBeenSet = false;
81
82 Aws::String m_accountId;
83 bool m_accountIdHasBeenSet = false;
84
85 StorageLensGroup m_storageLensGroup;
86 bool m_storageLensGroupHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace S3Control
91} // namespace Aws
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_S3CONTROL_API UpdateStorageLensGroupRequest()=default
UpdateStorageLensGroupRequest & WithStorageLensGroup(StorageLensGroupT &&value)
UpdateStorageLensGroupRequest & WithName(NameT &&value)
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
AWS_S3CONTROL_API Aws::String SerializePayload() const override
UpdateStorageLensGroupRequest & WithAccountId(AccountIdT &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String