AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAdminAccount(const Aws::String& value) { m_adminAccountHasBeenSet = true; m_adminAccount = value; }
50 inline void SetAdminAccount(Aws::String&& value) { m_adminAccountHasBeenSet = true; m_adminAccount = std::move(value); }
51 inline void SetAdminAccount(const char* value) { m_adminAccountHasBeenSet = true; m_adminAccount.assign(value); }
52 inline PutAdminAccountRequest& WithAdminAccount(const Aws::String& value) { SetAdminAccount(value); return *this;}
53 inline PutAdminAccountRequest& WithAdminAccount(Aws::String&& value) { SetAdminAccount(std::move(value)); return *this;}
54 inline PutAdminAccountRequest& WithAdminAccount(const char* value) { SetAdminAccount(value); return *this;}
56
58
64 inline const AdminScope& GetAdminScope() const{ return m_adminScope; }
65 inline bool AdminScopeHasBeenSet() const { return m_adminScopeHasBeenSet; }
66 inline void SetAdminScope(const AdminScope& value) { m_adminScopeHasBeenSet = true; m_adminScope = value; }
67 inline void SetAdminScope(AdminScope&& value) { m_adminScopeHasBeenSet = true; m_adminScope = std::move(value); }
68 inline PutAdminAccountRequest& WithAdminScope(const AdminScope& value) { SetAdminScope(value); return *this;}
69 inline PutAdminAccountRequest& WithAdminScope(AdminScope&& value) { SetAdminScope(std::move(value)); return *this;}
71 private:
72
73 Aws::String m_adminAccount;
74 bool m_adminAccountHasBeenSet = false;
75
76 AdminScope m_adminScope;
77 bool m_adminScopeHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace FMS
82} // namespace Aws
void SetAdminAccount(const Aws::String &value)
PutAdminAccountRequest & WithAdminAccount(const char *value)
AWS_FMS_API Aws::String SerializePayload() const override
AWS_FMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetAdminScope(const AdminScope &value)
virtual const char * GetServiceRequestName() const override
PutAdminAccountRequest & WithAdminScope(AdminScope &&value)
PutAdminAccountRequest & WithAdminAccount(const Aws::String &value)
PutAdminAccountRequest & WithAdminAccount(Aws::String &&value)
PutAdminAccountRequest & WithAdminScope(const AdminScope &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String