AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateUserSettingsRequest.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/ChimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/chime/model/UserSettings.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Chime
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CHIME_API UpdateUserSettingsRequest() = 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 "UpdateUserSettings"; }
32
33 AWS_CHIME_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetAccountId() const { return m_accountId; }
41 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
42 template<typename AccountIdT = Aws::String>
43 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
44 template<typename AccountIdT = Aws::String>
45 UpdateUserSettingsRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetUserId() const { return m_userId; }
53 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
54 template<typename UserIdT = Aws::String>
55 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet = true; m_userId = std::forward<UserIdT>(value); }
56 template<typename UserIdT = Aws::String>
57 UpdateUserSettingsRequest& WithUserId(UserIdT&& value) { SetUserId(std::forward<UserIdT>(value)); return *this;}
59
61
64 inline const UserSettings& GetUserSettings() const { return m_userSettings; }
65 inline bool UserSettingsHasBeenSet() const { return m_userSettingsHasBeenSet; }
66 template<typename UserSettingsT = UserSettings>
67 void SetUserSettings(UserSettingsT&& value) { m_userSettingsHasBeenSet = true; m_userSettings = std::forward<UserSettingsT>(value); }
68 template<typename UserSettingsT = UserSettings>
69 UpdateUserSettingsRequest& WithUserSettings(UserSettingsT&& value) { SetUserSettings(std::forward<UserSettingsT>(value)); return *this;}
71 private:
72
73 Aws::String m_accountId;
74 bool m_accountIdHasBeenSet = false;
75
76 Aws::String m_userId;
77 bool m_userIdHasBeenSet = false;
78
79 UserSettings m_userSettings;
80 bool m_userSettingsHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Chime
85} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateUserSettingsRequest & WithUserSettings(UserSettingsT &&value)
UpdateUserSettingsRequest & WithAccountId(AccountIdT &&value)
UpdateUserSettingsRequest & WithUserId(UserIdT &&value)
AWS_CHIME_API Aws::String SerializePayload() const override
AWS_CHIME_API UpdateUserSettingsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String