AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnableDelegatedAdminAccountRequest.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/Inspector2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace Inspector2
16{
17namespace Model
18{
19
23 {
24 public:
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 "EnableDelegatedAdminAccount"; }
32
33 AWS_INSPECTOR2_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
41 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
42 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
43 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
44 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
46 inline EnableDelegatedAdminAccountRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
47 inline EnableDelegatedAdminAccountRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
49
51
55 inline const Aws::String& GetDelegatedAdminAccountId() const{ return m_delegatedAdminAccountId; }
56 inline bool DelegatedAdminAccountIdHasBeenSet() const { return m_delegatedAdminAccountIdHasBeenSet; }
57 inline void SetDelegatedAdminAccountId(const Aws::String& value) { m_delegatedAdminAccountIdHasBeenSet = true; m_delegatedAdminAccountId = value; }
58 inline void SetDelegatedAdminAccountId(Aws::String&& value) { m_delegatedAdminAccountIdHasBeenSet = true; m_delegatedAdminAccountId = std::move(value); }
59 inline void SetDelegatedAdminAccountId(const char* value) { m_delegatedAdminAccountIdHasBeenSet = true; m_delegatedAdminAccountId.assign(value); }
64 private:
65
66 Aws::String m_clientToken;
67 bool m_clientTokenHasBeenSet = false;
68
69 Aws::String m_delegatedAdminAccountId;
70 bool m_delegatedAdminAccountIdHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Inspector2
75} // namespace Aws
EnableDelegatedAdminAccountRequest & WithClientToken(const char *value)
EnableDelegatedAdminAccountRequest & WithDelegatedAdminAccountId(const Aws::String &value)
EnableDelegatedAdminAccountRequest & WithClientToken(Aws::String &&value)
EnableDelegatedAdminAccountRequest & WithDelegatedAdminAccountId(const char *value)
EnableDelegatedAdminAccountRequest & WithClientToken(const Aws::String &value)
EnableDelegatedAdminAccountRequest & WithDelegatedAdminAccountId(Aws::String &&value)
AWS_INSPECTOR2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String