AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegisterAccountRequest.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/AuditManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace AuditManager
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_AUDITMANAGER_API RegisterAccountRequest();
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 "RegisterAccount"; }
31
32 AWS_AUDITMANAGER_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetKmsKey() const{ return m_kmsKey; }
40 inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
41 inline void SetKmsKey(const Aws::String& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = value; }
42 inline void SetKmsKey(Aws::String&& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = std::move(value); }
43 inline void SetKmsKey(const char* value) { m_kmsKeyHasBeenSet = true; m_kmsKey.assign(value); }
44 inline RegisterAccountRequest& WithKmsKey(const Aws::String& value) { SetKmsKey(value); return *this;}
45 inline RegisterAccountRequest& WithKmsKey(Aws::String&& value) { SetKmsKey(std::move(value)); return *this;}
46 inline RegisterAccountRequest& WithKmsKey(const char* value) { SetKmsKey(value); return *this;}
48
50
53 inline const Aws::String& GetDelegatedAdminAccount() const{ return m_delegatedAdminAccount; }
54 inline bool DelegatedAdminAccountHasBeenSet() const { return m_delegatedAdminAccountHasBeenSet; }
55 inline void SetDelegatedAdminAccount(const Aws::String& value) { m_delegatedAdminAccountHasBeenSet = true; m_delegatedAdminAccount = value; }
56 inline void SetDelegatedAdminAccount(Aws::String&& value) { m_delegatedAdminAccountHasBeenSet = true; m_delegatedAdminAccount = std::move(value); }
57 inline void SetDelegatedAdminAccount(const char* value) { m_delegatedAdminAccountHasBeenSet = true; m_delegatedAdminAccount.assign(value); }
59 inline RegisterAccountRequest& WithDelegatedAdminAccount(Aws::String&& value) { SetDelegatedAdminAccount(std::move(value)); return *this;}
60 inline RegisterAccountRequest& WithDelegatedAdminAccount(const char* value) { SetDelegatedAdminAccount(value); return *this;}
62 private:
63
64 Aws::String m_kmsKey;
65 bool m_kmsKeyHasBeenSet = false;
66
67 Aws::String m_delegatedAdminAccount;
68 bool m_delegatedAdminAccountHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace AuditManager
73} // namespace Aws
RegisterAccountRequest & WithDelegatedAdminAccount(const char *value)
RegisterAccountRequest & WithKmsKey(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
RegisterAccountRequest & WithKmsKey(Aws::String &&value)
RegisterAccountRequest & WithKmsKey(const Aws::String &value)
RegisterAccountRequest & WithDelegatedAdminAccount(const Aws::String &value)
RegisterAccountRequest & WithDelegatedAdminAccount(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String