AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateUserSettingsRequest.h
1
6#pragma once
7#include <aws/chime/ChimeRequest.h>
8#include <aws/chime/Chime_EXPORTS.h>
9#include <aws/chime/model/UserSettings.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Chime {
16namespace Model {
17
21 public:
22 AWS_CHIME_API UpdateUserSettingsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateUserSettings"; }
29
30 AWS_CHIME_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetAccountId() const { return m_accountId; }
37 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
38 template <typename AccountIdT = Aws::String>
39 void SetAccountId(AccountIdT&& value) {
40 m_accountIdHasBeenSet = true;
41 m_accountId = std::forward<AccountIdT>(value);
42 }
43 template <typename AccountIdT = Aws::String>
45 SetAccountId(std::forward<AccountIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetUserId() const { return m_userId; }
55 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
56 template <typename UserIdT = Aws::String>
57 void SetUserId(UserIdT&& value) {
58 m_userIdHasBeenSet = true;
59 m_userId = std::forward<UserIdT>(value);
60 }
61 template <typename UserIdT = Aws::String>
63 SetUserId(std::forward<UserIdT>(value));
64 return *this;
65 }
67
69
72 inline const UserSettings& GetUserSettings() const { return m_userSettings; }
73 inline bool UserSettingsHasBeenSet() const { return m_userSettingsHasBeenSet; }
74 template <typename UserSettingsT = UserSettings>
75 void SetUserSettings(UserSettingsT&& value) {
76 m_userSettingsHasBeenSet = true;
77 m_userSettings = std::forward<UserSettingsT>(value);
78 }
79 template <typename UserSettingsT = UserSettings>
81 SetUserSettings(std::forward<UserSettingsT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_accountId;
87
88 Aws::String m_userId;
89
90 UserSettings m_userSettings;
91 bool m_accountIdHasBeenSet = false;
92 bool m_userIdHasBeenSet = false;
93 bool m_userSettingsHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace Chime
98} // 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