AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
43 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
44 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
45 inline UpdateUserSettingsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
46 inline UpdateUserSettingsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
47 inline UpdateUserSettingsRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
49
51
54 inline const Aws::String& GetUserId() const{ return m_userId; }
55 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
56 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
57 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
58 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
59 inline UpdateUserSettingsRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
60 inline UpdateUserSettingsRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
61 inline UpdateUserSettingsRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
63
65
68 inline const UserSettings& GetUserSettings() const{ return m_userSettings; }
69 inline bool UserSettingsHasBeenSet() const { return m_userSettingsHasBeenSet; }
70 inline void SetUserSettings(const UserSettings& value) { m_userSettingsHasBeenSet = true; m_userSettings = value; }
71 inline void SetUserSettings(UserSettings&& value) { m_userSettingsHasBeenSet = true; m_userSettings = std::move(value); }
72 inline UpdateUserSettingsRequest& WithUserSettings(const UserSettings& value) { SetUserSettings(value); return *this;}
73 inline UpdateUserSettingsRequest& WithUserSettings(UserSettings&& value) { SetUserSettings(std::move(value)); return *this;}
75 private:
76
77 Aws::String m_accountId;
78 bool m_accountIdHasBeenSet = false;
79
80 Aws::String m_userId;
81 bool m_userIdHasBeenSet = false;
82
83 UserSettings m_userSettings;
84 bool m_userSettingsHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Chime
89} // namespace Aws
UpdateUserSettingsRequest & WithAccountId(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateUserSettingsRequest & WithUserId(Aws::String &&value)
UpdateUserSettingsRequest & WithUserId(const Aws::String &value)
UpdateUserSettingsRequest & WithUserSettings(UserSettings &&value)
UpdateUserSettingsRequest & WithAccountId(Aws::String &&value)
UpdateUserSettingsRequest & WithAccountId(const Aws::String &value)
UpdateUserSettingsRequest & WithUserSettings(const UserSettings &value)
UpdateUserSettingsRequest & WithUserId(const char *value)
AWS_CHIME_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String