AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PutAdminAccountRequest.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/fms/FMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/fms/model/AdminScope.h>
11#include <utility>
12
13namespace Aws
14{
15namespace FMS
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_FMS_API PutAdminAccountRequest() = default;
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 "PutAdminAccount"; }
32
33 AWS_FMS_API Aws::String SerializePayload() const override;
34
36
37
39
47 inline const Aws::String& GetAdminAccount() const { return m_adminAccount; }
48 inline bool AdminAccountHasBeenSet() const { return m_adminAccountHasBeenSet; }
49 template<typename AdminAccountT = Aws::String>
50 void SetAdminAccount(AdminAccountT&& value) { m_adminAccountHasBeenSet = true; m_adminAccount = std::forward<AdminAccountT>(value); }
51 template<typename AdminAccountT = Aws::String>
52 PutAdminAccountRequest& WithAdminAccount(AdminAccountT&& value) { SetAdminAccount(std::forward<AdminAccountT>(value)); return *this;}
54
56
62 inline const AdminScope& GetAdminScope() const { return m_adminScope; }
63 inline bool AdminScopeHasBeenSet() const { return m_adminScopeHasBeenSet; }
64 template<typename AdminScopeT = AdminScope>
65 void SetAdminScope(AdminScopeT&& value) { m_adminScopeHasBeenSet = true; m_adminScope = std::forward<AdminScopeT>(value); }
66 template<typename AdminScopeT = AdminScope>
67 PutAdminAccountRequest& WithAdminScope(AdminScopeT&& value) { SetAdminScope(std::forward<AdminScopeT>(value)); return *this;}
69 private:
70
71 Aws::String m_adminAccount;
72 bool m_adminAccountHasBeenSet = false;
73
74 AdminScope m_adminScope;
75 bool m_adminScopeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace FMS
80} // namespace Aws
AWS_FMS_API PutAdminAccountRequest()=default
AWS_FMS_API Aws::String SerializePayload() const override
AWS_FMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutAdminAccountRequest & WithAdminAccount(AdminAccountT &&value)
virtual const char * GetServiceRequestName() const override
PutAdminAccountRequest & WithAdminScope(AdminScopeT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String