AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
GetDataRetrievalPolicyRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glacier/GlacierRequest.h>
9#include <aws/glacier/Glacier_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Glacier {
15namespace Model {
16
23 public:
24 AWS_GLACIER_API GetDataRetrievalPolicyRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetDataRetrievalPolicy"; }
31
32 AWS_GLACIER_API Aws::String SerializePayload() const override;
33
35
43 inline const Aws::String& GetAccountId() const { return m_accountId; }
44 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
45 template <typename AccountIdT = Aws::String>
46 void SetAccountId(AccountIdT&& value) {
47 m_accountIdHasBeenSet = true;
48 m_accountId = std::forward<AccountIdT>(value);
49 }
50 template <typename AccountIdT = Aws::String>
52 SetAccountId(std::forward<AccountIdT>(value));
53 return *this;
54 }
56 private:
57 Aws::String m_accountId;
58 bool m_accountIdHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace Glacier
63} // namespace Aws
GetDataRetrievalPolicyRequest & WithAccountId(AccountIdT &&value)
AWS_GLACIER_API Aws::String SerializePayload() const override
AWS_GLACIER_API GetDataRetrievalPolicyRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String