AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
UpdateKeyRegistrationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSightRequest.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/RegisteredCustomerManagedKey.h>
12
13#include <utility>
14
15namespace Aws {
16namespace QuickSight {
17namespace Model {
18
22 public:
23 AWS_QUICKSIGHT_API UpdateKeyRegistrationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateKeyRegistration"; }
30
31 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
39 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
40 template <typename AwsAccountIdT = Aws::String>
41 void SetAwsAccountId(AwsAccountIdT&& value) {
42 m_awsAccountIdHasBeenSet = true;
43 m_awsAccountId = std::forward<AwsAccountIdT>(value);
44 }
45 template <typename AwsAccountIdT = Aws::String>
47 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::Vector<RegisteredCustomerManagedKey>& GetKeyRegistration() const { return m_keyRegistration; }
58 inline bool KeyRegistrationHasBeenSet() const { return m_keyRegistrationHasBeenSet; }
59 template <typename KeyRegistrationT = Aws::Vector<RegisteredCustomerManagedKey>>
60 void SetKeyRegistration(KeyRegistrationT&& value) {
61 m_keyRegistrationHasBeenSet = true;
62 m_keyRegistration = std::forward<KeyRegistrationT>(value);
63 }
64 template <typename KeyRegistrationT = Aws::Vector<RegisteredCustomerManagedKey>>
66 SetKeyRegistration(std::forward<KeyRegistrationT>(value));
67 return *this;
68 }
69 template <typename KeyRegistrationT = RegisteredCustomerManagedKey>
71 m_keyRegistrationHasBeenSet = true;
72 m_keyRegistration.emplace_back(std::forward<KeyRegistrationT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_awsAccountId;
78
80 bool m_awsAccountIdHasBeenSet = false;
81 bool m_keyRegistrationHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace QuickSight
86} // namespace Aws
AWS_QUICKSIGHT_API UpdateKeyRegistrationRequest()=default
const Aws::Vector< RegisteredCustomerManagedKey > & GetKeyRegistration() const
UpdateKeyRegistrationRequest & WithAwsAccountId(AwsAccountIdT &&value)
UpdateKeyRegistrationRequest & WithKeyRegistration(KeyRegistrationT &&value)
UpdateKeyRegistrationRequest & AddKeyRegistration(KeyRegistrationT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector