AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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